public interface SupersedingEventForm extends OsidRuleForm
This is the form for creating and updating SupersedingEvents.
Like all OsidForm
objects, various data elements
may be set here for use in the create and update methods in the
SupersedingEventAdminSession.
For each data element that may be
set, metadata may be examined to provide display hints or data
constraints.
Modifier and Type | Method and Description |
---|---|
void |
clearSupersededDate()
Clears the superseded date.
|
void |
clearSupersededEventPosition()
Clears the superseded position.
|
Metadata |
getSupersededDateMetadata()
Gets the metadata to superseding an event within a recurring series by
date.
|
Metadata |
getSupersededEventPositionMetadata()
Gets the metadata to superseding an event within a recurring series by
date.
|
SupersedingEventFormRecord |
getSupersedingEventFormRecord(Type supersedingEventRecordType)
Gets the
SupersedingEventFormRecord corresponding to
the given superseding event record Type. |
void |
setSupersededDate(DateTime date)
Sets the superseded date.
|
void |
setSupersededEventPosition(long position)
Sets the superseded position.
|
clearRule, getRuleMetadata, setRule
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
getRequiredRecordTypes
getRecordTypes, hasRecordType
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
clearDisabled, clearEnabled, getDisabledMetadata, getEnabledMetadata, setDisabled, setEnabled
Metadata getSupersededDateMetadata()
mandatory
- This method must be implemented. void setSupersededDate(DateTime date)
date
- the new superseded dateInvalidArgumentException
- date
is
invalidNoAccessException
- date
cannot be
modifiedNullArgumentException
- date
is
null
mandatory
- This method must be implemented. void clearSupersededDate()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. Metadata getSupersededEventPositionMetadata()
mandatory
- This method must be implemented. void setSupersededEventPosition(long position)
position
- the new superseded positionInvalidArgumentException
- position
is
invalidNoAccessException
- position
cannot be
modifiedmandatory
- This method must be implemented. void clearSupersededEventPosition()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. SupersedingEventFormRecord getSupersedingEventFormRecord(Type supersedingEventRecordType) throws OperationFailedException
SupersedingEventFormRecord
corresponding to
the given superseding event record Type.
supersedingEventRecordType
- the superseding event record typeNullArgumentException
-
supersedingEventRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(supersedingEventRecordType)
is
false
mandatory
- This method must be implemented.