OSID Logo
OSID Specifications
personnel package
Version 3.0.0
Release Candidate Preview
Interfaceosid.personnel.PositionForm
Implementsosid.OsidObjectForm
osid.OsidTemporalForm
osid.OsidSubjugateableForm
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_ARGUMENT title is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT title is null
CompliancemandatoryThis method must be implemented.
MethodclearTitle
Description

Clears the title.

ErrorsNO_ACCESS Metadata.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_ARGUMENT gradeId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT gradeId is null
CompliancemandatoryThis method must be implemented.
MethodclearLevel
Description

Clears the level.

ErrorsNO_ACCESS Metadata.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_ARGUMENT objectiveIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT objectiveIds is null
CompliancemandatoryThis method must be implemented.
MethodclearQualifications
Description

Clears the qualifications.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetTargetAppointmenstMetadata
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_ARGUMENT appointments is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearTargetAppointments
Description

Clears the target appointments.

ErrorsNO_ACCESS Metadata.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_ARGUMENT commitment is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearRequiredCommitment
Description

Clears the required commitment.

ErrorsNO_ACCESS Metadata.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_ARGUMENT salary is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT salary is null
CompliancemandatoryThis method must be implemented.
MethodclearLowSalaryRange
Description

Clears the low salary.

ErrorsNO_ACCESS Metadata.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_ARGUMENT salary is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT salary is null
CompliancemandatoryThis method must be implemented.
MethodclearMidpointSalaryRange
Description

Clears the midpoint salary.

ErrorsNO_ACCESS Metadata.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_ARGUMENT salary is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT salary is null
CompliancemandatoryThis method must be implemented.
MethodclearHighSalaryRange
Description

Clears the high salary.

ErrorsNO_ACCESS Metadata.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_ARGUMENT frequency is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT frequency is null
CompliancemandatoryThis method must be implemented.
MethodclearCompensationFrequency
Description

Clears the compensation frequency.

ErrorsNO_ACCESS Metadata.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.

Parametersbooleaneemptthe exempt flag
ErrorsINVALID_ARGUMENT exempt is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearExempt
Description

Clears the exempt flag.

ErrorsNO_ACCESS Metadata.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_ARGUMENT type is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT type is null
CompliancemandatoryThis method must be implemented.
MethodclearBenefitsType
Description

Clears the benefits type.

ErrorsNO_ACCESS Metadata.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_ARGUMENT positionRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(positionRecordType) is false
CompliancemandatoryThis method must be implemented.