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

Clears the dispatch Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledDispatchQuery
Description

Tests if a DispatchQuery is available.

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

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

Returnosid.subscription.DispatchQuerythe dispatch query
ErrorsUNIMPLEMENTEDsupportsRuledDispatchQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledDispatchQuery() is true .
MethodmatchAnyRuledDispatch
Description

Matches dispatch processors mapped to any dispatch.

Parametersbooleanmatchtrue for dispatch processors mapped to any dispatch, false to match dispatch processors mapped to no dispatch
CompliancemandatoryThis method must be implemented.
MethodclearRuledDispatchTerms
Description

Clears the dispatch 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.
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.TypedispatchProcessorRecordTypea dispatch processor record type
Returnosid.subscription.rules.records.DispatchProcessorQueryRecordthe dispatch processor query record
ErrorsNULL_ARGUMENTdispatchProcessorRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(dispatchProcessorRecordType) is false
CompliancemandatoryThis method must be implemented.