OSID Logo
OSID Specifications
resourcing package
Version 3.0.0
Interfaceosid.resourcing.WorkForm
Implementsosid.OsidObjectForm
osid.OsidSubjugateableForm
Implemented Byosid.resourcing.batch.WorkBatchForm
Used Byosid.resourcing.WorkAdminSession
Description

This is the form for creating and updating Works .Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the WorkAdminSession . 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 specific competencies required for this work.

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.
MethodgetWorkFormRecord
Description

Gets the WorkFormRecord corresponding to the given work record Type .

Parametersosid.type.TypeworkRecordTypea work record type
Returnosid.resourcing.records.WorkFormRecordthe work form record
ErrorsNULL_ARGUMENTworkRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(workRecordType) is false
CompliancemandatoryThis method must be implemented.