| Interface | osid.inventory.InventorySearchSession | ||
|---|---|---|---|
| Implements | osid.inventory.InventoryQuerySession | ||
| Description | 
                 This session provides methods for searching among    This session defines views that offer differing behaviors for searching. 
  Inventories may have a query record indicated by their 
                respective record types. The query record is accessed via the 
                  | ||
| Method | getInventorySearch | ||
| Description | 
                     Gets an inventory search.  | ||
| Return | osid.inventory.InventorySearch | the inventory search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getInventorySearchOrder | ||
| Description | 
                     Gets an inventory search order. The   | ||
| Return | osid.inventory.InventorySearchOrder | the inventory search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getInventoriesBySearch | ||
| Description | 
                     Gets the search results matching the given search query using the given search.  | ||
| Parameters | osid.inventory.InventoryQuery | inventoryQuery | the inventory query | 
osid.inventory.InventorySearch | inventorySearch | the inventory search | |
| Return | osid.inventory.InventorySearchResults | the inventory search results | |
| Errors | NULL_ARGUMENT |  inventoryQuery  or  inventorySearch  is  
null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  inventoryQuery  or  inventorySearch  is not of 
this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getInventoryQueryFromInspector | ||
| Description | 
                     Gets an inventory query from an inspector. The 
                    inspector is available from an   | ||
| Parameters | osid.inventory.InventoryQueryInspector | inventoryQueryInspector | an inventory query inspector | 
| Return | osid.inventory.InventoryQuery | the inventory query | |
| Errors | NULL_ARGUMENT |  inventoryQueryInspector  is  null   |                 |
| UNSUPPORTED |  inventoryQueryInspector  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |