public interface RuleForm extends OsidForm
This is the form for creating and updating Rules.
Like
all OsidForm
objects, various data elements may be set here
for use in the create and update methods in the RuleAdminSession.
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 |
---|---|
RuleFormRecord |
getRuleFormRecord(Type ruleRecordType)
Gets the
RuleFormRecord corresponding to the given rule
record Type. |
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
RuleFormRecord getRuleFormRecord(Type ruleRecordType) throws OperationFailedException
RuleFormRecord
corresponding to the given rule
record Type.
ruleRecordType
- the rule record typeNullArgumentException
- ruleRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(ruleRecordType)
is false
mandatory
- This method must be implemented.