OSID Logo
OSID Specifications
workflow rules package
Version 3.0.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.ProcessProcessorSearchthe process processor search
CompliancemandatoryThis 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.ProcessProcessorSearchOrderthe process processor search order
CompliancemandatoryThis method must be implemented.
MethodgetProcessProcessorsBySearch
Description

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

Parametersosid.workflow.rules.ProcessProcessorQueryprocessProcessorQuerythe process processor query
osid.workflow.rules.ProcessProcessorSearchprocessProcessorSearchthe process processor search
Returnosid.workflow.rules.ProcessProcessorSearchResultsthe returned search results
ErrorsNULL_ARGUMENTprocessProcessorQuery or processProcessorSearch is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTEDprocessProcessorQuery or processProcessorSearch is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetProcessProcessorQueryFromInspector
Description

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

Parametersosid.workflow.rules.ProcessProcessorQueryInspectorprocessProcessorQueryInspectora process processor query inspector
Returnosid.workflow.rules.ProcessProcessorQuerythe process processor query
ErrorsNULL_ARGUMENTprocessProcessorQueryInspector is null
UNSUPPORTEDprocessProcessorQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.