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

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

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

This session defines views that offer differing behaviors for searching.

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

Gets a step constrainer enabler search.

Returnosid.workflow.rules.StepConstrainerEnablerSearch the step constrainer enabler search
Compliancemandatory This method must be implemented.
MethodgetStepConstrainerEnablerSearchOrder
Description

Gets a step constrainer enabler search order. The StepConstrainerEnablerSearchOrder is supplied to a StepConstrainerEnablerSearch to specify the ordering of results.

Returnosid.workflow.rules.StepConstrainerEnablerSearchOrder the step constrainer enabler search order
Compliancemandatory This method must be implemented.
MethodgetStepConstrainerEnablersBySearch
Description

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

Parametersosid.workflow.rules.StepConstrainerEnablerQuerystepConstrainerEnablerQuery the step constrainer enabler query
osid.workflow.rules.StepConstrainerEnablerSearchstepConstrainerEnablerSearch the step constrainer enabler search
Returnosid.workflow.rules.StepConstrainerEnablerSearchResults the returned search results
ErrorsNULL_ARGUMENT stepConstrainerEnablerQuery or stepConstrainerEnablerSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED stepConstrainerEnablerQuery or stepConstrainerEnablerSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetStepConstrainerEnablerQueryFromInspector
Description

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

Parametersosid.workflow.rules.StepConstrainerEnablerQueryInspectorstepConstrainerEnablerQueryInspector a step constrainer enabler query inspector
Returnosid.workflow.rules.StepConstrainerEnablerQuery the step constrainer enabler query
ErrorsNULL_ARGUMENT stepConstrainerEnablerQueryInspector is null
UNSUPPORTED stepConstrainerEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.