| Interface | osid.workflow.OfficeSearchSession | ||
|---|---|---|---|
| Implements | osid.workflow.OfficeQuerySession | ||
| Description | 
                 This session provides methods for searching among     Offices may have a query record indicated by their 
                respective record types. The query record is accessed via the 
                  | ||
| Method | getOfficeSearch | ||
| Description | 
                     Gets an office search.  | ||
| Return | osid.workflow.OfficeSearch | the office search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOfficeSearchOrder | ||
| Description | 
                     Gets an office search order. The   | ||
| Return | osid.workflow.OfficeSearchOrder | the office search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOfficesBySearch | ||
| Description | 
                     Gets the search results matching the given search query using the given search.  | ||
| Parameters | osid.workflow.OfficeQuery | officeQuery | the office query | 
osid.workflow.OfficeSearch | officeSearch | the office search | |
| Return | osid.workflow.OfficeSearchResults | the returned search results | |
| Errors | NULL_ARGUMENT |  officeQuery  or  officeSearch  is  null 
  |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  officeQuery  or  officeSearch  is not of this 
service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getOfficeQueryFromInspector | ||
| Description | 
                     Gets an office query from an inspector. The inspector 
                    is available from an   | ||
| Parameters | osid.workflow.OfficeQueryInspector | officeQueryInspector | an office query inspector | 
| Return | osid.workflow.OfficeQuery | the office query | |
| Errors | NULL_ARGUMENT |  officeQueryInspector  is  null   |                 |
| UNSUPPORTED |  officeQueryInspector  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |