OSID Logo
OSID Specifications
personnel package
Version 3.0.0
Interfaceosid.personnel.PositionForm
Implementsosid.OsidObjectForm
osid.OsidTemporalForm
osid.OsidSubjugateableForm
Implemented Byosid.personnel.batch.PositionBatchForm
Used Byosid.personnel.PositionAdminSession
Description

This is the form for creating and updating Position objects. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the PositionAdminSession . For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetTitleMetadata
Description

Gets the metadata for a title.

Returnosid.Metadatametadata for the title
CompliancemandatoryThis method must be implemented.
MethodsetTitle
Description

Sets the title.

Parametersstringtitlethe title
ErrorsINVALID_ARGUMENTtitle is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTtitle is null
CompliancemandatoryThis method must be implemented.
MethodclearTitle
Description

Clears the title.

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

Gets the metadata for a level.

Returnosid.Metadatametadata for the level
CompliancemandatoryThis method must be implemented.
MethodsetLevel
Description

Sets the job level.

Parametersosid.id.IdgradeIdthe level
ErrorsINVALID_ARGUMENTgradeId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTgradeId is null
CompliancemandatoryThis method must be implemented.
MethodclearLevel
Description

Clears the level.

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

Gets the metadata for the qualifications.

Returnosid.Metadatametadata for the qualifications
CompliancemandatoryThis method must be implemented.
MethodsetQualifications
Description

Sets the position qualifications.

Parametersosid.id.Id[]objectivesIdsthe learning objective Ids
ErrorsINVALID_ARGUMENTobjectiveIds is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTobjectiveIds is null
CompliancemandatoryThis method must be implemented.
MethodclearQualifications
Description

Clears the qualifications.

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

Gets the metadata for a target appointments.

Returnosid.Metadatametadata for the target appointments
CompliancemandatoryThis method must be implemented.
MethodsetTargetAppointments
Description

Sets the target appointments.

Parameterscardinalappointmentsthe target appointments
ErrorsINVALID_ARGUMENTappointments is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearTargetAppointments
Description

Clears the target appointments.

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

Gets the metadata for a required commitment.

Returnosid.Metadatametadata for the required commitment
CompliancemandatoryThis method must be implemented.
MethodsetRequiredCommitment
Description

Sets the required commitment percentage (0-100).

Parameterscardinalcommitmentthe required commitment
ErrorsINVALID_ARGUMENTcommitment is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearRequiredCommitment
Description

Clears the required commitment.

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

Gets the metadata for a low salary range.

Returnosid.Metadatametadata for the low salary range
CompliancemandatoryThis method must be implemented.
MethodsetLowSalaryRange
Description

Sets the low salary range.

Parametersosid.financials.Currencysalarythe low salary range
ErrorsINVALID_ARGUMENTsalary is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTsalary is null
CompliancemandatoryThis method must be implemented.
MethodclearLowSalaryRange
Description

Clears the low salary.

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

Gets the metadata for a midpoint salary range.

Returnosid.Metadatametadata for the midpoint salary range
CompliancemandatoryThis method must be implemented.
MethodsetMidpointSalaryRange
Description

Sets the midpoint salary range.

Parametersosid.financials.Currencysalarythe midpoint salary range
ErrorsINVALID_ARGUMENTsalary is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTsalary is null
CompliancemandatoryThis method must be implemented.
MethodclearMidpointSalaryRange
Description

Clears the midpoint salary.

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

Gets the metadata for a high salary range.

Returnosid.Metadatametadata for the high salary range
CompliancemandatoryThis method must be implemented.
MethodsetHighSalaryRange
Description

Sets the high salary range.

Parametersosid.financials.Currencysalarythe high salary range
ErrorsINVALID_ARGUMENTsalary is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTsalary is null
CompliancemandatoryThis method must be implemented.
MethodclearHighSalaryRange
Description

Clears the high salary.

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

Gets the metadata for a compensation frequency.

Returnosid.Metadatametadata for the compensation frequency
CompliancemandatoryThis method must be implemented.
MethodsetCompensationFrequency
Description

Sets the compensation frequency.

Parametersosid.calendaring.Durationfrequencythe compensation frequency
ErrorsINVALID_ARGUMENTfrequency is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTfrequency is null
CompliancemandatoryThis method must be implemented.
MethodclearCompensationFrequency
Description

Clears the compensation frequency.

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

Gets the metadata for the exempt flag.

Returnosid.Metadatametadata for the exempt flag
CompliancemandatoryThis method must be implemented.
MethodsetExempt
Description

Sets the exempt flag.

Parametersbooleanexemptthe exempt flag
ErrorsINVALID_ARGUMENTexempt is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearExempt
Description

Clears the exempt flag.

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

Gets the metadata for a benefits type.

Returnosid.Metadatametadata for the benefits type
CompliancemandatoryThis method must be implemented.
MethodsetBenefitsType
Description

Sets the benefits type.

Parametersosid.type.Typetypethe benefits type
ErrorsINVALID_ARGUMENTtype is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTtype is null
CompliancemandatoryThis method must be implemented.
MethodclearBenefitsType
Description

Clears the benefits type.

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

Gets the PositionFormRecord interface corresponding to the given position record Type .

Parametersosid.type.TypepositionRecordTypethe position record type
Returnosid.personnel.records.PositionFormRecordthe record
ErrorsNULL_ARGUMENTpositionRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(positionRecordType) is false
CompliancemandatoryThis method must be implemented.