OSID Logo
OSID Specifications
resourcing package
Version 3.0.0
Interfaceosid.resourcing.JobForm
Implementsosid.OsidGovernatorForm
Implemented Byosid.resourcing.batch.JobBatchForm
Used Byosid.resourcing.JobAdminSession
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.

MethodgetEmployersMetadata
Description

Gets the metadata for the employers.

Returnosid.Metadatametadata for the employers
CompliancemandatoryThis method must be implemented.
MethodsetEmployers
Description

Sets the employers.

Parametersosid.id.IdListemployerIdsthe new employers
ErrorsINVALID_ARGUMENTemployerIds is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTemployerIds is null
CompliancemandatoryThis method must be implemented.
MethodclearEmployers
Description

Removes the employers.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
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_ARGUMENTcompetencyIds is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTcompetencyId is null
CompliancemandatoryThis method must be implemented.
MethodclearCompetencies
Description

Removes the competencies.

ErrorsNO_ACCESSMetadata.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_ARGUMENTjobRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(jobRecordType) is false
CompliancemandatoryThis method must be implemented.