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

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

This Office has a default query that matches any process processor enabler and a default search order that specifies no sequencing. The queries may be examined using a ProcessProcessorEnablerQueryInspector. Th e query may be modified by converting the inspector back to a ProcessProcessorEnablerQuery.

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

Gets a process processor enabler query.

Returnosid.workflow.rules.ProcessProcessorEnablerQuery the process processor enabler query
Compliancemandatory This method must be implemented.
MethodgetProcessProcessorEnablerSearchOrder
Description

Gets a process processor enabler search order.

Returnosid.workflow.rules.ProcessProcessorEnablerSearchOrder the process processor enabler search order
Compliancemandatory This method must be implemented.
MethodapplyProcessProcessorEnablerQuery
Description

Applies a process processor enabler query to this office.

Parametersosid.workflow.rules.ProcessProcessorEnablerQueryprocessProcessorEnablerQuery the process processot enabler query
ErrorsNULL_ARGUMENT processProcessorEnablerQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED processProcessorEnablerQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectProcessProcessorEnablerQuery
Description

Gets a process processor enabler query inspector for this office.

Returnosid.workflow.rules.ProcessProcessorEnablerQueryInspector the process processor enabler query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyProcessProcessorEnablerSequencing
Description

Applies a process processor enabler search order to this office.

Parametersosid.workflow.rules.ProcessProcessorEnablerSearchOrderprocessProcessorEnablerSearchOrder the process processor enabler search order
ErrorsNULL_ARGUMENT processProcessorEnablerSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED processProcessorEnablerSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetProcessProcessorEnablerQueryFromInspector
Description

Gets a process processor enabler query from an inspector.

Parametersosid.workflow.rules.ProcessProcessorEnablerQueryInspectorprocessProcessorEnablerQueryInspector a process processor enabler query inspector
Returnosid.workflow.rules.ProcessProcessorEnablerQuery the process processor enabler query
ErrorsNULL_ARGUMENT processProcessorEnablerQueryInspector is null
UNSUPPORTED processProcessorEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.