OSID Logo
OSID Specifications
subscription rules package
Version 3.0.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.DispatchProcessorEnablerSearchthe dispatch processor enabler search
CompliancemandatoryThis 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.DispatchProcessorEnablerSearchOrderthe dispatch processor enabler search order
CompliancemandatoryThis method must be implemented.
MethodgetDispatchProcessorEnablersBySearch
Description

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

Parametersosid.subscription.rules.DispatchProcessorEnablerQuerydispatchProcessorEnablerQuerythe dispatch processor enabler query
osid.subscription.rules.DispatchProcessorEnablerSearchdispatchProcessorEnablerSearchthe dispatch processor enabler search
Returnosid.subscription.rules.DispatchProcessorEnablerSearchResultsthe returned search results
ErrorsNULL_ARGUMENTdispatchProcessorEnablerQuery or dispatchProcessorEnablerSearch is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTEDdispatchProcessorEnablerQuery or dispatchProcessorEnablerSearch is not of this service
CompliancemandatoryThis 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.DispatchProcessorEnablerQueryInspectordispatchProcessorEnablerQueryInspectora dispatch processor enabler query inspector
Returnosid.subscription.rules.DispatchProcessorEnablerQuerythe dispatch processor enabler query
ErrorsNULL_ARGUMENTdispatchProcessorEnablerQueryInspector is null
UNSUPPORTEDdispatchProcessorEnablerQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.