OSID Logo
OSID Specifications
subscription rules package
Version 3.0.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.IddispatchProcessorIdthe dispatch processor Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTdispatchProcessorId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledDispatchProcessorIdTerms
Description

Clears the dispatch processor Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledDispatchProcessorQuery
Description

Tests if a DispatchProcessorQuery is available.

Returnbooleantrue if a dispatch processor query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRuledDispatchProcessorQuery
Description

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

Returnosid.subscription.rules.DispatchProcessorQuerythe dispatch processor query
ErrorsUNIMPLEMENTEDsupportsRuledDispatchProcessorQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledDispatchProcessorQuery() is true .
MethodmatchAnyRuledDispatchProcessor
Description

Matches dispatch processor enablers mapped to any dispatch processor.

Parametersbooleanmatchtrue for dispatch processor enablers mapped to any dispatch processor, false to match dispatch processor enablers mapped to no dispatch processor
CompliancemandatoryThis method must be implemented.
MethodclearRuledDispatchProcessorTerms
Description

Clears the dispatch processor enabler query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchPublisherId
Description

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

Parametersosid.id.IdpublisherIdthe publisher Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTpublisherId is null
CompliancemandatoryThis method must be implemented.
MethodclearPublisherIdTerms
Description

Clears the publisher Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsPublisherQuery
Description

Tests if a PublisherQuery is available.

Returnbooleantrue if a publisher query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetPublisherQuery
Description

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

Returnosid.subscription.PublisherQuerythe publisher query
ErrorsUNIMPLEMENTEDsupportsPublisherQuery() is false
ComplianceoptionalThis method must be implemented if supportsPublisherQuery() is true .
MethodclearPublisherTerms
Description

Clears the publisher query terms.

CompliancemandatoryThis 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.TypedispatchProcessorEnablerRecordTypea dispatch processor enabler record type
Returnosid.subscription.rules.records.DispatchProcessorEnablerQueryRecordthe dispatch processor enabler query record
ErrorsNULL_ARGUMENTdispatchProcessorEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(dispatchProcessorEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.