OSID Logo
OSID Specifications
workflow event package
Version 3.0.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.WorkflowEventSearchthe workflow event search
CompliancemandatoryThis 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.WorkflowEventSearchOrderthe workflow event search order
CompliancemandatoryThis method must be implemented.
MethodgetWorkflowEventsBySearch
Description

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

Parametersosid.workflow.event.WorkflowEventQueryworkflowEventQuerythe workflow event query
osid.workflow.event.WorkflowEventSearchworkflowEventSearchthe workflow event search
Returnosid.workflow.event.WorkflowEventSearchResultsthe returned search results
ErrorsNULL_ARGUMENTworkflowEventQuery or workflowEventSearch is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTEDworkflowEventQuery or workflowEventSearch is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetWorkflowEventQueryFromInspector
Description

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

Parametersosid.workflow.event.WorkflowEventQueryInspectorworkflowEventQueryInspectora workflow event query inspector
Returnosid.workflow.event.WorkflowEventQuerythe workflow event query
ErrorsNULL_ARGUMENTworkflowEventQueryInspector is null
UNSUPPORTEDworkflowEventQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.