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

This session provides methods to apply ProcessProcessors to Processes. Multiple ProcessProcessors applied to an Process may be sequenced such that the first positive evaluation results in the ProcessProcessor used.

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

Tests if this user can alter process processor/process mappings. A return of true does not guarantee successful authorization. A return of false indicates that it is known mapping 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 lookup operations to unauthorized users.

Returnboolean false if mapping is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodassignProcessProcessorToProcess
Description

Adds an existing ProcessProcessor to a Process.

Parametersosid.id.IdprocessProcessorId the Id of the ProcessProcessor
osid.id.IdprocessId the Id of the Process
ErrorsALREADY_EXISTS processProcessorId already applied to processId
NOT_FOUND processProcessorId or processId not found
NULL_ARGUMENT processProcessorId or processId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodunassignProcessProcessorFromProcess
Description

Removes an existing ProcessProcessor from a Process.

Parametersosid.id.IdprocessProcessorId the Id of the ProcessProcessor
osid.id.IdprocessId the Id of the Process
ErrorsNOT_FOUND processProcessorId or processId not found or processProcessorId already applied to processId
NULL_ARGUMENT processProcessorId or processId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanSequenceProcessProcessors
Description

Tests if this user can order ProcessProcessors. A return of true does not guarantee successful authorization. A return of false indicates that it is known sequencing operations will result in a PERMISSION_DENIED.This is intended as a hint to an application that may opt not to offer sequencing operations to an unauthorized user.

Returnboolean false if ProcessProcessor ordering is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodmoveProcessProcessorAhead
Description

Reorders process processors for a process by moving the specified process processor in front of a reference process processor.

Parametersosid.id.IdprocessProcessorId the Id of the ProcessProcessor
osid.id.IdprocessId the Id of the Process
osid.id.IdreferenceId the reference process processor Id
ErrorsNOT_FOUND processProcessorId processId, or referenceId not found or, processProcessorId or referenceId not related to processId
NULL_ARGUMENT processProcessorId, processId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodmoveProcessProcessorBehind
Description

Reorders process processors for a process by moving the specified process processor behind a reference process processor.

Parametersosid.id.IdprocessProcessorId the Id of the ProcessProcessor
osid.id.IdprocessId the Id of the Process
osid.id.IdreferenceId the reference process processor Id
ErrorsNOT_FOUND processProcessorId, processId, or referenceId not found or, processProcessorId or referenceId not related to processId
NULL_ARGUMENT processProcessorId, processId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodorderProcessProcessors
Description

Reorders a set of process processors for a process.

Parametersosid.id.Id[]processProcessorIds the Ids for a set of ProcessProcessors
osid.id.IdprocessId the Id of the Process
ErrorsNOT_FOUND processId not found or, a processProcessorId not related to processId
NULL_ARGUMENT processProcessorIds or processId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.