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

This session provides methods to apply ProcessConstrainerEnablers to ProcessConstrainers . Multiple ProcessConstrainerEnablers applied to an ProcessConstrainer may be sequenced such that the first positive evaluation results in the ProcessConstrainerEnabler 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.
MethodcanAssignProcessConstrainerEnablers
Description

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

Adds an existing ProcessConstrainerEnabler to a ProcessConstrainer .

Parametersosid.id.IdprocessConstrainerEnablerIdthe Id of the ProcessConstrainerEnabler
osid.id.IdprocessConstrainerIdthe Id of the ProcessConstrainer
ErrorsALREADY_EXISTSprocessConstrainerEnablerId already applied to processConstrainerId
NOT_FOUNDprocessConstrainerEnablerId or processConstrainerId not found
NULL_ARGUMENTprocessConstrainerEnablerId or processConstrainerId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodunassignProcessConstrainerEnablerFromProcessConstrainer
Description

Removes an existing ProcessConstrainerEnabler from a ProcessConstrainer .

Parametersosid.id.IdprocessConstrainerEnablerIdthe Id of the ProcessConstrainerEnabler
osid.id.IdprocessConstrainerIdthe Id of the ProcessConstrainer
ErrorsNOT_FOUNDprocessConstrainerEnablerId or processConstrainerId not found or processConstrainerEnablerId already applied to processConstrainerId
NULL_ARGUMENTprocessConstrainerEnablerId or processConstrainerId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanSequenceProcessConstrainerEnablers
Description

Tests if this user can order ProcessConstrainerEnablers . 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 ProcessConstrainerEnabler ordering is not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodmoveProcessConstrainerEnablerAhead
Description

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

Parametersosid.id.IdprocessConstrainerEnablerIdthe Id of the ProcessConstrainerEnabler
osid.id.IdprocessConstrainerIdthe Id of the ProcessConstrainer
osid.id.IdreferenceIdthe reference process constrainer enabler Id
ErrorsNOT_FOUNDprocessConstrainerEnablerId processConstrainerId , or referenceId not found or, processConstrainerEnablerId or referenceId not related to processConstrainerId
NULL_ARGUMENTprocessConstrainerEnablerId, processConstrainerId , or referenceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodmoveProcessConstrainerEnablerBehind
Description

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

Parametersosid.id.IdprocessConstrainerEnablerIdthe Id of the ProcessConstrainerEnabler
osid.id.IdprocessConstrainerIdthe Id of the ProcessConstrainer
osid.id.IdreferenceIdthe reference process constrainer Id
ErrorsNOT_FOUNDprocessConstrainerEnablerId processConstrainerId , or referenceId not found or, processConstrainerEnablerId or referenceId not related to processConstrainerId
NULL_ARGUMENTprocessConstrainerEnablerId, processConstrainerId , or referenceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodorderProcessConstrainerEnablers
Description

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

Parametersosid.id.Id[]processConstrainerEnablerIdsthe Ids for a set of ProcessConstrainerEnablers
osid.id.IdprocessConstrainerIdthe Id of the ProcessConstrainer
ErrorsNOT_FOUNDprocessConstrainerId not found or, a processConstrainerEnablerId not related to processConstrainerId
NULL_ARGUMENTprocessConstrainerEnablerIds or processConstrainerId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.