| Interface | osid.subscription.rules.DispatchConstrainerQuery | ||
|---|---|---|---|
| Implements | osid.OsidConstrainerQuery | ||
| Used By | osid.subscription.rules.DispatchConstrainerEnablerQuery | ||
osid.subscription.rules.DispatchConstrainerQuerySession | |||
osid.subscription.rules.DispatchConstrainerSearchSession | |||
osid.subscription.rules.DispatchConstrainerSmartPublisherSession | |||
| Description |
This is the query for searching dispatch constrainers. 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 constrainers mapped to any dispatch. | ||
| Parameters | boolean | match | true for dispatch constraienrs mapped to any dispatch,
false to match dispatch constrainers 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 | getDispatchConstrainerQueryRecord | ||
| Description |
Gets the dispatch constrainer query record
corresponding to the given
| ||
| Parameters | osid.type.Type | dispatchConstrainerRecordType | a dispatch constrainer record type |
| Return | osid.subscription.rules.records.DispatchConstrainerQueryRecord | the dispatch constrainer query record | |
| Errors | NULL_ARGUMENT | dispatchConstrainerRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(dispatchConstrainerRecordType) is
false | ||
| Compliance | mandatory | This method must be implemented. | |