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

This session manages queries and sequencing to create "smart" dynamic catalogs. A ProcessConstrainerEnablerQuery can be retrieved from this session and mapped to this Office to create a virtual collection of ProcessConstrainerEnablers . The process constrainer enablers may be sequenced using the ProcessConstrainerEnablerSearchOrder from this session.

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

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.Officethe 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.
MethodgetProcessConstrainerEnablerQuery
Description

Gets a process constrainer enabler query.

Returnosid.workflow.rules.ProcessConstrainerEnablerQuerythe process constrainer enabler query
CompliancemandatoryThis method must be implemented.
MethodgetProcessConstrainerEnablerSearchOrder
Description

Gets a process constrainer enabler search order.

Returnosid.workflow.rules.ProcessEnablerSearchOrderthe process constrainer enabler search order
CompliancemandatoryThis method must be implemented.
MethodapplyProcessConstrainerEnablerQuery
Description

Applies a process constrainer enabler query to this office.

Parametersosid.workflow.rules.ProcessConstrainerEnablerQueryprocessConstrainerEnablerQuerythe process constrainer enabler query
ErrorsNULL_ARGUMENTprocessConstrainerEnablerQuery is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDprocessConstrainerEnablerQuery not of this service
CompliancemandatoryThis method must be implemented.
MethodinspectProcessConstrainerEnablerQuery
Description

Gets a process constrainer enabler query inspector for this office.

Returnosid.workflow.rules.ProcessConstrainerEnablerQueryInspectorthe process constrainer enabler query inspector
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodapplyProcessConstrainerEnablerSequencing
Description

Applies a process constrainer enabler search order to this office.

Parametersosid.workflow.rules.ProcessConstrainerEnablerSearchOrderprocessConstrainerEnablerSearchOrderthe process constrainer enabler search order
ErrorsNULL_ARGUMENTprocessConstrainerEnablerSearchOrder is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDprocessConstrainerEnablerSearchOrder not of this service
CompliancemandatoryThis method must be implemented.
MethodgetProcessConstrainerEnablerQueryFromInspector
Description

Gets a process constrainer enabler query from an inspector.

Parametersosid.workflow.rules.ProcessConstrainerEnablerQueryInspectorprocessConstrainerEnablerQueryInspectora process constrainer enabler query inspector
Returnosid.workflow.rules.ProcessConstrainerEnablerQuerythe process constrainer enabler query
ErrorsNULL_ARGUMENTprocessConstrainerEnablerQueryInspector is null
UNSUPPORTEDprocessConstrainerEnablerQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.