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

This session provides methods to apply ProcessProcessorEnablers to ProcessProcessors. Multiple ProcessProcessorEnablers applied to an ProcessProcessor may be sequenced such that the first positive evaluation results in the ProcessProcessorEnabler 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.
MethodcanAssignProcessProcessorEnablers
Description

Tests if this user can alter process processor enabler/process processor 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.
MethodassignProcessProcessorEnablerToProcessProcessor
Description

Adds an existing ProcessProcessorEnabler to a ProcessProcessor.

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

Removes an existing ProcessProcessorEnabler from a ProcessProcessor.

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

Tests if this user can order ProcessProcessorEnablers. 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 ProcessProcessorEnabler ordering is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodmoveProcessProcessorEnablerAhead
Description

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

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

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

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

Reorders a set of process processor enablers for a process processor.

Parametersosid.id.Id[]processProcessorEnablerIds the Ids for a set of ProcessProcessorEnablers
osid.id.IdprocessProcessorId the Id of the ProcessProcessor
ErrorsNOT_FOUND processProcessorId not found or, a processProcessorEnablerId not related to processProcessorId
NULL_ARGUMENT processProcessorEnablerIds or processProcessorId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.