OSID Logo
OSID Specifications
inventory shipment package
Version 3.1.0
Interfaceosid.inventory.shipment.EntrySearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidSubjugateableSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByStock
Description

Specifies a preference for ordering the result set by stock.

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

Tests if a stock search order is available.

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

Gets the shipment order.

Returnosid.inventory.StockSearchOrder the stock search order
ErrorsUNIMPLEMENTED supportsStockSearchOrder() is false
Complianceoptional This method must be implemented if supportsStockSearchOrder() is true.
MethodorderByModel
Description

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

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

Tests if a model search order is available.

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

Gets the model search order.

Returnosid.inventory.ModelSearchOrder the item search order
ErrorsUNIMPLEMENTED supportsModelSearchOrder() is false
Complianceoptional This method must be implemented if supportsModelSearchOrder() is true.
MethodorderByItem
Description

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

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

Tests if an item search order is available.

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

Gets the item search order.

Returnosid.inventory.ItemSearchOrder the item search order
ErrorsUNIMPLEMENTED supportsItemSearchOrder() is false
Complianceoptional This method must be implemented if supportsItemSearchOrder() is true.
MethodorderByQuantity
Description

Specifies a preference for ordering the result set by quantity.

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

Specifies a preference for ordering the result set by the unit type.

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

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

Parametersosid.type.TypeentryRecordType an entry record type
Returnosid.inventory.shipment.records.EntrySearchOrderRecord the entry search order record
ErrorsNULL_ARGUMENT entryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(entryRecordType) is false
Compliancemandatory This method must be implemented.