public interface BillingSearchSession extends BillingQuerySession
This session provides methods for searching Billing
objects. The search query is constructed using the BillingQuery.
The billing record Type also specifies the billing
query record for the billing query.
getBillingsByQuery() is the basic search method and
returns a list of Billing elements. A more advanced search
may be performed with getBillingsBySearch(). It accepts a
BillingSearch in addition to the query for the purpose of
specifying additional options affecting the entire search, such as
ordering. getBillingsBySearch() returns a
BillingSearchResults that can be used to access the resulting
BillingList or be used to perform a search within the
result set through BillingSearch.
Billings may have a query record indicated by their respective record
types. The query record is accessed via the BillingQuery.
The returns in this session may not be cast directly to these interfaces.
| Modifier and Type | Method and Description |
|---|---|
BillingQuery |
getBillingQueryFromInspector(BillingQueryInspector billingQueryInspector)
Gets a billing query from an inspector.
|
BillingSearchResults |
getBillingsBySearch(BillingQuery billingQuery,
BillingSearch billingSearch)
Gets the search results matching the given search.
|
BillingSearch |
getBillingSearch()
Gets a billing search.
|
BillingSearchOrder |
getBillingSearchOrder()
Gets a billing search order.
|
canSearchBillings, getBillingQuery, getBillingsByQuerygetAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseBillingSearch getBillingSearch()
mandatory - This method must be implemented. BillingSearchOrder getBillingSearchOrder()
BillingSearchOrder is
supplied to a BillingSearch to specify the ordering of
results.mandatory - This method must be implemented. BillingSearchResults getBillingsBySearch(BillingQuery billingQuery, BillingSearch billingSearch) throws OperationFailedException, PermissionDeniedException
billingQuery - the billing querybillingSearch - the billing searchNullArgumentException - billingQuery or
billingSearch is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failureUnsupportedException - billingQuery or
billingSearch is not of this servicemandatory - This method must be implemented. BillingQuery getBillingQueryFromInspector(BillingQueryInspector billingQueryInspector)
BillingSearchResults. billingQueryInspector - a billing query inspectorNullArgumentException - billingQueryInspector
is null UnsupportedException - ibillingQueryInspector
is not of this servicemandatory - This method must be implemented.