| Interface | osid.subscription.rules.DispatchConstrainerEnablerQuery | ||
|---|---|---|---|
| Implements | osid.OsidEnablerQuery | ||
| Used By | osid.subscription.rules.DispatchConstrainerEnablerQuerySession | ||
osid.subscription.rules.DispatchConstrainerEnablerSearchSession | |||
osid.subscription.rules.DispatchConstrainerEnablerSmartPublisherSession | |||
| Description |
This is the query for searching dispatch constrainer
enablers. Each method match specifies an | ||
| Method | matchRuledDispatchConstrainerId | ||
| Description |
Matches dispatch constrainers enabelrs mapped to the dispatch constrainer. | ||
| Parameters | osid.id.Id | dispatchConstrainerId | the dispatch constrainer Id |
boolean | match | true for a positive match, false for a negative
match | |
| Errors | NULL_ARGUMENT | dispatchConstrainerId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearRuledDispatchConstrainerIdTerms | ||
| Description |
Clears the dispatch constrainer | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsRuledDispatchConstrainerQuery | ||
| Description |
Tests if a | ||
| Return | boolean | true if a dispatch constrainer query is available,
false otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRuledDispatchConstrainerQuery | ||
| Description |
Gets the query for a dispatch constrainer. Multiple
retrievals produce a nested | ||
| Return | osid.subscription.rules.DispatchConstrainerQuery | the dispatch query | |
| Errors | UNIMPLEMENTED | supportsRuledDispatchConstrainerQuery() is false | |
| Compliance | optional | This method must be implemented if
supportsRuledDispatchConstrainerQuery() is true . | |
| Method | matchAnyRuledDispatchConstrainer | ||
| Description |
Matches dispatch constrainer enablers mapped to any dispatch constrainer. | ||
| Parameters | boolean | match | true for dispatch constrainers enablers mapped to any dispatch
constrainer, false to match dispatch constrainer enablers mapped
to no dispatch constrainers |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearRuledDispatchConstrainerTerms | ||
| Description |
Clears the dispatch constrainer query terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchPublisherId | ||
| Description |
Sets the publisher | ||
| Parameters | osid.id.Id | publisherId | the publisher Id |
boolean | match | true for a positive match, false for a negative
match | |
| Errors | NULL_ARGUMENT | publisherId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearPublisherIdTerms | ||
| Description |
Clears the publisher | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsPublisherQuery | ||
| Description |
Tests if a | ||
| Return | boolean | true if a publisher query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPublisherQuery | ||
| Description |
Gets the query for a publisher. Multiple retrievals
produce a nested | ||
| Return | osid.subscription.PublisherQuery | the publisher query | |
| Errors | UNIMPLEMENTED | supportsPublisherQuery() is false | |
| Compliance | optional | This method must be implemented if supportsPublisherQuery() is
true . | |
| Method | clearPublisherTerms | ||
| Description |
Clears the publisher query terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDispatchConstrainerEnablerQueryRecord | ||
| Description |
Gets the dispatch constrainer enabler query record
corresponding to the given
| ||
| Parameters | osid.type.Type | dispatchConstrainerEnablerRecordType | a dispatch constrainer enabler record type |
| Return | osid.subscription.rules.records.DispatchConstrainerEnablerQueryRecord | the dispatch constrainer enabler query record | |
| Errors | NULL_ARGUMENT | dispatchConstrainerEnablerRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(dispatchConstrainerEnablerRecordType) is
false | ||
| Compliance | mandatory | This method must be implemented. | |