public interface OrganizationForm extends OsidObjectForm, OsidFederateableForm, OsidTemporalForm
This is the form for creating and updating Organization
objects. Like all OsidForm
objects, various data elements
may be set here for use in the create and update methods in the
OrganizationAdminSession.
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 |
---|---|
void |
clearDisplayLabel()
Clears the display label.
|
Metadata |
getDisplayLabelMetadata()
Gets the metadata for a display label.
|
OrganizationFormRecord |
getOrganizationFormRecord(Type organizationRecordType)
Gets the
OrganizationFormRecord interface corresponding
to the given organization record Type. |
void |
setDisplayLabel(java.lang.String label)
Sets the display label.
|
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
getRequiredRecordTypes
getRecordTypes, hasRecordType
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
clearEndDate, clearStartDate, getEndDateMetadata, getStartDateMetadata, setEndDate, setStartDate
Metadata getDisplayLabelMetadata()
mandatory
- This method must be implemented. void setDisplayLabel(java.lang.String label)
label
- the vInvalidArgumentException
- label
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
NullArgumentException
- label
is nullmandatory
- This method must be implemented. void clearDisplayLabel()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. OrganizationFormRecord getOrganizationFormRecord(Type organizationRecordType) throws OperationFailedException
OrganizationFormRecord
interface corresponding
to the given organization record Type.
organizationRecordType
- the organization record typeNullArgumentException
- organizationRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(organizationRecordType)
is false
mandatory
- This method must be implemented.