public interface AuthorizationForm extends OsidRelationshipForm
This is the form for creating and updating Authorizations.
Like all OsidForm
objects, various data elements
may be set here for use in the create and update methods in the
AuthorizationAdminSession.
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 |
---|---|
AuthorizationFormRecord |
getAuthorizationFormRecord(Type authorizationRecordType)
Gets the
AuthorizationFormRecord corresponding to the
given authorization 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
clearEndDate, clearStartDate, getEndDateMetadata, getStartDateMetadata, setEndDate, setStartDate
AuthorizationFormRecord getAuthorizationFormRecord(Type authorizationRecordType) throws OperationFailedException
AuthorizationFormRecord
corresponding to the
given authorization record Type.
authorizationRecordType
- the authorization record typeNullArgumentException
- authorizationRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(authorizationRecordType)
is false
mandatory
- This method must be implemented.