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

This session provides methods for searching among StepEnablers. The search query is constructed using the StepEnablerQuery.

getStepEnablersByQuery() is the basic search method and returns a list of StepEnablers. A more advanced search may be performed with getStepEnablersBySearch().It accepts a StepEnablerSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getStepEnablersBySearch() returns a StepEnablerSearchResults that can be used to access the resulting StepEnablerList or be used to perform a search within the result set through Ste pEnablerSearch.

This session defines views that offer differing behaviors for searching.

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

Step enablers may have a query record indicated by their respective record types. The query record is accessed via the StepEnablerQuery.

MethodgetStepEnablerSearch
Description

Gets a step enabler search.

Returnosid.workflow.rules.StepEnablerSearch the step enabler search
Compliancemandatory This method must be implemented.
MethodgetStepEnablerSearchOrder
Description

Gets a step enabler search order. The StepEnablerSearchOrder is supplied to a StepEnablerSearch to specify the ordering of results.

Returnosid.workflow.rules.StepEnablerSearchOrder the step enabler search order
Compliancemandatory This method must be implemented.
MethodgetStepEnablersBySearch
Description

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

Parametersosid.workflow.rules.StepEnablerQuerystepEnablerQuery the step enabler query
osid.workflow.rules.StepEnablerSearchstepEnablerSearch the step enabler search
Returnosid.workflow.rules.StepEnablerSearchResults the returned search results
ErrorsNULL_ARGUMENT stepEnablerQuery or stepEnablerSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED stepEnablerQuery or stepEnablerSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetStepEnablerQueryFromInspector
Description

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

Parametersosid.workflow.rules.StepEnablerQueryInspectorstepEnablerQueryInspector a step enabler query inspector
Returnosid.workflow.rules.StepEnablerQuery the step enabler query
ErrorsNULL_ARGUMENT stepEnablerQueryInspector is null
UNSUPPORTED stepEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.