OSID Logo
OSID Specifications
workflow package
Version 3.1.0
Interfaceosid.workflow.ProcessSmartOfficeSession
Implementsosid.OsidSession
Used Byosid.workflow.WorkflowManager
osid.workflow.WorkflowProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic catalogs. A ProcessQuery can be retrieved from this session and mapped to this Office to create a virtual collection of Processes. The process may be sequenced using the ProcessSearchOrder from this session.

This Office has a default query that matches any process and a default search order that specifies no sequencing. The queries may be examined using a ProcessQueryInspector. The query may be modified by converting the inspector back to a ProcessQuery.

MethodgetOfficeId
Description

Gets the Office Id associated with this session.

Returnosid.id.Id the Office Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetOffice
Description

Gets the Office associated with this session.

Returnosid.workflow.Office the office
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.

Returnboolean false if smart office management is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetProcessQuery
Description

Gets a process query.

Returnosid.workflow.ProcessQuery the process query
Compliancemandatory This method must be implemented.
MethodgetProcessSearchOrder
Description

Gets a process search order.

Returnosid.workflow.ProcessSearchOrder the process search order
Compliancemandatory This method must be implemented.
MethodapplyProcessQuery
Description

Applies a process query to this office.

Parametersosid.workflow.ProcessQueryprocessQuery the process query
ErrorsNULL_ARGUMENT processQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED processQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectProcessQuery
Description

Gets a process query inspector for this office.

Returnosid.workflow.ProcessQueryInspector the process query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyProcessSequencing
Description

Applies a process search order to this office.

Parametersosid.workflow.ProcessSearchOrderprocessSearchOrder the process search order
ErrorsNULL_ARGUMENT processSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED processSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetProcessQueryFromInspector
Description

Gets a process query from an inspector.

Parametersosid.workflow.ProcessQueryInspectorprocessQueryInspector a process query inspector
Returnosid.workflow.ProcessQuery the process query
ErrorsNULL_ARGUMENT processQueryInspector is null
UNSUPPORTED processQueryInspector is not of this service
Compliancemandatory This method must be implemented.