OSID Logo
OSID Specifications
subscription rules package
Version 3.1.0
Interfaceosid.subscription.rules.DispatchProcessorQuery
Implementsosid.OsidProcessorQuery
Used Byosid.subscription.rules.DispatchProcessorEnablerQuery
osid.subscription.rules.DispatchProcessorQuerySession
osid.subscription.rules.DispatchProcessorSearchSession
osid.subscription.rules.DispatchProcessorSmartPublisherSession
Description

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

MethodmatchRuledDispatchId
Description

Matches dispatch processors mapped to the dispatch.

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

Clears the dispatch Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledDispatchQuery
Description

Tests if a DispatchQuery is available.

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

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

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

Matches dispatch processors mapped to any dispatch.

Parametersbooleanmatch true for dispatch processors mapped to any dispatch, false to match dispatch processors mapped to no dispatch
Compliancemandatory This method must be implemented.
MethodclearRuledDispatchTerms
Description

Clears the dispatch query terms.

Compliancemandatory This method must be implemented.
MethodmatchPublisherId
Description

Sets the publisher Id for this query to match dispatches assigned to publishers.

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

Clears the publisher Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsPublisherQuery
Description

Tests if a PublisherQuery is available.

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

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

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

Clears the publisher query terms.

Compliancemandatory This method must be implemented.
MethodgetDispatchProcessorQueryRecord
Description

Gets the dispatch processor query record corresponding to the given DispatchProcessor record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypedispatchProcessorRecordType a dispatch processor record type
Returnosid.subscription.rules.records.DispatchProcessorQueryRecord the dispatch processor query record
ErrorsNULL_ARGUMENT dispatchProcessorRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(dispatchProcessorRecordType) is false
Compliancemandatory This method must be implemented.