public interface StockSearchOrder extends OsidObjectSearchOrder, OsidFederateableSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
StockSearchOrderRecord |
getStockSearchOrderRecord(Type stockRecordType)
Gets the stock search order record corresponding to the given stock
record
Type. |
void |
orderByLocationDescription(SearchOrderStyle style)
Specifies a preference for ordering the result set by the location
description.
|
void |
orderBySKU(SearchOrderStyle style)
Specifies a preference for ordering the result set by the sku.
|
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
void orderBySKU(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByLocationDescription(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. StockSearchOrderRecord getStockSearchOrderRecord(Type stockRecordType) throws OperationFailedException
Type.
Multiple retrievals return the same
underlying object.stockRecordType
- a stock record typeNullArgumentException
- stockRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(stockRecordType)
is false
mandatory
- This method must be implemented.