public interface InstallationContentForm extends OsidObjectForm, OsidSubjugateableForm
This is the form for creating and updating InstallationContents.
Like all OsidForm objects, various data elements
may be set here for use in the create and update methods in the
InstallationContentsAdminSession. 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 |
|---|---|
void |
clearData()
Removes the content data.
|
Metadata |
getDataMetadata()
Gets the metadata for the content data.
|
InstallationContentFormRecord |
getInstallationContentFormRecord(Type installationContentRecordType)
Gets the
InstallationContentFormRecord corresponding to
the given installation content record Type. |
void |
setData(DataInputStream data)
Sets the content data.
|
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusTypegetRequiredRecordTypesgetRecordTypes, hasRecordTypegetDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocalegetId, isCurrentMetadata getDataMetadata()
mandatory - This method must be implemented. void setData(DataInputStream data)
data - the content dataInvalidArgumentException - data is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - data is
null mandatory - This method must be implemented. void clearData()
NoAccessException - Metadata.isRequired()
is true or Metadata.isReadOnly()
is true mandatory - This method must be implemented. InstallationContentFormRecord getInstallationContentFormRecord(Type installationContentRecordType) throws OperationFailedException
InstallationContentFormRecord corresponding to
the given installation content record Type. installationContentRecordType - the installation content record
typeNullArgumentException -
installationContentRecordType is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(installationContentRecordType) is
false mandatory - This method must be implemented.