OSID Logo
OSID Specifications
workflow rules package
Version 3.0.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.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.
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.

Returnbooleanfalse if mapping is not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodassignProcessProcessorEnablerToProcessProcessor
Description

Adds an existing ProcessProcessorEnabler to a ProcessProcessor .

Parametersosid.id.IdprocessProcessorEnablerIdthe Id of the ProcessProcessorEnabler
osid.id.IdprocessProcessorIdthe Id of the ProcessProcessor
ErrorsALREADY_EXISTSprocessProcessorEnablerId already applied to processProcessorId
NOT_FOUNDprocessProcessorEnablerId or processProcessorId not found
NULL_ARGUMENTprocessProcessorEnablerId or processProcessorId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodunassignProcessProcessorEnablerFromProcessProcessor
Description

Removes an existing ProcessProcessorEnabler from a ProcessProcessor .

Parametersosid.id.IdprocessProcessorEnablerIdthe Id of the ProcessProcessorEnabler
osid.id.IdprocessProcessorIdthe Id of the ProcessProcessor
ErrorsNOT_FOUNDprocessProcessorEnablerId or processProcessorId not found or processProcessorEnablerId already applied to processProcessorId
NULL_ARGUMENTprocessProcessorEnablerId or processProcessorId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis 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.

Returnbooleanfalse if ProcessProcessorEnabler ordering is not authorized, true otherwise
CompliancemandatoryThis 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.IdprocessProcessorEnablerIdthe Id of the ProcessProcessorEnabler
osid.id.IdprocessProcessorIdthe Id of the ProcessProcessor
osid.id.IdreferenceIdthe reference process processor enabler Id
ErrorsNOT_FOUNDprocessProcessorEnablerId processProcessorId , or referenceId not found or, processProcessorEnablerId or referenceId not related to processProcessorId
NULL_ARGUMENTprocessProcessorEnablerId, processProcessorId , or referenceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis 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.IdprocessProcessorEnablerIdthe Id of the ProcessProcessorEnabler
osid.id.IdprocessProcessorIdthe Id of the ProcessProcessor
osid.id.IdreferenceIdthe reference process processor Id
ErrorsNOT_FOUNDprocessProcessorEnablerId processProcessorId , or referenceId not found or, processProcessorEnablerId or referenceId not related to processProcessorId
NULL_ARGUMENTprocessProcessorEnablerId, processProcessorId , or referenceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodorderProcessProcessorEnablers
Description

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

Parametersosid.id.Id[]processProcessorEnablerIdsthe Ids for a set of ProcessProcessorEnablers
osid.id.IdprocessProcessorIdthe Id of the ProcessProcessor
ErrorsNOT_FOUNDprocessProcessorId not found or, a processProcessorEnablerId not related to processProcessorId
NULL_ARGUMENTprocessProcessorEnablerIds or processProcessorId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.