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, setOwnerclearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusTypegetRequiredRecordTypesgetRecordTypes, hasRecordTypegetDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocalegetId, isCurrentFileFormRecord 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.