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

This session manages queries and sequencing to create "smart" dynamic catalogs. A StepEnablerQuery can be retrieved from this session and mapped to this Office to create a virtual collection of StepEnablers. The step enablers may be sequenced using the StepEnablerSearchOrder from this session.

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

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.
MethodgetStepEnablerQuery
Description

Gets a step enabler query.

Returnosid.workflow.rules.StepEnablerQuery the step enabler query
Compliancemandatory This method must be implemented.
MethodgetStepEnablerSearchOrder
Description

Gets a step enabler search order.

Returnosid.workflow.rules.StepEnablerSearchOrder the step enabler search order
Compliancemandatory This method must be implemented.
MethodapplyStepEnablerQuery
Description

Applies a step enabler query to this office.

Parametersosid.workflow.rules.StepEnablerQuerystepEnablerQuery the step enabler query
ErrorsNULL_ARGUMENT stepEnablerQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED stepEnablerQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectStepEnablerQuery
Description

Gets a step enabler query inspector for this office.

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

Applies a step enabler search order to this office.

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

Gets a step enabler query from an inspector.

Parametersosid.workflow.rules.StepEnablerQueryInspectorstepEnablerQueryInspector a step enabler query inspector
Returnosid.workflow.StepQuery the step enabler query
ErrorsNULL_ARGUMENT stepEnablerQueryInspector is null
UNSUPPORTED stepEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.