OSID Logo
OSID Specifications
workflow rules package
Version 3.1.0
Interfaceosid.workflow.rules.ProcessProcessorSearchSession
Implementsosid.workflow.rules.ProcessProcessorQuerySession
Used Byosid.workflow.rules.WorkflowRulesManager
osid.workflow.rules.WorkflowRulesProxyManager
Description

This session provides methods for searching among ProcessProcessors. The search query is constructed using the ProcessProcessorQuery.

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

This session defines views that offer differing behaviors for searching.

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

Process processors may have a query record indicated by their respective record types. The query record is accessed via the ProcessProcessorQuery.

MethodgetProcessProcessorSearch
Description

Gets a process processor search.

Returnosid.workflow.rules.ProcessProcessorSearch the process processor search
Compliancemandatory This method must be implemented.
MethodgetProcessProcessorSearchOrder
Description

Gets a process processor search order. The ProcessProcessorSearchOrder is supplied to a ProcessProcessorSearch to specify the ordering of results.

Returnosid.workflow.rules.ProcessProcessorSearchOrder the process processor search order
Compliancemandatory This method must be implemented.
MethodgetProcessProcessorsBySearch
Description

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

Parametersosid.workflow.rules.ProcessProcessorQueryprocessProcessorQuery the process processor query
osid.workflow.rules.ProcessProcessorSearchprocessProcessorSearch the process processor search
Returnosid.workflow.rules.ProcessProcessorSearchResults the returned search results
ErrorsNULL_ARGUMENT processProcessorQuery or processProcessorSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED processProcessorQuery or processProcessorSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetProcessProcessorQueryFromInspector
Description

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

Parametersosid.workflow.rules.ProcessProcessorQueryInspectorprocessProcessorQueryInspector a process processor query inspector
Returnosid.workflow.rules.ProcessProcessorQuery the process processor query
ErrorsNULL_ARGUMENT processProcessorQueryInspector is null
UNSUPPORTED processProcessorQueryInspector is not of this service
Compliancemandatory This method must be implemented.