| Interface | osid.billing.CategorySearchSession | ||
|---|---|---|---|
| Implements | osid.billing.CategoryQuerySession | ||
| Description | 
                 This session provides methods for searching among    This session defines views that offer differing behaviors for searching. 
  Categories may have a query record indicated by their 
                respective record types. The queryrecord is accessed via the 
                  | ||
| Method | getCategorySearch | ||
| Description | 
                     Gets a category search.  | ||
| Return | osid.billing.CategorySearch | the category search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCategorySearchOrder | ||
| Description | 
                     Gets a category search order. The   | ||
| Return | osid.billing.CategorySearchOrder | the category search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCategoriesBySearch | ||
| Description | 
                     Gets the search results matching the given search query using the given search.  | ||
| Parameters | osid.billing.CategoryQuery | categoryQuery | the category query | 
osid.billing.CategorySearch | categorySearch | the category search | |
| Return | osid.billing.CategorySearchResults | the category search results | |
| Errors | NULL_ARGUMENT |  categoryQuery  or  categorySearch  is  
null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  categoryQuery  or  categorySearch  is not of 
this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCategoryQueryFromInspector | ||
| Description | 
                     Gets a category query from an inspector. The inspector 
                    is available from a   | ||
| Parameters | osid.assessment.ItemQueryInspector | categoryQueryInspector | a category query inspector | 
| Return | osid.billing.CategoryQuery | the category query | |
| Errors | NULL_ARGUMENT |  categoryQueryInspector  is  null   |                 |
| UNSUPPORTED |  categoryQueryInspector  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |