OSID Logo
OSID Specifications
resourcing package
Version 3.0.0
Release Candidate Preview
Interfaceosid.resourcing.JobForm
Implementsosid.OsidGovernatorForm
Description

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

MethodgetCompetenciesMetadata
Description

Gets the metadata for the competencies.

Returnosid.Metadatametadata for the competency
CompliancemandatoryThis method must be implemented.
MethodsetCompetencies
Description

Sets the competencies.

Parametersosid.id.IdListcompetencyIdsthe new competencies
ErrorsINVALID_ARGUMENT competencyIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT competencyId is null
CompliancemandatoryThis method must be implemented.
MethodclearCompetencies
Description

Removes the competencies.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetJobFormRecord
Description

Gets the JobFormRecord corresponding to the given job record Type.

Parametersosid.type.TypejobRecordTypea job record type
Returnosid.resourcing.records.JobFormRecordthe job form record
ErrorsNULL_ARGUMENT jobRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(jobRecordType) is false
CompliancemandatoryThis method must be implemented.