OSID Logo
OSID Specifications
resourcing package
Version 3.1.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.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodgetResourceSearchOrder
Description

Gets the resource search order.

Returnosid.resource.ResourceSearchOrder the resource search order
ErrorsILLEGAL_STATE supportsResourceSearchOrder() is false
Compliancemandatory This method must be implemented.
MethodorderByJob
Description

Orders the results by job.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsJobSearchOrder
Description

Tests if a job search order is available.

Returnboolean true if a job search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetJobSearchOrder
Description

Gets the job search order.

Returnosid.resourcing.JobSearchOrder the job search order
ErrorsILLEGAL_STATE supportsJobSearchOrder() is false
Compliancemandatory This method must be implemented.
MethodorderByCompetency
Description

Orders the results by competency.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodgetCompetencySearchOrder
Description

Gets the competency search order.

Returnosid.resourcing.CompetencySearchOrder the competency search order
ErrorsILLEGAL_STATE supportsCompetencySearchOrder() is false
Compliancemandatory This method must be implemented.
MethodorderByPercentage
Description

Orders the results by percentage availability.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This 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.TypeavailabilityRecordType an availability record type
Returnosid.resourcing.records.AvailabilitySearchOrderRecord the availability order record
ErrorsNULL_ARGUMENT availabilityRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(availabilityRecordType) is false
Compliancemandatory This method must be implemented.