OSID Logo
OSID Specifications
workflow event package
Version 3.0.0
Interfaceosid.workflow.event.WorkflowEventSmartOfficeSession
Implementsosid.OsidSession
Used Byosid.workflow.event.WorkflowEventManager
osid.workflow.event.WorkflowEventProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic catalogs. A WorkflowEventQuery can be retrieved from this session and mapped to this Office to create a virtual collection of WorkflowEvents . The workflow events may be sequenced using the WorkflowEventSearchOrder from this session.

This Office has a default query that matches any workflow event and a default search order that specifies no sequencing. The queries may be examined using a WorkflowEventQueryInspector. T he query may be modified by converting the inspector back to a WorkflowEventQuery .

MethodgetOfficeId
Description

Gets the Office Id associated with this session.

Returnosid.id.Idthe Office Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetOffice
Description

Gets the Office associated with this session.

Returnosid.workflow.OfficeListthe office
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanManageSmartOffices
Description

Tests if this user can manage smart offices. A return of true does not guarantee successful authorization. A return of false indicates that it is known methods in this session will result in a PERMISSION_DENIED .This is intended as a hint to an application that may opt not to offer operations to unauthorized users.

Returnbooleanfalse if smart office management is not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodgetWorkflowEventQuery
Description

Gets a workflow event query.

Returnosid.workflow.event.WorkflowEventQuerythe workflow event query
CompliancemandatoryThis method must be implemented.
MethodgetWorkflowEventSearchOrder
Description

Gets a workflow event search order.

Returnosid.workflow.event.WorkflowEventSearchOrderthe workflow event search order
CompliancemandatoryThis method must be implemented.
MethodapplyWorkflowEventQuery
Description

Applies a workflow event query to this office.

Parametersosid.workflow.event.WorkflowEventQueryworkflowEventQuerythe workflow event query
ErrorsNULL_ARGUMENTworkflowEventQuery is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDworkflowEventQuery not of this service
CompliancemandatoryThis method must be implemented.
MethodinspectWorkflowEventQuery
Description

Gets a workflow event query inspector for this office.

Returnosid.workflow.event.WorkflowEventQueryInspectorthe workflow event query inspector
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodapplyWorkflowEventSequencing
Description

Applies a workflow event search order to this office.

Parametersosid.workflow.event.WorkflowEventSearchOrderworkflowEventSearchOrderthe workflow event search order
ErrorsNULL_ARGUMENTworkflowEventSearchOrder is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDworkflowEventSearchOrder not of this service
CompliancemandatoryThis method must be implemented.
MethodgetWorkflowEventQueryFromInspector
Description

Gets a workflow event query from an inspector.

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.