OSID Logo
OSID Specifications
inquiry package
Version 3.0.0
Release Candidate Preview
Interfaceosid.inquiry.ResponseSearchOrder
Implementsosid.OsidRelationshipSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByInquiry
Description

Orders the results by inquiry.

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

Tests if an inquiry search order is available.

Returnboolean true if an inquiry search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetInquirySearchOrder
Description

Gets the inquiry search order.

Returnosid.inquiry.InquirySearchOrderthe inquiry search order
ErrorsILLEGAL_STATE supportsInquirySearchOrder() is false
CompliancemandatoryThis method must be implemented.
MethodorderByResponder
Description

Orders the results by responder resource.

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

Tests if a responder resource search order is available.

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

Gets the responder resource search order.

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

Orders the results by responding agent.

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

Tests if a responding agent search order is available.

Returnboolean true if an agent search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRespondingAgentSearchOrder
Description

Gets the responding agent search order.

Returnosid.authentication.AgentSearchOrderthe agent search order
ErrorsILLEGAL_STATE supportsRespondingAgentSearchOrder() is false
CompliancemandatoryThis method must be implemented.
MethodorderByAffirmative
Description

Orders the results by affirmative responses.

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

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

Parametersosid.type.TyperesponseRecordTypea response record type
Returnosid.inquiry.records.ResponseSearchOrderRecordthe response order record interface
ErrorsNULL_ARGUMENT responseRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(responseRecordType) is false
CompliancemandatoryThis method must be implemented.