OSID Logo
OSID Specifications
workflow rules package
Version 3.0.0
Interfaceosid.workflow.rules.ProcessProcessorEnablerSearchSession
Implementsosid.workflow.rules.ProcessProcessorEnablerQuerySession
Used Byosid.workflow.rules.WorkflowRulesManager
osid.workflow.rules.WorkflowRulesProxyManager
Description

This session provides methods for searching among ProcessProcessorEnablers . The search query is constructed using the ProcessProcessorEnablerQuery .

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

This session defines views that offer differing behaviors for searching.

  • federated office view: searches include process processor enablers in offices of which this office is an ancestor in the office hierarchy
  • isolated office view: searches are restricted to process processor enablers in this office

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

MethodgetProcessProcessorEnablerSearch
Description

Gets a process processor enabler search.

Returnosid.workflow.rules.ProcessProcessorEnablerSearchthe process processor enabler search
CompliancemandatoryThis method must be implemented.
MethodgetProcessProcessorEnablerSearchOrder
Description

Gets a process processor enabler search order. The ProcessProcessorEnablerSearchOrder is supplied to a ProcessProcessorEnablerSearch to specify the ordering of results.

Returnosid.workflow.rules.ProcessProcessorEnablerSearchOrderthe process processor enabler search order
CompliancemandatoryThis method must be implemented.
MethodgetProcessProcessorEnablersBySearch
Description

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

Parametersosid.workflow.rules.ProcessProcessorEnablerQueryprocessProcessorEnablerQuerythe process processor enabler query
osid.workflow.rules.ProcessProcessorEnablerSearchprocessProcessorEnablerSearchthe process processor enabler search
Returnosid.workflow.rules.ProcessProcessorEnablerSearchResultsthe returned search results
ErrorsNULL_ARGUMENTprocessProcessorEnablerQuery or processProcessorEnablerSearch is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTEDprocessProcessorEnablerQuery or processProcessorEnablerSearch is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetProcessProcessorEnablerQueryFromInspector
Description

Gets a process processor enabler query from an inspector. The inspector is available from a ProcessProcessorEnablerSearchResults .

Parametersosid.workflow.rules.ProcessProcessorEnablerQueryInspectorprocessProcessorEnablerQueryInspectora process processor enabler query inspector
Returnosid.workflow.rules.ProcessProcessorEnablerQuerythe process processor enabler query
ErrorsNULL_ARGUMENTprocessProcessorEnablerQueryInspector is null
UNSUPPORTEDprocessProcessorEnablerQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.