public interface ConfigurationForm extends OsidCatalogForm
This is the form for creating and updating configuration objects.
Like all OsidForm
objects, various data
elements may be set here for use in the create and update methods in the
ConfigurationAdminSession.
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 |
---|---|
ConfigurationFormRecord |
getConfigurationFormRecord(Type configurationRecordType)
Gets the
ConfigurationFormRecord corresponding to the
given configuration record interface Type. |
Metadata |
getRegistryMetadata()
Gets the metadata for the registry flag.
|
void |
setRegistry(boolean registry)
Sets the registry flag that indicates if the parameters mapped to this
configuration contain no values.
|
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
getRequiredRecordTypes
getRecordTypes, hasRecordType
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
clearBranding, clearLicense, clearProvider, getBrandingMetadata, getLicenseMetadata, getProviderMetadata, setBranding, setLicense, setProvider
Metadata getRegistryMetadata()
mandatory
- This method must be implemented. void setRegistry(boolean registry)
registry
- true
if the parameters in this
configuration cannot contain values, false
otherwiseInvalidArgumentException
- registry
is
invalidNoAccessException
- registry
cannot be
modifiedmandatory
- This method must be implemented. ConfigurationFormRecord getConfigurationFormRecord(Type configurationRecordType) throws OperationFailedException
ConfigurationFormRecord
corresponding to the
given configuration record interface Type.
configurationRecordType
- a configuration record typeNullArgumentException
- configurationRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(configurationRecordType)
is false
mandatory
- This method must be implemented.