public interface OsidEnablerForm extends OsidRuleForm, OsidTemporalForm
This form is used to create and update enablers.
| Modifier and Type | Method and Description |
|---|---|
void |
clearCyclicEvent()
Removes the cyclic event.
|
void |
clearDemographic()
Removes the resource demographic.
|
void |
clearEvent()
Removes the event.
|
void |
clearSchedule()
Removes the schedule.
|
Metadata |
getCyclicEventMetadata()
Gets the metadata for the cyclic event.
|
Metadata |
getDemographicMetadata()
Gets the metadata for an associated demographic.
|
Metadata |
getEventMetadata()
Gets the metadata for an associated event.
|
Metadata |
getScheduleMetadata()
Gets the metadata for an associated schedule.
|
void |
setCyclicEvent(Id cyclicEventId)
Sets the cyclic event.
|
void |
setDemographic(Id resourceId)
Sets a resource demographic.
|
void |
setEvent(Id eventId)
Sets an event.
|
void |
setSchedule(Id scheduleId)
Sets a schedule.
|
clearRule, getRuleMetadata, setRuleclearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusTypegetRequiredRecordTypesgetRecordTypes, hasRecordTypegetDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocalegetId, isCurrentclearDisabled, clearEnabled, getDisabledMetadata, getEnabledMetadata, setDisabled, setEnabledclearEndDate, clearStartDate, getEndDateMetadata, getStartDateMetadata, setEndDate, setStartDateMetadata getScheduleMetadata()
mandatory - This method must be implemented. void setSchedule(Id scheduleId)
scheduleId - the new scheduleInvalidArgumentException - scheduleId is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - scheduleId is
null mandatory - This method must be implemented. void clearSchedule()
NoAccessException - Metadata.isRequired()
is true or Metadata.isReadOnly()
is true mandatory - This method must be implemented. Metadata getEventMetadata()
mandatory - This method must be implemented. void setEvent(Id eventId)
eventId - the new eventInvalidArgumentException - eventId is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - eventId is
null mandatory - This method must be implemented. void clearEvent()
NoAccessException - Metadata.isRequired()
is true or Metadata.isReadOnly()
is true mandatory - This method must be implemented. Metadata getCyclicEventMetadata()
mandatory - This method must be implemented. void setCyclicEvent(Id cyclicEventId)
cyclicEventId - the new cyclic eventInvalidArgumentException - cyclicEventId
is invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - cyclicEventId is
null mandatory - This method must be implemented. void clearCyclicEvent()
NoAccessException - Metadata.isRequired()
is true or Metadata.isReadOnly()
is true mandatory - This method must be implemented. Metadata getDemographicMetadata()
mandatory - This method must be implemented. void setDemographic(Id resourceId)
resourceId - the new resourceInvalidArgumentException - resourceId is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - resourceId is
null mandatory - This method must be implemented. void clearDemographic()
NoAccessException - Metadata.isRequired()
is true or Metadata.isReadOnly()
is true mandatory - This method must be implemented.