OSID Logo
OSID Specifications
workflow rules package
Version 3.0.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.ProcessConstrainerEnablerSearchthe process constrainer enabler search
CompliancemandatoryThis 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.ProcessConstrainerEnablerSearchOrderthe process constrainer enabler search order
CompliancemandatoryThis method must be implemented.
MethodgetProcessConstrainerEnablersBySearch
Description

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

Parametersosid.workflow.rules.ProcessEnablerQueryprocessConstrainerEnablerQuerythe process constrainer enabler query
osid.workflow.rules.ProcessConstrainerEnablerSearchprocessConstrainerEnablerSearchthe process constrainer enabler search
Returnosid.workflow.rules.ProcessConstrainerEnablerSearchResultsthe returned search results
ErrorsNULL_ARGUMENTprocessConstrainerEnablerQuery or processConstrainerEnablerSearch is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTEDprocessConstrainerEnablerQuery or processConstrainerEnablerSearch is not of this service
CompliancemandatoryThis 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.ProcessConstrainerEnablerQueryInspectorprocessConstrainerEnablerQueryInspectora process constrainer enabler query inspector
Returnosid.workflow.rules.ProcessConstrainerEnablerQuerythe process constrainer enabler query
ErrorsNULL_ARGUMENTprocessConstrainerEnablerQueryInspector is null
UNSUPPORTEDprocessConstrainerEnablerQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.