public interface CookbookForm extends OsidCatalogForm
This is the form for creating and updating Cookbooks.
Like all OsidForm
objects, various data elements may be set
here for use in the create and update methods in the
CookbookAdminSession.
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 |
---|---|
CookbookFormRecord |
getCookbookFormRecord(Type cookbookRecordType)
Gets the
CookbookFormRecord corresponding to the given
cookbook 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
CookbookFormRecord getCookbookFormRecord(Type cookbookRecordType) throws OperationFailedException
CookbookFormRecord
corresponding to the given
cookbook record Type.
cookbookRecordType
- the cookbook record typeNullArgumentException
- cookbookRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(cookbookRecordType)
is false
mandatory
- This method must be implemented.