public interface WorkForm extends OsidObjectForm
This is the form for creating and updating Works.
Like
all OsidForm
objects, various data elements may be set here
for use in the create and update methods in the WorkAdminSession.
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 |
---|---|
WorkFormRecord |
getWorkFormRecord(Type workRecordType)
Gets the
WorkFormRecord corresponding to the given work
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
WorkFormRecord getWorkFormRecord(Type workRecordType) throws OperationFailedException
WorkFormRecord
corresponding to the given work
record Type.
workRecordType
- a work record typeNullArgumentException
- workRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(workRecordType)
is false
mandatory
- This method must be implemented.