OSID Logo
OSID Specifications
acknowledgement package
Version 3.1.0
Interfaceosid.acknowledgement.BillingSearchSession
Implementsosid.acknowledgement.BillingQuerySession
Used Byosid.acknowledgement.AcknowledgementManager
osid.acknowledgement.AcknowledgementProxyManager
Description

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.

MethodgetBillingSearch
Description

Gets a billing search.

Returnosid.acknowledgement.BillingSearch the billing search
Compliancemandatory This method must be implemented.
MethodgetBillingSearchOrder
Description

Gets a billing search order. The BillingSearchOrder is supplied to a BillingSearch to specify the ordering of results.

Returnosid.acknowledgement.BillingSearchOrder the billing search order
Compliancemandatory This method must be implemented.
MethodgetBillingsBySearch
Description

Gets the search results matching the given search.

Parametersosid.acknowledgement.BillingQuerybillingQuery the billing query
osid.acknowledgement.BillingSearchbillingSearch the billing search
Returnosid.acknowledgement.BillingSearchResults the search results
ErrorsNULL_ARGUMENT billingQuery or billingSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED billingQuery or billingSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetBillingQueryFromInspector
Description

Gets a billing query from an inspector. The inspector is available from a BillingSearchResults.

Parametersosid.acknowledgement.BillingQueryInspectorbillingQueryInspector a billing query inspector
Returnosid.acknowledgement.BillingQuery the billing query
ErrorsNULL_ARGUMENT billingQueryInspector is null
UNSUPPORTED ibillingQueryInspector is not of this service
Compliancemandatory This method must be implemented.