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

Sets specific competencies required for this work.

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

Gets the WorkFormRecord corresponding to the given work record Type.

Parametersosid.type.TypeworkRecordType a work record type
Returnosid.resourcing.records.WorkFormRecord the work form record
ErrorsNULL_ARGUMENT workRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(workRecordType) is false
Compliancemandatory This method must be implemented.