OSID Logo
OSID Specifications
ordering package
Version 3.1.0
Interfaceosid.ordering.OrderSearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidAggregateableSearchOrder
Used Byosid.inventory.shipment.ShipmentSearchOrder
osid.ordering.ItemSearchOrder
osid.ordering.OrderSearchSession
osid.ordering.OrderSmartStoreSession
Description

An interface for specifying the ordering of search results.

MethodorderByCustomer
Description

Specifies a preference for ordering the result set by the customer.

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

Tests if a customer search order is available.

Returnboolean true if a customer order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCustomerSearchOrder
Description

Gets the customer search order.

Returnosid.resource.ResourceSearchOrder the customer search order
ErrorsUNIMPLEMENTED supportsCustomerSearchOrder() is false
Complianceoptional This method must be implemented if supportsCustomerSearchOrder() is true.
MethodorderByTotalCost
Description

Specifies a preference for ordering the result set by the total cost.

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

Specifies a preference for ordering the result set by the submitted date.

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

Specifies a preference for ordering the result set by the submitter.

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

Tests if a submitter search order is available.

Returnboolean true if a resource order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetSubmitterSearchOrder
Description

Gets the submitter search order.

Returnosid.resource.ResourceSearchOrder the resource search order
ErrorsUNIMPLEMENTED supportsSubmitterSearchOrder() is false
Complianceoptional This method must be implemented if supportsSubmitterSearchOrder() is true.
MethodorderBySubmittingAgent
Description

Specifies a preference for ordering the result set by the submitting agent.

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

Tests if a submitting agent search order is available.

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

Gets the submitting agent search order.

Returnosid.authentication.AgentSearchOrder the agent search order
ErrorsUNIMPLEMENTED supportsSubmittingAgentSearchOrder() is false
Complianceoptional This method must be implemented if supportsSubmittingAgentSearchOrder() is true.
MethodorderByClosedDate
Description

Specifies a preference for ordering the result set by the closed date.

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

Specifies a preference for ordering the result set by the closer.

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

Tests if a closer search order is available.

Returnboolean true if a resource order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCloserSearchOrder
Description

Gets the closer search order.

Returnosid.authentication.AgentSearchOrder the resource search order
ErrorsUNIMPLEMENTED supportsCloserSearchOrder() is false
Complianceoptional This method must be implemented if supportsCloserSearchOrder() is true.
MethodorderByClosingAgent
Description

Specifies a preference for ordering the result set by the closer.

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

Tests if a closing agent search order is available.

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

Gets the closing agent search order.

Returnosid.authentication.AgentSearchOrder the agent search order
ErrorsUNIMPLEMENTED supportsClosingAgentSearchOrder() is false
Complianceoptional This method must be implemented if supportsClosingAgentSearchOrder() is true.
MethodgetOrderSearchOrderRecord
Description

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

Parametersosid.type.TypeorderRecordType an order record type
Returnosid.ordering.records.OrderSearchOrderRecord the order search order record
ErrorsNULL_ARGUMENT orderRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(orderRecordType) is false
Compliancemandatory This method must be implemented.