OSID Logo
OSID Specifications
resourcing package
Version 3.0.0
Interfaceosid.resourcing.AvailabilitySearchOrder
Implementsosid.OsidRelationshipSearchOrder
Used Byosid.resourcing.AvailabilitySearchSession
osid.resourcing.AvailabilitySmartFoundrySession
Description

An interface for specifying the ordering of search results.

MethodorderByResource
Description

Orders the results by resource.

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

Tests if a resource search order is available.

Returnbooleantrue 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_STATEsupportsResourceSearchOrder() is false
CompliancemandatoryThis method must be implemented.
MethodorderByJob
Description

Orders the results by job.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsJobSearchOrder
Description

Tests if a job search order is available.

Returnbooleantrue if a job search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetJobSearchOrder
Description

Gets the job search order.

Returnosid.resourcing.JobSearchOrderthe job search order
ErrorsILLEGAL_STATEsupportsJobSearchOrder() is false
CompliancemandatoryThis method must be implemented.
MethodorderByCompetency
Description

Orders the results by competency.

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

Tests if a competency search order is available.

Returnbooleantrue 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_STATEsupportsCompetencySearchOrder() is false
CompliancemandatoryThis method must be implemented.
MethodorderByPercentage
Description

Orders the results by percentage availability.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodgetAvailabilitySearchOrderRecord
Description

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

Parametersosid.type.TypeavailabilityRecordTypean availability record type
Returnosid.resourcing.records.AvailabilitySearchOrderRecordthe availability order record
ErrorsNULL_ARGUMENTavailabilityRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(availabilityRecordType) is false
CompliancemandatoryThis method must be implemented.