| Interface | osid.subscription.rules.DispatchEnablerQuery | ||
|---|---|---|---|
| Implements | osid.OsidEnablerQuery | ||
| Used By | osid.subscription.rules.DispatchEnablerQuerySession | ||
osid.subscription.rules.DispatchEnablerSearchSession | |||
osid.subscription.rules.DispatchEnablerSmartPublisherSession | |||
| Description |
This is the query for searching dispatch enablers. Each
method match specifies an | ||
| Method | matchRuledDispatchId | ||
| Description |
Matches enablers mapped to the dispatch. | ||
| Parameters | osid.id.Id | dispatchId | the dispatch Id |
boolean | match | true for a positive match, false for a negative
match | |
| Errors | NULL_ARGUMENT | dispatchId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearRuledDispatchIdTerms | ||
| Description |
Clears the dispatch | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsRuledDispatchQuery | ||
| Description |
Tests if a | ||
| Return | boolean | true if a dispatch query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRuledDispatchQuery | ||
| Description |
Gets the query for a dispatch. Multiple retrievals
produce a nested | ||
| Return | osid.subscription.DispatchQuery | the dispatch query | |
| Errors | UNIMPLEMENTED | supportsRuledDispatchQuery() is false | |
| Compliance | optional | This method must be implemented if
supportsRuledDispatchQuery() is true . | |
| Method | matchAnyRuledDispatch | ||
| Description |
Matches dispatch enablers mapped to any dispatch. | ||
| Parameters | boolean | match | true for dispatch enabelrs mapped to any dispatch,
false to match dispatch enablers mapped to no dispatch |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearRuledDispatchTerms | ||
| Description |
Clears the dispatch enabler 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 | getDispatchEnablerQueryRecord | ||
| Description |
Gets the dispatch enabler query record corresponding to
the given | ||
| Parameters | osid.type.Type | dispatchEnablerRecordType | a dispatch enabler record type |
| Return | osid.subscription.rules.records.DispatchEnablerQueryRecord | the dispatch enabler query record | |
| Errors | NULL_ARGUMENT | dispatchEnablerRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(dispatchEnablerRecordType) is false | ||
| Compliance | mandatory | This method must be implemented. | |