OSID Logo
OSID Specifications
resourcing package
Version 3.1.0
Interfaceosid.resourcing.CommissionForm
Implementsosid.OsidRelationshipForm
Implemented Byosid.resourcing.batch.CommissionBatchForm
Used Byosid.resourcing.CommissionAdminSession
Description

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

MethodgetCompetencyMetadata
Description

Gets the metadata for the competency.

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

Sets the competency.

Parametersosid.id.IdcompetencyId the new competency
ErrorsINVALID_ARGUMENT competencyId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT competencyId is null
Compliancemandatory This method must be implemented.
MethodclearCompetency
Description

Removes the competency.

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

Gets the metadata for the percentage availability.

Returnosid.Metadata metadata for the percentage availability
Compliancemandatory This method must be implemented.
MethodsetPercentage
Description

Sets the percent availability.

Parameterscardinalavailability the new percentage vaailability
ErrorsINVALID_ARGUMENT availability is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearPercentage
Description

Removes the percentage availability.

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

Gets the CommissionFormRecord corresponding to the given commission record Type.

Parametersosid.type.TypecommissionRecordType a commission record type
Returnosid.resourcing.records.CommissionFormRecord the commission form record
ErrorsNULL_ARGUMENT commissionRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(commissionRecordType) is false
Compliancemandatory This method must be implemented.