OSID Logo
OSID Specifications
workflow rules package
Version 3.1.0
Interfaceosid.workflow.rules.StepConstrainerSmartOfficeSession
Implementsosid.OsidSession
Used Byosid.workflow.rules.WorkflowRulesManager
osid.workflow.rules.WorkflowRulesProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic office. a StepConstrainerQuery can be retrieved from this session and mapped to this Office to create a virtual collection of step constrainers. The step constrainer may be sequenced using the StepConstrainerSearchOrder from this session.

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

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 office. 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.
MethodgetStepConstrainerQuery
Description

Gets a step constrainer query.

Returnosid.workflow.rules.StepConstrainerQuery the step constrainer query
Compliancemandatory This method must be implemented.
MethodgetStepConstrainerSearchOrder
Description

Gets a step constrainer search order.

Returnosid.workflow.rules.StepConstrainerSearchOrder the step constrainer search order
Compliancemandatory This method must be implemented.
MethodapplyStepConstrainerQuery
Description

Applies a step constrainer query to this office.

Parametersosid.workflow.rules.StepConstrainerQuerystepConstrainerQuery the step constrainer query
ErrorsNULL_ARGUMENT stepConstrainerQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED stepConstrainerQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectStepConstrainerQuery
Description

Gets a step constrainer query inspector for this office.

Returnosid.workflow.rules.StepConstrainerQueryInspector the step constrainer query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyStepConstrainerSequencing
Description

Applies a step constrainer search order to this office.

Parametersosid.workflow.rules.StepConstrainerSearchOrderstepConstrainerSearchOrder the step constrainer search order
ErrorsNULL_ARGUMENT stepConstrainerSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED stepConstrainerSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetStepConstrainerQueryFromInspector
Description

Gets a step constrainer query from an inspector.

Parametersosid.workflow.rules.StepConstrainerQueryInspectorstepConstrainerQueryInspector a step constrainer query inspector
Returnosid.workflow.rules.StepConstrainerQuery the step constrainer query
ErrorsNULL_ARGUMENT stepConstrainerQueryInspector is null
UNSUPPORTED stepConstrainerQueryInspector is not of this service
Compliancemandatory This method must be implemented.