public interface ModuleForm extends OsidGovernatorForm, OsidSubjugateableForm
This is the form for creating and updating Module
objects. Like all OsidForm
objects, various data elements
may be set here for use in the create and update methods in the
ModuleAdminSession.
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 |
---|---|
ModuleFormRecord |
getModuleFormRecord(Type moduleRecordType)
Gets the
ModuleFormRecord corresponding to the given
module 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
clearDisabled, clearEnabled, getDisabledMetadata, getEnabledMetadata, setDisabled, setEnabled
clearBranding, clearLicense, clearProvider, getBrandingMetadata, getLicenseMetadata, getProviderMetadata, setBranding, setLicense, setProvider
ModuleFormRecord getModuleFormRecord(Type moduleRecordType) throws OperationFailedException
ModuleFormRecord
corresponding to the given
module record Type.
moduleRecordType
- the module record typeNullArgumentException
- moduleRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(moduleRecordType)
is false
mandatory
- This method must be implemented.