OSID Logo
OSID Specifications
resourcing package
Version 3.1.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.Metadata metadata for the employers
Compliancemandatory This method must be implemented.
MethodsetEmployers
Description

Sets the employers.

Parametersosid.id.IdListemployerIds the new employers
ErrorsINVALID_ARGUMENT employerIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT employerIds is null
Compliancemandatory This method must be implemented.
MethodclearEmployers
Description

Removes the employers.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetCompetenciesMetadata
Description

Gets the metadata for the competencies.

Returnosid.Metadata metadata for the competency
Compliancemandatory This method must be implemented.
MethodsetCompetencies
Description

Sets the competencies.

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

Removes the competencies.

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

Gets the JobFormRecord corresponding to the given job record Type.

Parametersosid.type.TypejobRecordType a job record type
Returnosid.resourcing.records.JobFormRecord the job form record
ErrorsNULL_ARGUMENT jobRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(jobRecordType) is false
Compliancemandatory This method must be implemented.