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

Clears the dispatch constrainer Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledDispatchConstrainerQuery
Description

Tests if a DispatchConstrainerQuery is available.

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

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

Returnosid.subscription.rules.DispatchConstrainerQuerythe dispatch query
ErrorsUNIMPLEMENTEDsupportsRuledDispatchConstrainerQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledDispatchConstrainerQuery() is true .
MethodmatchAnyRuledDispatchConstrainer
Description

Matches dispatch constrainer enablers mapped to any dispatch constrainer.

Parametersbooleanmatchtrue for dispatch constrainers enablers mapped to any dispatch constrainer, false to match dispatch constrainer enablers mapped to no dispatch constrainers
CompliancemandatoryThis method must be implemented.
MethodclearRuledDispatchConstrainerTerms
Description

Clears the dispatch constrainer 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.
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.TypedispatchConstrainerEnablerRecordTypea dispatch constrainer enabler record type
Returnosid.subscription.rules.records.DispatchConstrainerEnablerQueryRecordthe dispatch constrainer enabler query record
ErrorsNULL_ARGUMENTdispatchConstrainerEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(dispatchConstrainerEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.