| Interface | osid.billing.BusinessQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods for searching among  This session defines views that offer differing behaviors for searching. 
  businesses may have a query record indicated by their 
                respective record types. The query record is accessed via the 
                  | ||
| Method | canSearchBusinesses | ||
| 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 | getBusinessQuery | ||
| Description | 
                     Gets a business query.  | ||
| Return | osid.billing.BusinessQuery | the business query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBusinessesByQuery | ||
| Description | 
                     Gets a list of   | ||
| Parameters | osid.billing.BusinessQuery | businessQuery | the business query | 
| Return | osid.billing.BusinessList | the returned  BusinessList   | |
| Errors | NULL_ARGUMENT |  businessQuery  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  businessQuery  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |