OSID Logo
OSID Specifications
inventory shipment package
Version 3.1.0
Interfaceosid.inventory.shipment.ShipmentSearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidAggregateableSearchOrder
Used Byosid.inventory.shipment.ShipmentSearchSession
osid.inventory.shipment.ShipmentSmartWarehouseSession
Description

An interface for specifying the ordering of search results.

MethodorderBySource
Description

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

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

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

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

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

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

Tests if an order search order is available.

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

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

Returnosid.ordering.OrderSearchOrder the order search order
ErrorsUNIMPLEMENTED supportsOrderSearchOrder() is false
Complianceoptional This method must be implemented if supportsOrderSearchOrder() is true.
MethodorderByDate
Description

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

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

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

Parametersosid.type.TypeshipmentRecordType a shipment record type
Returnosid.inventory.shipment.records.ShipmentSearchOrderRecord the shipment search order record
ErrorsNULL_ARGUMENT shipmentRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(shipmentRecordType) is false
Compliancemandatory This method must be implemented.