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

This session provides methods for searching among StepProcessor objects. The search query is constructed using the StepProcessoryQuery.

getStepProcessorsByQuery() is the basic search method and returns a list of StepProcessors. A more advanced search may be performed with getStepProcessorsBySearch().It accepts a StepProcessorSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as workflow. getStepProcessorsBySearch() returns a StepProcessorSearchResults that can be used to access the resulting StepProcessorList or be used to perform a search within the result set through StepProcessorSearch.

This session defines views that offer differing behaviors for searching.

  • federated office view: searches include step processor in office of which this office is an ancestor in the office hierarchy
  • isolated office view: searches are restricted to step processor in this office
StepProcessors may have a query record indicated by their respective record types. Thequery record is accessed via the StepProcessorQuery.
MethodgetStepProcessorSearch
Description

Gets a step processor search.

Returnosid.workflow.rules.StepProcessorSearch the step processor search
Compliancemandatory This method must be implemented.
MethodgetStepProcessorSearchOrder
Description

Gets a step processor search order. The StepProcessorSearchOrder is supplied to a StepProcessorSearch to specify the ordering of results.

Returnosid.workflow.rules.StepProcessorSearchOrder the step processor search order
Compliancemandatory This method must be implemented.
MethodgetStepProcessorsBySearch
Description

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

Parametersosid.workflow.rules.StepProcessorQuerystepProcessorQuery the step processor query
osid.workflow.rules.StepProcessorSearchstepProcessorSearch the step processor search
Returnosid.workflow.rules.StepProcessorSearchResults the returned search results
ErrorsNULL_ARGUMENT stepProcessorQuery or stepProcessorSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED stepProcessorQuery or stepProcessorSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetStepProcessorQueryFromInspector
Description

Gets a step processor query from an inspector. The inspector is available from a StepProcessorSearchResults.

Parametersosid.workflow.rules.StepProcessorQueryInspectorstepProcessorQueryInspector a step processor query inspector
Returnosid.workflow.rules.StepProcessorQuery the step processor query
ErrorsNULL_ARGUMENT stepProcessorQueryInspector is null
UNSUPPORTED stepProcessorQueryInspector is not of this service
Compliancemandatory This method must be implemented.