OSID Logo
OSID Specifications
workflow rules package
Version 3.0.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.StepEnablerSearchthe step enabler search
CompliancemandatoryThis 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.StepEnablerSearchOrderthe step enabler search order
CompliancemandatoryThis method must be implemented.
MethodgetStepEnablersBySearch
Description

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

Parametersosid.workflow.rules.StepEnablerQuerystepEnablerQuerythe step enabler query
osid.workflow.rules.StepEnablerSearchstepEnablerSearchthe step enabler search
Returnosid.workflow.rules.StepEnablerSearchResultsthe returned search results
ErrorsNULL_ARGUMENTstepEnablerQuery or stepEnablerSearch is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTEDstepEnablerQuery or stepEnablerSearch is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetStepEnablerQueryFromInspector
Description

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

Parametersosid.workflow.rules.StepEnablerQueryInspectorstepEnablerQueryInspectora step enabler query inspector
Returnosid.workflow.rules.StepEnablerQuerythe step enabler query
ErrorsNULL_ARGUMENTstepEnablerQueryInspector is null
UNSUPPORTEDstepEnablerQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.