public interface InventorySearchOrder extends OsidObjectSearchOrder, OsidSubjugateableSearchOrder
An interface for specifying the ordering of search results.
| Modifier and Type | Method and Description | 
|---|---|
InventorySearchOrderRecord | 
getInventorySearchOrderRecord(Type inventoryRecordType)
Gets the inventory search order record corresponding to the given 
  inventory record  
 Type. | 
StockSearchOrder | 
getStockSearchOrder()
Gets the search order for a stock. 
 | 
void | 
orderByDate(SearchOrderStyle style)
Specifies a preference for ordering the result set by the date. 
 | 
void | 
orderByQuantity(SearchOrderStyle style)
Specifies a preference for ordering the result set by the quantity. 
 | 
void | 
orderByStock(SearchOrderStyle style)
Specifies a preference for ordering the result set by the stock. 
 | 
boolean | 
supportsStockSearchOrder()
Tests if a  
 StockSearchOrder  is available. | 
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticorderByIdgetRecordTypes, hasRecordTypevoid orderByStock(SearchOrderStyle style)
style - a search order styleNullArgumentException -  style  is  
          null mandatory - This method must be implemented. boolean supportsStockSearchOrder()
 StockSearchOrder  is available. true  if a stock search order is available, 
           false  otherwisemandatory - This method must be implemented. StockSearchOrder getStockSearchOrder()
UnimplementedException -  
          supportsStockSearchOrder()  is  false optional - This method must be implemented if  
              supportsStockSearchOrder()  is  true.  void orderByDate(SearchOrderStyle style)
style - a search order styleNullArgumentException -  style  is  
          null mandatory - This method must be implemented. void orderByQuantity(SearchOrderStyle style)
style - a search order styleNullArgumentException -  style  is  
          null mandatory - This method must be implemented. InventorySearchOrderRecord getInventorySearchOrderRecord(Type inventoryRecordType) throws OperationFailedException
 Type.  Multiple retrievals return the 
  same underlying object.inventoryRecordType - an inventory record typeNullArgumentException -  inventoryRecordType 
           is  null OperationFailedException - unable to complete requestUnsupportedException -  
          hasRecordType(inventoryRecordType)  is  false 
          mandatory - This method must be implemented.