OSID Logo
OSID Specifications
subscription rules package
Version 3.1.0
Interfaceosid.subscription.rules.DispatchProcessorEnablerSearchSession
Implementsosid.subscription.rules.DispatchProcessorEnablerQuerySession
Used Byosid.subscription.rules.SubscriptionRulesManager
osid.subscription.rules.SubscriptionRulesProxyManager
Description

This session provides methods for searching among DispatchProcessorEnablers. The search query is constructed using the DispatchProcessorEnablerQuery.

getDispatchProcessorEnablersByQuery() is the basic search method and returns a list of DispatchProcessorEnablers. A more advanced search may be performed with getDispatchProcessorEnablersBySearch().It accepts a DispatchProcessorEnablerSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getDispatchProcessorEnablersBySearch() returns a DispatchProcessorEnablerSearchResults that can be used to access the resulting DispatchProcessorEnablerList or be used to perform a search within the result set through DispatchProcessorEnablerSearch.

This session defines views that offer differing behaviors for searching.

  • federated publisher view: searches include dispatch processor enablers in publishers of which this publisher is an ancestor in the publisher hierarchy
  • isolated publisher view: searches are restricted to dispatch processor enablers in this publisher

Dispatch processor enablers may have a query record indicated by their respective record types. The query record is accessed via the DispatchProcessorEnablerQuery .

MethodgetDispatchProcessorEnablerSearch
Description

Gets a dispatch processor enabler search.

Returnosid.subscription.rules.DispatchProcessorEnablerSearch the dispatch processor enabler search
Compliancemandatory This method must be implemented.
MethodgetDispatchProcessorEnablerSearchOrder
Description

Gets a dispatch processor enabler search order. The DispatchProcessorEnablerSearchOrder is supplied to a DispatchProcessorEnablerSearch to specify the ordering of results.

Returnosid.subscription.rules.DispatchProcessorEnablerSearchOrder the dispatch processor enabler search order
Compliancemandatory This method must be implemented.
MethodgetDispatchProcessorEnablersBySearch
Description

Gets the search results matching the given search query using the given search.

Parametersosid.subscription.rules.DispatchProcessorEnablerQuerydispatchProcessorEnablerQuery the dispatch processor enabler query
osid.subscription.rules.DispatchProcessorEnablerSearchdispatchProcessorEnablerSearch the dispatch processor enabler search
Returnosid.subscription.rules.DispatchProcessorEnablerSearchResults the returned search results
ErrorsNULL_ARGUMENT dispatchProcessorEnablerQuery or dispatchProcessorEnablerSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED dispatchProcessorEnablerQuery or dispatchProcessorEnablerSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetDispatchProcessorEnablerQueryFromInspector
Description

Gets a dispatch processor enabler query from an inspector. The inspector is available from a DispatchProcessorEnablerSearchResults.

Parametersosid.subscription.rules.DispatchProcessorEnablerQueryInspectordispatchProcessorEnablerQueryInspector a dispatch processor enabler query inspector
Returnosid.subscription.rules.DispatchProcessorEnablerQuery the dispatch processor enabler query
ErrorsNULL_ARGUMENT dispatchProcessorEnablerQueryInspector is null
UNSUPPORTED dispatchProcessorEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.