| Interface | osid.subscription.DispatchQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods for searching   Dispatches may have a query record indicated by their 
                respective record types. The query record is accessed via the 
                  | ||
| Method | getPublisherId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Publisher Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPublisher | ||
| Description | 
                     Gets the   | ||
| Return | osid.subscription.Publisher | the publisher | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canSearchDispatches | ||
| Description | 
                     Tests if this user can perform   | ||
| Return | boolean |  false  if search methods are not authorized,  true 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useFederatedPublisherView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include dispatches in publishers which are children of this publisher in the publisher hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedPublisherView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts retrievals to this publisher only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getDispatchQuery | ||
| Description | 
                     Gets a dispatch query.  | ||
| Return | osid.subscription.DispatchQuery | the dispatch query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDispatchesByQuery | ||
| Description | 
                     Gets a list of   | ||
| Parameters | osid.subscription.DispatchQuery | dispatchQuery | the dispatch query | 
| Return | osid.subscription.DispatchList | the returned  DispatchList   | |
| Errors | NULL_ARGUMENT |  dispatchQuery  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  dispatchQuery  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |