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