OSID Logo
OSID Specifications
subscription rules package
Version 3.1.0
Interfaceosid.subscription.rules.DispatchProcessorEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.subscription.rules.DispatchProcessorEnablerQuerySession
osid.subscription.rules.DispatchProcessorEnablerSearchSession
osid.subscription.rules.DispatchProcessorEnablerSmartPublisherSession
Description

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

MethodmatchRuledDispatchProcessorId
Description

Matches dispatch processor enablers mapped to the dispatch processor.

Parametersosid.id.IddispatchProcessorId the dispatch processor Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT dispatchProcessorId is null
Compliancemandatory This method must be implemented.
MethodclearRuledDispatchProcessorIdTerms
Description

Clears the dispatch processor Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledDispatchProcessorQuery
Description

Tests if a DispatchProcessorQuery is available.

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

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

Returnosid.subscription.rules.DispatchProcessorQuery the dispatch processor query
ErrorsUNIMPLEMENTED supportsRuledDispatchProcessorQuery() is false
Complianceoptional This method must be implemented if supportsRuledDispatchProcessorQuery() is true.
MethodmatchAnyRuledDispatchProcessor
Description

Matches dispatch processor enablers mapped to any dispatch processor.

Parametersbooleanmatch true for dispatch processor enablers mapped to any dispatch processor, false to match dispatch processor enablers mapped to no dispatch processor
Compliancemandatory This method must be implemented.
MethodclearRuledDispatchProcessorTerms
Description

Clears the dispatch processor enabler 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.
MethodgetDispatchProcessorEnablerQueryRecord
Description

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

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