Interface | osid.subscription.PublisherQuery | ||
---|---|---|---|
Implements | osid.OsidCatalogQuery | ||
Description |
This is the query for searching for publishers. Each method
specifies an | ||
Method | matchSubscriptionId | ||
Description |
Sets the subscription | ||
Parameters | osid.id.Id | subscriptionId | a subscription Id |
boolean | match | true for a positive match, false for a
negative match | |
Errors | NULL_ARGUMENT | subscriptionId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | clearSubscriptionIdTerms | ||
Description |
Clears the subscription | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsSubscriptionQuery | ||
Description |
Tests if a subscription query is available. | ||
Return | boolean | true if a subscription query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getSubscriptionQuery | ||
Description |
Gets the query for a publisher. | ||
Return | osid.subscription.SubscriptionQuery | the subscription query | |
Errors | UNIMPLEMENTED | supportsSubscriptionQuery() is false | |
Compliance | optional | This method must be implemented if supportsSubscriptionQuery()
is true. | |
Method | matchAnySubscription | ||
Description |
Matches publishers with any subscription. | ||
Parameters | boolean | match | true to match publishers with any subscription, false
to match publishers with no subscriptions |
Compliance | mandatory | This method must be implemented. | |
Method | clearSubscriptionTerms | ||
Description |
Clears the subscription terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | matchDispatchId | ||
Description |
Sets the dispatch | ||
Parameters | osid.id.Id | dispatchId | a 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 | clearDispatchIdTerms | ||
Description |
Clears the dispatch | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsDispatchQuery | ||
Description |
Tests if a | ||
Return | boolean | true if a dispatch query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getDispatchQuery | ||
Description |
Gets the query for a dispatch query. Multiple
retrievals produce a nested | ||
Return | osid.subscription.DispatchQuery | the dispatch query | |
Errors | UNIMPLEMENTED | supportsDispatchQuery() is false | |
Compliance | optional | This method must be implemented if supportsDispatchQuery()
is true. | |
Method | matchAnyDispatch | ||
Description |
Matches publishers with any dispatch. | ||
Parameters | boolean | match | true to match publishers with any dispatch, false
to match publishers with no dispatches |
Compliance | mandatory | This method must be implemented. | |
Method | clearDispatchTerms | ||
Description |
Clears the dispatch terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | matchAncestorPublisherId | ||
Description |
Sets the publisher | ||
Parameters | osid.id.Id | publisherId | a 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 | clearAncestorPublisherIdTerms | ||
Description |
Clears the ancestor publisher | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsAncestorPublisherQuery | ||
Description |
Tests if a | ||
Return | boolean | true if a publisher query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getAncestorPublisherQuery | ||
Description |
Gets the query for a publisher. Multiple retrievals
produce a nested | ||
Return | osid.subscription.PublisherQuery | the publisher query | |
Errors | UNIMPLEMENTED | supportsAncestorPublisherQuery() is false | |
Compliance | optional | This method must be implemented if supportsAncestorPublisherQuery()
is true. | |
Method | matchAnyAncestorPublisher | ||
Description |
Matches publishers with any ancestor. | ||
Parameters | boolean | match | true to match publishers with any ancestor, false
to match root publishers |
Compliance | mandatory | This method must be implemented. | |
Method | clearAncestorPublisherTerms | ||
Description |
Clears the ancestor publisher terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | matchDescendantPublisherId | ||
Description |
Sets the publisher | ||
Parameters | osid.id.Id | publisherId | a 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 | clearDescendantPublisherIdTerms | ||
Description |
Clears the descendant publisher | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsDescendantPublisherQuery | ||
Description |
Tests if a | ||
Return | boolean | true if a publisher query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getDescendantPublisherQuery | ||
Description |
Gets the query for a publisher. Multiple retrievals
produce a nested | ||
Return | osid.subscription.PublisherQuery | the publisher query | |
Errors | UNIMPLEMENTED | supportsDescendantPublisherQuery() is false | |
Compliance | optional | This method must be implemented if
supportsDescendantPublisherQuery() is true. | |
Method | matchAnyDescendantPublisher | ||
Description |
Matches publishers with any descendant. | ||
Parameters | boolean | match | true to match publishers with any descendant, false
to match leaf publishers |
Compliance | mandatory | This method must be implemented. | |
Method | clearDescendantPublisherTerms | ||
Description |
Clears the descendant publisher terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPublisherQueryRecord | ||
Description |
Gets the publisher query record corresponding to the
given | ||
Parameters | osid.type.Type | publisherRecordType | a publisher record type |
Return | osid.subscription.records.PublisherQueryRecord | the publisher query record | |
Errors | NULL_ARGUMENT | publisherRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(publisherRecordType) is false | ||
Compliance | mandatory | This method must be implemented. |