public interface OsidRuleForm extends OsidObjectForm, OsidOperableForm
This form is used to create and update rules.
Modifier and Type | Method and Description |
---|---|
void |
clearRule()
Removes the rule.
|
Metadata |
getRuleMetadata()
Gets the metadata for an associated rule.
|
void |
setRule(Id ruleId)
Sets a rule.
|
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 getRuleMetadata()
mandatory
- This method must be implemented. void setRule(Id ruleId)
ruleId
- the new ruleInvalidArgumentException
- ruleId
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
NullArgumentException
- ruleId
is
null
mandatory
- This method must be implemented. void clearRule()
NoAccessException
- Metadata.isRequired()
is true
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented.