OSID Logo
OSID Specifications
subscription rules package
Version 3.1.0
Interfaceosid.subscription.rules.SubscriptionEnablerQueryInspector
Implementsosid.OsidEnablerQueryInspector
Used Byosid.subscription.rules.SubscriptionEnablerSearchResults
osid.subscription.rules.SubscriptionEnablerSmartPublisherSession
Description

This is the query inspector for examining subscription enabler queries.

Like all OsidQueryInspectors, SubscriptionEnablerQueryInspector is stateful and must not be accessed by multiple processing threads.

MethodgetRuledSubscriptionIdTerms
Description

Gets the subscription Id query terms.

Returnosid.search.terms.IdTerm[] the query terms
Compliancemandatory This method must be implemented.
MethodgetRuledSubscriptionTerms
Description

Gets the subscription query terms.

Returnosid.subscription.SubscriptionQueryInspector[] the query terms
Compliancemandatory This method must be implemented.
MethodgetPublisherIdTerms
Description

Gets the publisher Id query terms.

Returnosid.search.terms.IdTerm[] the query terms
Compliancemandatory This method must be implemented.
MethodgetPublisherTerms
Description

Gets the publisher query terms.

Returnosid.subscription.PublisherQueryInspector[] the query terms
Compliancemandatory This method must be implemented.
MethodgetSubscriptionEnablerQueryInspectorRecord
Description

Gets the subscription enabler query inspector record corresponding to the given SubscriptionEnabler record Type.

Parametersosid.type.TypesubscriptionEnablerRecordType a subscription enabler record type
Returnosid.subscription.rules.records.SubscriptionEnablerQueryInspectorRecord the subscription enabler query inspector record
ErrorsNULL_ARGUMENT subscriptionEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(subscriptionEnablerRecordType) is false
Compliancemandatory This method must be implemented.