OSID Logo
OSID Specifications
inventory package
Version 3.1.0
Interfaceosid.inventory.ItemSearchOrder
Implementsosid.OsidObjectSearchOrder
Used Byosid.inventory.ItemSearchOrder
osid.inventory.ItemSearchSession
osid.inventory.ItemSmartWarehouseSession
osid.inventory.shipment.EntrySearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByStock
Description

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

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

Tests if a StockSearchOrder is available.

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

Gets the search order for a stock.

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

Specifies a preference for ordering the result set by the property tag.

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

Specifies a preference for ordering the result set by the serial number.

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

Specifies a preference for ordering the result set by the location description.

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

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

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

Tests if a LocationSearchOrder is available.

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

Gets the location order for a stock.

Returnosid.mapping.LocationSearchOrder the location search order
ErrorsUNIMPLEMENTED supportsLocationSearchOrder() is false
Complianceoptional This method must be implemented if supportsLocationSearchOrder() is true.
MethodorderByItem
Description

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

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

Tests if an ItemSearchOrder is available.

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

Gets the item order for a stock.

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

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

Parametersosid.type.TypeitemRecordType an item record type
Returnosid.inventory.records.ItemSearchOrderRecord the item search order record
ErrorsNULL_ARGUMENT itemRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(itemRecordType) is false
Compliancemandatory This method must be implemented.