public interface HoldForm extends OsidRelationshipForm
This is the form for creating and updating Holds.
Like
all OsidForm
objects, various data elements may be set here
for use in the create and update methods in the HoldAdminSession.
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 |
---|---|
HoldFormRecord |
getHoldFormRecord(Type holdRecordType)
Gets the
HoldFormRecord corresponding to the given hold
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
HoldFormRecord getHoldFormRecord(Type holdRecordType) throws OperationFailedException, PermissionDeniedException
HoldFormRecord
corresponding to the given hold
record Type.
holdRecordType
- a hold record typeNullArgumentException
- holdRecordType
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
hasRecordType(holdRecordType)
is false
mandatory
- This method must be implemented.