OSID Logo
OSID Specifications
personnel package
Version 3.0.0
Interfaceosid.personnel.OrganizationForm
Implementsosid.OsidObjectForm
osid.OsidFederateableForm
osid.OsidTemporalForm
Implemented Byosid.personnel.batch.OrganizationBatchForm
Used Byosid.personnel.OrganizationAdminSession
Description

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.

MethodgetDisplayLabelMetadata
Description

Gets the metadata for a display label.

Returnosid.Metadatametadata for the label
CompliancemandatoryThis method must be implemented.
MethodsetDisplayLabel
Description

Sets the display label.

Parametersstringlabelthe label
ErrorsINVALID_ARGUMENTlabel is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTlabel is null
CompliancemandatoryThis method must be implemented.
MethodclearDisplayLabel
Description

Clears the display label.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetOrganizationFormRecord
Description

Gets the OrganizationFormRecord interface corresponding to the given organization record Type .

Parametersosid.type.TypeorganizationRecordTypethe organization record type
Returnosid.personnel.records.OrganizationFormRecordthe record
ErrorsNULL_ARGUMENTorganizationRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(organizationRecordType) is false
CompliancemandatoryThis method must be implemented.