OSID Logo
OSID Specifications
hold package
Version 3.1.0
Interfaceosid.hold.HoldSearchOrder
Implementsosid.OsidRelationshipSearchOrder
Used Byosid.hold.HoldSearchSession
osid.hold.HoldSmartOublietteSession
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.
MethodorderByAgent
Description

Orders the results by agent.

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

Tests if an agent search order is available.

Returnboolean true if an agent search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAgentSearchOrder
Description

Gets the agent search order.

Returnosid.authentication.AgentSearchOrder the agent search order
ErrorsILLEGAL_STATE supportsAgentSearchOrder() is false
Compliancemandatory This method must be implemented.
MethodorderByIssue
Description

Orders the results by issue.

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

Tests if an issue search order is available.

Returnboolean true if an issue search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetIssueSearchOrder
Description

Gets the issue search order.

Returnosid.hold.IssueSearchOrder the issue search order
ErrorsILLEGAL_STATE supportsIssueSearchOrder() is false
Compliancemandatory This method must be implemented.
MethodgetHoldSearchOrderRecord
Description

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

Parametersosid.type.TypeholdRecordType a hold record type
Returnosid.hold.records.HoldSearchOrderRecord the hold search order record
ErrorsNULL_ARGUMENT holdRecordType is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED hasRecordType(holdRecordType) is false
Compliancemandatory This method must be implemented.