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

This session provides methods for searching among ProcessConstrainerEnablers. The search query is constructed using the ProcessConstrainerEnablerQuery.

getProcessConstrainerEnablersByQuery() is the basic search method and returns a list of ProcessConstrainerEnablers. A more advanced search may be performed with getProcessConstrainerEnablersBySearch().It accepts a ProcessConstrainerEnablerSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getProcessConstrainerEnablersBySearch() returns a ProcessConstrainerEnablerSearchResults that can be used to access the resulting ProcessConstrainerEnablerList or be used to perform a search within the result set through ProcessConstrainerEnablerSearch.

This session defines views that offer differing behaviors for searching.

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

Process constrainer enablers may have a query record indicated by their respective record types. The query record is accessed via the ProcessConstrainerEnablerQuery.

MethodgetProcessConstrainerEnablerSearch
Description

Gets a process constrainer enabler search.

Returnosid.workflow.rules.ProcessConstrainerEnablerSearch the process constrainer enabler search
Compliancemandatory This method must be implemented.
MethodgetProcessConstrainerEnablerSearchOrder
Description

Gets a process constrainer enabler search order. The ProcessConstrainerEnablerSearchOrder is supplied to a ProcessConstrainerEnablerSearch to specify the ordering of results.

Returnosid.workflow.rules.ProcessConstrainerEnablerSearchOrder the process constrainer enabler search order
Compliancemandatory This method must be implemented.
MethodgetProcessConstrainerEnablersBySearch
Description

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

Parametersosid.workflow.rules.ProcessEnablerQueryprocessConstrainerEnablerQuery the process constrainer enabler query
osid.workflow.rules.ProcessConstrainerEnablerSearchprocessConstrainerEnablerSearch the process constrainer enabler search
Returnosid.workflow.rules.ProcessConstrainerEnablerSearchResults the returned search results
ErrorsNULL_ARGUMENT processConstrainerEnablerQuery or processConstrainerEnablerSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED processConstrainerEnablerQuery or processConstrainerEnablerSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetProcessConstrainerEnablerQueryFromInspector
Description

Gets a process constrainer enabler query from an inspector. The inspector is available from a ProcessConstrainerEnablerSearchResults.

Parametersosid.workflow.rules.ProcessConstrainerEnablerQueryInspectorprocessConstrainerEnablerQueryInspector a process constrainer enabler query inspector
Returnosid.workflow.rules.ProcessConstrainerEnablerQuery the process constrainer enabler query
ErrorsNULL_ARGUMENT processConstrainerEnablerQueryInspector is null
UNSUPPORTED processConstrainerEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.