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

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

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

This session defines views that offer differing behaviors for searching.

  • federated office view: searches include process enabler in office of which this office is an ancestor in the office hierarchy
  • isolated office view: searches are restricted to process enabler in this office
ProcessEnablers may have a query record indicated by their respective record types. The query record is accessed via the ProcessEnablerQuery.
MethodgetProcessEnablerSearch
Description

Gets a process enabler search.

Returnosid.workflow.rules.ProcessEnablerSearch the process enabler search
Compliancemandatory This method must be implemented.
MethodgetProcessEnablerSearchOrder
Description

Gets a process enabler search order. The ProcessEnablerSearchOrder is supplied to a ProcessEnablerSearch to specify the ordering of results.

Returnosid.workflow.rules.ProcessEnablerSearchOrder the process enabler search order
Compliancemandatory This method must be implemented.
MethodgetProcessEnablersBySearch
Description

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

Parametersosid.workflow.rules.ProcessEnablerQueryprocessEnablerQuery the process enabler query
osid.workflow.rules.ProcessEnablerSearchprocessEnablerSearch the process enabler search
Returnosid.workflow.rules.ProcessEnablerSearchResults the returned search results
ErrorsNULL_ARGUMENT processEnablerQuery or processEnablerSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED processEnablerQuery or processEnablerSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetProcessEnablerQueryFromInspector
Description

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

Parametersosid.workflow.rules.ProcessEnablerQueryInspectorprocessEnablerQueryInspector a process enabler query inspector
Returnosid.workflow.rules.ProcessEnablerQuery the process enabler query
ErrorsNULL_ARGUMENT processEnablerQueryInspector is null
UNSUPPORTED processEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.