public interface ProfileItemForm extends OsidObjectForm
This is the form for creating and updating ProfileItems.
Like all OsidForm
objects, various data elements may be set
here for use in the create and update methods in the
ProfileItemAdminSession.
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 |
---|---|
ProfileItemFormRecord |
getProfileItemFormRecord(Type profileItemRecordType)
Gets the
ProfileItemFormRecord corresponding to the
given profile item 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
ProfileItemFormRecord getProfileItemFormRecord(Type profileItemRecordType) throws OperationFailedException
ProfileItemFormRecord
corresponding to the
given profile item record Type.
profileItemRecordType
- the profile item record typeNullArgumentException
- profileItemRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(profileItemRecordType)
is false
mandatory
- This method must be implemented.