Interface | osid.acknowledgement.CreditQuery | ||
---|---|---|---|
Implements | osid.OsidRelationshipQuery | ||
Description |
This is the query for searching credits. Each method
specifies an | ||
Method | matchReferenceId | ||
Description |
Sets reference | ||
Parameters | osid.id.Id | referenceId | a reference Id |
boolean | match | true for a positive match, false for a
negative match | |
Errors | NULL_ARGUMENT | referenceId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | clearReferenceIdTerms | ||
Description |
Clears all reference | ||
Compliance | mandatory | This method must be implemented. | |
Method | matchResourceId | ||
Description |
Sets a resource | ||
Parameters | osid.id.Id | resourceId | a resource Id |
boolean | match | true for a positive match, false for a
negative match | |
Errors | NULL_ARGUMENT | resourceId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | clearResourceIdTerms | ||
Description |
Clears all resource | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsResourceQuery | ||
Description |
Tests if a | ||
Return | boolean | true if a resource query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getResourceQuery | ||
Description |
Gets the query for a resource query. Multiple
retrievals produce a nested | ||
Return | osid.resource.ResourceQuery | the resource query | |
Errors | UNIMPLEMENTED | supportsResourceQuery() is false | |
Compliance | optional | This method must be implemented if supportsResourceQuery()
is true. | |
Method | clearResourceTerms | ||
Description |
Clears all resource terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | matchBillingId | ||
Description |
Sets the billing | ||
Parameters | osid.id.Id | billingId | a billing Id |
boolean | match | true for a positive match, false for a
negative match | |
Errors | NULL_ARGUMENT | billingId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | clearBillingIdTerms | ||
Description |
Clears all billing | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsBillingQuery | ||
Description |
Tests if a | ||
Return | boolean | true if a billing query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getBillingQuery | ||
Description |
Gets the query for a billing query. Multiple retrievals
produce a nested | ||
Return | osid.acknowledgement.BillingQuery | the billing query | |
Errors | UNIMPLEMENTED | supportsBillingQuery() is false | |
Compliance | optional | This method must be implemented if supportsBillingQuery() is
true. | |
Method | clearBillingTerms | ||
Description |
Clears all billing terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCreditQueryRecord | ||
Description |
Gets the credit query record corresponding to the given
| ||
Parameters | osid.type.Type | creditRecordType | a credit record type |
Return | osid.acknowledgement.records.CreditQueryRecord | the credit query record | |
Errors | NULL_ARGUMENT | creditRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(creditRecordType) is false | ||
Compliance | mandatory | This method must be implemented. |