OSID Logo
OSID Specifications
workflow rules package
Version 3.1.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.ProcessProcessorEnablerSearch the process processor enabler search
Compliancemandatory This 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.ProcessProcessorEnablerSearchOrder the process processor enabler search order
Compliancemandatory This method must be implemented.
MethodgetProcessProcessorEnablersBySearch
Description

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

Parametersosid.workflow.rules.ProcessProcessorEnablerQueryprocessProcessorEnablerQuery the process processor enabler query
osid.workflow.rules.ProcessProcessorEnablerSearchprocessProcessorEnablerSearch the process processor enabler search
Returnosid.workflow.rules.ProcessProcessorEnablerSearchResults the returned search results
ErrorsNULL_ARGUMENT processProcessorEnablerQuery or processProcessorEnablerSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED processProcessorEnablerQuery or processProcessorEnablerSearch is not of this service
Compliancemandatory This 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.ProcessProcessorEnablerQueryInspectorprocessProcessorEnablerQueryInspector a process processor enabler query inspector
Returnosid.workflow.rules.ProcessProcessorEnablerQuery the process processor enabler query
ErrorsNULL_ARGUMENT processProcessorEnablerQueryInspector is null
UNSUPPORTED processProcessorEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.