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

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

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

This session defines views that offer differing behaviors for searching.

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

Gets a step processor enabler search.

Returnosid.workflow.rules.StepProcessorEnablerSearch the step processor enabler search
Compliancemandatory This method must be implemented.
MethodgetStepProcessorEnablerSearchOrder
Description

Gets a step processor enabler search order. The StepProcessorEnablerSearchOrder is supplied to a StepProcessorEnablerSearch to specify the ordering of results.

Returnosid.workflow.rules.StepProcessorEnablerSearchOrder the step processor enabler search order
Compliancemandatory This method must be implemented.
MethodgetStepProcessorEnablersBySearch
Description

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

Parametersosid.workflow.rules.StepProcessorEnablerQuerystepProcessorEnablerQuery the step processor enabler query
osid.workflow.rules.StepProcessorEnablerSearchstepProcessorEnablerSearch the step processor enabler search
Returnosid.workflow.rules.StepProcessorEnablerSearchResults the returned search results
ErrorsNULL_ARGUMENT stepProcessorEnablerQuery or stepProcessorEnablerSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED stepProcessorEnablerQuery or stepProcessorEnablerSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetStepProcessorEnablerQueryFromInspector
Description

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

Parametersosid.workflow.rules.StepProcessorEnablerQueryInspectorstepProcessorEnablerQueryInspector a step processor enabler query inspector
Returnosid.workflow.rules.StepProcessorEnablerQuery the step processor enabler query
ErrorsNULL_ARGUMENT stepProcessorEnablerQueryInspector is null
UNSUPPORTED stepProcessorEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.