public interface RepositoryForm extends OsidCatalogForm
This is the form for creating and updating repositories.
Like all OsidForm
objects, various data elements may be set
here for use in the create and update methods in the
RepositoryAdminSession.
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 |
---|---|
RepositoryFormRecord |
getRepositoryFormRecord(Type repositoryRecordType)
Gets the
RepositoryFormRecord corresponding to the
given repository 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
clearBranding, clearLicense, clearProvider, getBrandingMetadata, getLicenseMetadata, getProviderMetadata, setBranding, setLicense, setProvider
RepositoryFormRecord getRepositoryFormRecord(Type repositoryRecordType) throws OperationFailedException
RepositoryFormRecord
corresponding to the
given repository record Type.
repositoryRecordType
- a repository record typeNullArgumentException
- repositoryRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(repositoryRecordType)
is false
mandatory
- This method must be implemented.