OSID Logo
OSID Specifications
workflow package
Version 3.1.0
Interfaceosid.workflow.StepSmartOfficeSession
Implementsosid.OsidSession
Description

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

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

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

Gets a step query.

Returnosid.workflow.StepQuery the step query
Compliancemandatory This method must be implemented.
MethodgetStepSearchOrder
Description

Gets a step search order.

Returnosid.workflow.StepSearchOrder the step search order
Compliancemandatory This method must be implemented.
MethodapplyStepQuery
Description

Applies a step query to this office.

Parametersosid.workflow.StepQuerystepQuery the step query
ErrorsNULL_ARGUMENT stepQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED stepQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectStepQuery
Description

Gets a step query inspector for this office.

Returnosid.workflow.StepQueryInspector the step query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyStepSequencing
Description

Applies a step search order to this office.

Parametersosid.workflow.StepSearchOrderstepSearchOrder the step search order
ErrorsNULL_ARGUMENT stepSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED stepSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetStepQueryFromInspector
Description

Gets a step query from an inspector.

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