OSID Logo
OSID Specifications
resourcing package
Version 3.1.0
Interfaceosid.resourcing.EffortSearchOrder
Implementsosid.OsidRelationshipSearchOrder
Used Byosid.resourcing.EffortSearchSession
osid.resourcing.EffortSmartFoundrySession
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.
MethodorderByCommission
Description

Orders the results by the commission.

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

Tests if a commission search order is available.

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

Gets the commission search order.

Returnosid.resourcing.CommissionSearchOrder the commission search order
ErrorsILLEGAL_STATE supportsCommissionSearchOrder() is false
Compliancemandatory This method must be implemented.
MethodorderByTimeSpent
Description

Orders the results by the time spent.

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

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

Parametersosid.type.TypeeffortRecordType an effort record type
Returnosid.resourcing.records.EffortSearchOrderRecord the effort search order record
ErrorsNULL_ARGUMENT effortRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(effortRecordType) is false
Compliancemandatory This method must be implemented.