OSID Logo
OSID Specifications
inventory shipment package
Version 3.0.0
Release Candidate Preview
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.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodgetStockSearchOrder
Description

Gets the shipment order.

Returnosid.inventory.StockSearchOrderthe stock search order
ErrorsUNIMPLEMENTED supportsStockSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsStockSearchOrder() is true.
MethodorderByModel
Description

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

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodgetModelSearchOrder
Description

Gets the model search order.

Returnosid.inventory.ModelSearchOrderthe item search order
ErrorsUNIMPLEMENTED supportsModelSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsModelSearchOrder() is true.
MethodorderByItem
Description

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

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodgetItemSearchOrder
Description

Gets the item search order.

Returnosid.inventory.ItemSearchOrderthe item search order
ErrorsUNIMPLEMENTED supportsItemSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsItemSearchOrder() is true.
MethodorderByQuantity
Description

Specifies a preference for ordering the result set by quantity.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByUnitType
Description

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

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis 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.TypeentryRecordTypean entry record type
Returnosid.inventory.shipment.records.EntrySearchOrderRecordthe entry search order record
ErrorsNULL_ARGUMENT entryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(entryRecordType) is false
CompliancemandatoryThis method must be implemented.