| Interface | osid.ordering.OrderItemSearchSession | ||
|---|---|---|---|
| Implements | osid.ordering.OrderItemQuerySession | ||
| Used By | osid.ordering.OrderingManager | ||
osid.ordering.OrderingProxyManager | |||
| Description |
This session provides methods for searching
getOrderItemsByQuery() is the basic search method
and returns a list of OrderItem elements. A more
advanced search may be performed with
getOrderItemsBySearch().It accepts a
OrderItemSearch in addition to the query for the
purpose of specifying additional options affecting the entire
search, such as ordering. getOrderItemsBySearch()
returns a OrderItemSearchResults that can be used
to access the resulting OrderItemList or be used
to perform a search within the result set through
OrderItemSearch.
OrderItems may have a query record indicated by their
respective record types. The query record is accessed via the
Like all | ||
| Method | getOrderItemSearch | ||
| Description |
Gets an order item search. | ||
| Return | osid.ordering.OrderItemSearch | the order item search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOrderItemSearchOrder | ||
| Description |
Gets an order item search order. The
| ||
| Return | osid.ordering.OrderItemSearchOrder | the order item search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOrderItemsBySearch | ||
| Description |
Gets the search results matching the given search. | ||
| Parameters | osid.ordering.OrderItemQuery | orderItemQuery | the order item query |
osid.ordering.OrderItemSearch | orderItemSearch | the order item search | |
| Return | osid.ordering.OrderItemSearchResults | the order item search results | |
| Errors | NULL_ARGUMENT | orderItemQuery or orderItemSearch is
null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | orderItemQuery or orderItemSearch is not of this
service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getOrderItemQueryFromInspector | ||
| Description |
Gets an order item query from an inspector. The
inspector is available from a
| ||
| Parameters | osid.ordering.OrderItemQueryInspector | orderItemQueryInspector | a query inspector |
| Return | osid.ordering.OrderItemQuery | the order item query | |
| Errors | NULL_ARGUMENT | orderItemQueryInspector is null | |
| UNSUPPORTED | orderItemQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |