OSID Logo
OSID Specifications
acknowledgement package
Version 3.1.0
Interfaceosid.acknowledgement.CreditQuery
Implementsosid.OsidRelationshipQuery
Used Byosid.OsidObjectQuery
osid.acknowledgement.BillingQuery
osid.acknowledgement.CreditQuerySession
osid.acknowledgement.CreditSearchSession
osid.acknowledgement.CreditSmartBillingSession
Description

This is the query for searching credits. Each method specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchReferenceId
Description

Sets reference Id.

Parametersosid.id.IdreferenceId a reference Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT referenceId is null
Compliancemandatory This method must be implemented.
MethodclearReferenceIdTerms
Description

Clears all reference Id terms.

Compliancemandatory This method must be implemented.
MethodmatchResourceId
Description

Sets a resource Id.

Parametersosid.id.IdresourceId a resource Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.
MethodclearResourceIdTerms
Description

Clears all resource Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsResourceQuery
Description

Tests if a ResourceQuery is available.

Returnboolean true if a resource query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetResourceQuery
Description

Gets the query for a resource query. Multiple retrievals produce a nested OR term.

Returnosid.resource.ResourceQuery the resource query
ErrorsUNIMPLEMENTED supportsResourceQuery() is false
Complianceoptional This method must be implemented if supportsResourceQuery() is true.
MethodclearResourceTerms
Description

Clears all resource terms.

Compliancemandatory This method must be implemented.
MethodmatchBillingId
Description

Sets the billing Id for this query to match credits assigned to billings.

Parametersosid.id.IdbillingId a billing Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT billingId is null
Compliancemandatory This method must be implemented.
MethodclearBillingIdTerms
Description

Clears all billing Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsBillingQuery
Description

Tests if a BillingQuery is available.

Returnboolean true if a billing query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetBillingQuery
Description

Gets the query for a billing query. Multiple retrievals produce a nested OR term.

Returnosid.acknowledgement.BillingQuery the billing query
ErrorsUNIMPLEMENTED supportsBillingQuery() is false
Complianceoptional This method must be implemented if supportsBillingQuery() is true.
MethodclearBillingTerms
Description

Clears all billing terms.

Compliancemandatory This method must be implemented.
MethodgetCreditQueryRecord
Description

Gets the credit query record corresponding to the given Credit record Type .Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypecreditRecordType a credit record type
Returnosid.acknowledgement.records.CreditQueryRecord the credit query record
ErrorsNULL_ARGUMENT creditRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(creditRecordType) is false
Compliancemandatory This method must be implemented.