OSID Logo
OSID Specifications
subscription rules package
Version 3.1.0
Interfaceosid.subscription.rules.DispatchConstrainerEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.subscription.rules.DispatchConstrainerEnablerQuerySession
osid.subscription.rules.DispatchConstrainerEnablerSearchSession
osid.subscription.rules.DispatchConstrainerEnablerSmartPublisherSession
Description

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

MethodmatchRuledDispatchConstrainerId
Description

Matches dispatch constrainers enabelrs mapped to the dispatch constrainer.

Parametersosid.id.IddispatchConstrainerId the dispatch constrainer Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT dispatchConstrainerId is null
Compliancemandatory This method must be implemented.
MethodclearRuledDispatchConstrainerIdTerms
Description

Clears the dispatch constrainer Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledDispatchConstrainerQuery
Description

Tests if a DispatchConstrainerQuery is available.

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

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

Returnosid.subscription.rules.DispatchConstrainerQuery the dispatch query
ErrorsUNIMPLEMENTED supportsRuledDispatchConstrainerQuery() is false
Complianceoptional This method must be implemented if supportsRuledDispatchConstrainerQuery() is true.
MethodmatchAnyRuledDispatchConstrainer
Description

Matches dispatch constrainer enablers mapped to any dispatch constrainer.

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

Clears the dispatch constrainer 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.
MethodgetDispatchConstrainerEnablerQueryRecord
Description

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

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