OSID Logo
OSID Specifications
subscription package
Version 3.1.0
Interfaceosid.subscription.PublisherQuery
Implementsosid.OsidCatalogQuery
Used Byosid.subscription.DispatchQuery
osid.subscription.PublisherQuery
osid.subscription.PublisherQuerySession
osid.subscription.PublisherSearchSession
osid.subscription.SubscriptionQuery
osid.subscription.rules.DispatchConstrainerEnablerQuery
osid.subscription.rules.DispatchConstrainerQuery
osid.subscription.rules.DispatchEnablerQuery
osid.subscription.rules.DispatchProcessorEnablerQuery
osid.subscription.rules.DispatchProcessorQuery
show 1 more…
osid.subscription.rules.SubscriptionEnablerQuery
Description

This is the query for searching for publishers. Each method specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchSubscriptionId
Description

Sets the subscription Id for this query to match subscriptions assigned to publishers.

Parametersosid.id.IdsubscriptionId a subscription Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT subscriptionId is null
Compliancemandatory This method must be implemented.
MethodclearSubscriptionIdTerms
Description

Clears the subscription Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsSubscriptionQuery
Description

Tests if a subscription query is available.

Returnboolean true if a subscription query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetSubscriptionQuery
Description

Gets the query for a publisher.

Returnosid.subscription.SubscriptionQuery the subscription query
ErrorsUNIMPLEMENTED supportsSubscriptionQuery() is false
Complianceoptional This method must be implemented if supportsSubscriptionQuery() is true.
MethodmatchAnySubscription
Description

Matches publishers with any subscription.

Parametersbooleanmatch true to match publishers with any subscription, false to match publishers with no subscriptions
Compliancemandatory This method must be implemented.
MethodclearSubscriptionTerms
Description

Clears the subscription terms.

Compliancemandatory This method must be implemented.
MethodmatchDispatchId
Description

Sets the dispatch Id for this query to match subscriptions assigned to dispatches.

Parametersosid.id.IddispatchId a dispatch Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT dispatchId is null
Compliancemandatory This method must be implemented.
MethodclearDispatchIdTerms
Description

Clears the dispatch Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsDispatchQuery
Description

Tests if a DispatchQuery is available.

Returnboolean true if a dispatch query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetDispatchQuery
Description

Gets the query for a dispatch query. Multiple retrievals produce a nested OR term.

Returnosid.subscription.DispatchQuery the dispatch query
ErrorsUNIMPLEMENTED supportsDispatchQuery() is false
Complianceoptional This method must be implemented if supportsDispatchQuery() is true.
MethodmatchAnyDispatch
Description

Matches publishers with any dispatch.

Parametersbooleanmatch true to match publishers with any dispatch, false to match publishers with no dispatches
Compliancemandatory This method must be implemented.
MethodclearDispatchTerms
Description

Clears the dispatch terms.

Compliancemandatory This method must be implemented.
MethodmatchAncestorPublisherId
Description

Sets the publisher Id for this query to match publishers that have the specified publisher as an ancestor.

Parametersosid.id.IdpublisherId a publisher Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT publisherId is null
Compliancemandatory This method must be implemented.
MethodclearAncestorPublisherIdTerms
Description

Clears the ancestor publisher Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAncestorPublisherQuery
Description

Tests if a PublisherQuery is available.

Returnboolean true if a publisher query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAncestorPublisherQuery
Description

Gets the query for a publisher. Multiple retrievals produce a nested OR term.

Returnosid.subscription.PublisherQuery the publisher query
ErrorsUNIMPLEMENTED supportsAncestorPublisherQuery() is false
Complianceoptional This method must be implemented if supportsAncestorPublisherQuery() is true.
MethodmatchAnyAncestorPublisher
Description

Matches publishers with any ancestor.

Parametersbooleanmatch true to match publishers with any ancestor, false to match root publishers
Compliancemandatory This method must be implemented.
MethodclearAncestorPublisherTerms
Description

Clears the ancestor publisher terms.

Compliancemandatory This method must be implemented.
MethodmatchDescendantPublisherId
Description

Sets the publisher Id for this query to match publishers that have the specified publisher as a descendant.

Parametersosid.id.IdpublisherId a publisher Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT publisherId is null
Compliancemandatory This method must be implemented.
MethodclearDescendantPublisherIdTerms
Description

Clears the descendant publisher Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsDescendantPublisherQuery
Description

Tests if a PublisherQuery is available.

Returnboolean true if a publisher query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetDescendantPublisherQuery
Description

Gets the query for a publisher. Multiple retrievals produce a nested OR term.

Returnosid.subscription.PublisherQuery the publisher query
ErrorsUNIMPLEMENTED supportsDescendantPublisherQuery() is false
Complianceoptional This method must be implemented if supportsDescendantPublisherQuery() is true.
MethodmatchAnyDescendantPublisher
Description

Matches publishers with any descendant.

Parametersbooleanmatch true to match publishers with any descendant, false to match leaf publishers
Compliancemandatory This method must be implemented.
MethodclearDescendantPublisherTerms
Description

Clears the descendant publisher terms.

Compliancemandatory This method must be implemented.
MethodgetPublisherQueryRecord
Description

Gets the publisher query record corresponding to the given Publisher record Type. Multiple record retrievals produce a nested boolean OR term.

Parametersosid.type.TypepublisherRecordType a publisher record type
Returnosid.subscription.records.PublisherQueryRecord the publisher query record
ErrorsNULL_ARGUMENT publisherRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(publisherRecordType) is false
Compliancemandatory This method must be implemented.