public interface AwardForm extends OsidObjectForm
This is the form for creating and updating Awards.
Like
all OsidForm
objects, various data elements may be set here
for use in the create and update methods in the AwardAdminSession.
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 |
---|---|
AwardFormRecord |
getAwardFormRecord(Type awardRecordType)
Gets the
AwardFormRecord corresponding to the given
award record Type. |
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
getRequiredRecordTypes
getRecordTypes, hasRecordType
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
AwardFormRecord getAwardFormRecord(Type awardRecordType) throws OperationFailedException
AwardFormRecord
corresponding to the given
award record Type.
awardRecordType
- the award record typeNullArgumentException
- awardRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(awardRecordType)
is false
mandatory
- This method must be implemented.