OSID Logo
OSID Specifications
billing package
Version 3.1.0
Interfaceosid.billing.CustomerQueryInspector
Implementsosid.OsidObjectQueryInspector
osid.OsidTemporalQueryInspector
Used Byosid.billing.BusinessQueryInspector
osid.billing.CustomerSearchResults
osid.billing.CustomerSmartBusinessSession
osid.billing.EntryQueryInspector
osid.billing.payment.PayerQueryInspector
osid.billing.payment.PaymentQueryInspector
Description

The query inspectors provide a means of accessing the match terms of a query. These interfaces are used to examine the actual query terms used in a search or that may be used to create a smart catalog. Query inspectors may be converted to OsidQuery interfaces for reuse or modification in the search sessions.

Like all OsidQueryInspectors, CustomerQueryInspector is stateful and must not be accessed by multiple processing threads.

MethodgetResourceIdTerms
Description

Gets the resource Id query terms.

Returnosid.search.terms.IdTerm[] the resource Id query terms
Compliancemandatory This method must be implemented.
MethodgetResourceTerms
Description

Gets the resource query terms.

Returnosid.resource.ResourceQueryInspector[] the resource query terms
Compliancemandatory This method must be implemented.
MethodgetCustomerNumberTerms
Description

Gets the customer number terms.

Returnosid.search.terms.StringTerm[] the customer number terms
Compliancemandatory This method must be implemented.
MethodgetActivityIdTerms
Description

Gets the activity Id query terms.

Returnosid.search.terms.IdTerm[] the activity Id query terms
Compliancemandatory This method must be implemented.
MethodgetActivityTerms
Description

Gets the activity query terms.

Returnosid.financials.ActivityQueryInspector[] the activity query terms
Compliancemandatory This method must be implemented.
MethodgetBusinessIdTerms
Description

Gets the business Id query terms.

Returnosid.search.terms.IdTerm[] the business Id query terms
Compliancemandatory This method must be implemented.
MethodgetBusinessTerms
Description

Gets the business query terms.

Returnosid.billing.BusinessQueryInspector[] the business query terms
Compliancemandatory This method must be implemented.
MethodgetCustomerQueryInspectorRecord
Description

Gets the customer query inspector record corresponding to the given Customer record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypecustomerRecordType a customer record type
Returnosid.billing.records.CustomerQueryInspectorRecord the customer query inspector record
ErrorsNULL_ARGUMENT customerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(customerRecordType) is false
Compliancemandatory This method must be implemented.