OSID Logo
OSID Specifications
resourcing package
Version 3.0.0
Release Candidate Preview
Interfaceosid.resourcing.CommissionSearchOrder
Implementsosid.OsidRelationshipSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByResource
Description

Orders the results by resource.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsResourceSearchOrder
Description

Tests if a resource search order is available.

Returnboolean true if a resource search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetResourceSearchOrder
Description

Gets the resource search order.

Returnosid.resource.ResourceSearchOrderthe resource search order
ErrorsILLEGAL_STATE supportsResourceSearchOrder() is false
CompliancemandatoryThis method must be implemented.
MethodorderByWork
Description

Orders the results by work.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsWorkSearchOrder
Description

Tests if a work search order is available.

Returnboolean true if a work search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetWorkSearchOrder
Description

Gets the work search order.

Returnosid.resourcing.WorkSearchOrderthe work search order
ErrorsILLEGAL_STATE supportsWorkSearchOrder() is false
CompliancemandatoryThis method must be implemented.
MethodorderByCompetency
Description

Orders the results by competency.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsCompetencySearchOrder
Description

Tests if a competency search order is available.

Returnboolean true if a competency search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCompetencySearchOrder
Description

Gets the competency search order.

Returnosid.resourcing.CompetencySearchOrderthe competency search order
ErrorsILLEGAL_STATE supportsCompetencySearchOrder() is false
CompliancemandatoryThis method must be implemented.
MethodorderByPercentage
Description

Orders the results by percentage availability.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodgetCommissionSearchOrderRecord
Description

Gets the commission search order record corresponding to the given commission record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TypecommissionRecordTypea commission record type
Returnosid.resourcing.records.CommissionSearchOrderRecordthe commission search order record
ErrorsNULL_ARGUMENT commissionRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(commissionRecordType) is false
CompliancemandatoryThis method must be implemented.