| Interface | osid.billing.CustomerSearchSession | ||
|---|---|---|---|
| Implements | osid.billing.CustomerQuerySession | ||
| Used By | osid.billing.BillingManager | ||
osid.billing.BillingProxyManager | |||
| Description |
This session provides methods for searching among
getCustomersByQuery() is the basic search method
and returns a list of Customers . A more advanced
search may be performed with
getCustomersBySearch() .It accepts a
CustomerSearch in addition to the query for the
purpose of specifying additional options affecting the entire
search, such as ordering. getCustomersBySearch()
returns a CustomerSearchResults that can be used
to access the resulting CustomerList or be used
to perform a search within the result set through
CustomerSearch .
This session defines views that offer differing behaviors for searching.
Customers may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
| Method | getCustomerSearch | ||
| Description |
Gets a customer search. | ||
| Return | osid.billing.CustomerSearch | the customer search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCustomerSearchOrder | ||
| Description |
Gets a customer search order. The
| ||
| Return | osid.billing.CustomerSearchOrder | the customer search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCustomersBySearch | ||
| Description |
Gets the search results matching the given search query using the given search. | ||
| Parameters | osid.billing.CustomerQuery | customerQuery | the customer query |
osid.billing.CustomerSearch | customerSearch | the customer search | |
| Return | osid.billing.CustomerSearchResults | the customer search results | |
| Errors | NULL_ARGUMENT | customerQuery or customerSearch is
null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | customerQuery or customerSearch is not of this
service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCustomerQueryFromInspector | ||
| Description |
Gets a customer query from an inspector. The inspector
is available from a | ||
| Parameters | osid.billing.CustomerQueryInspector | customerQueryInspector | a customer query inspector |
| Return | osid.billing.CustomerQuery | the customer query | |
| Errors | NULL_ARGUMENT | customerQueryInspector is null | |
| UNSUPPORTED | customerQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |