public interface OsidOperableForm extends OsidForm
This form is used to create and update operables.
Modifier and Type | Method and Description |
---|---|
void |
clearDisabled()
Removes the administratively disabled flag.
|
void |
clearEnabled()
Removes the administratively enabled flag.
|
Metadata |
getDisabledMetadata()
Gets the metadata for the disabled flag.
|
Metadata |
getEnabledMetadata()
Gets the metadata for the enabled flag.
|
void |
setDisabled(boolean disabled)
Sets the administratively disabled flag.
|
void |
setEnabled(boolean enabled)
Sets the administratively enabled flag.
|
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
Metadata getEnabledMetadata()
mandatory
- This method must be implemented. void setEnabled(boolean enabled)
enabled
- the new enabled flagInvalidArgumentException
- enabled
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. void clearEnabled()
NoAccessException
- Metadata.isRequired()
is true
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. Metadata getDisabledMetadata()
mandatory
- This method must be implemented. void setDisabled(boolean disabled)
disabled
- the new disabled flagInvalidArgumentException
- disabled
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. void clearDisabled()
NoAccessException
- Metadata.isRequired()
is true
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented.