OSID Logo
OSID Specifications
workflow event package
Version 3.1.0
Interfaceosid.workflow.event.WorkflowEventSearchSession
Implementsosid.workflow.event.WorkflowEventQuerySession
Used Byosid.workflow.event.WorkflowEventManager
osid.workflow.event.WorkflowEventProxyManager
Description

This session provides methods for searching among WorkflowEvents. The search query is constructed using the WorkflowEventQuery.

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

This session defines views that offer differing behaviors for searching.

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

Workflow Events may have a query record indicated by their respective record types. The query record is accessed via the WorkflowEventQuery.

MethodgetWorkflowEventSearch
Description

Gets a workflow event search.

Returnosid.workflow.event.WorkflowEventSearch the workflow event search
Compliancemandatory This method must be implemented.
MethodgetWorkflowEventSearchOrder
Description

Gets a workflow event search order. The WorkflowEventSearchOrder is supplied to a WorkflowEventSearch to specify the ordering of results.

Returnosid.workflow.event.WorkflowEventSearchOrder the workflow event search order
Compliancemandatory This method must be implemented.
MethodgetWorkflowEventsBySearch
Description

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

Parametersosid.workflow.event.WorkflowEventQueryworkflowEventQuery the workflow event query
osid.workflow.event.WorkflowEventSearchworkflowEventSearch the workflow event search
Returnosid.workflow.event.WorkflowEventSearchResults the returned search results
ErrorsNULL_ARGUMENT workflowEventQuery or workflowEventSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED workflowEventQuery or workflowEventSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetWorkflowEventQueryFromInspector
Description

Gets a workflow event query from an inspector. The inspector is available from a WorkflowEventSearchResults.

Parametersosid.workflow.event.WorkflowEventQueryInspectorworkflowEventQueryInspector a workflow event query inspector
Returnosid.workflow.event.WorkflowEventQuery the workflow event query
ErrorsNULL_ARGUMENT workflowEventQueryInspector is null
UNSUPPORTED workflowEventQueryInspector is not of this service
Compliancemandatory This method must be implemented.