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

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

Adds an existing ProcessConstrainerEnabler to a ProcessConstrainer.

Parametersosid.id.IdprocessConstrainerEnablerId the Id of the ProcessConstrainerEnabler
osid.id.IdprocessConstrainerId the Id of the ProcessConstrainer
ErrorsALREADY_EXISTS processConstrainerEnablerId already applied to processConstrainerId
NOT_FOUND processConstrainerEnablerId or processConstrainerId not found
NULL_ARGUMENT processConstrainerEnablerId or processConstrainerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodunassignProcessConstrainerEnablerFromProcessConstrainer
Description

Removes an existing ProcessConstrainerEnabler from a ProcessConstrainer.

Parametersosid.id.IdprocessConstrainerEnablerId the Id of the ProcessConstrainerEnabler
osid.id.IdprocessConstrainerId the Id of the ProcessConstrainer
ErrorsNOT_FOUND processConstrainerEnablerId or processConstrainerId not found or processConstrainerEnablerId already applied to processConstrainerId
NULL_ARGUMENT processConstrainerEnablerId or processConstrainerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.

Returnboolean false if ProcessConstrainerEnabler ordering is not authorized, true otherwise
Compliancemandatory This 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.IdprocessConstrainerEnablerId the Id of the ProcessConstrainerEnabler
osid.id.IdprocessConstrainerId the Id of the ProcessConstrainer
osid.id.IdreferenceId the reference process constrainer enabler Id
ErrorsNOT_FOUND processConstrainerEnablerId processConstrainerId, or referenceId not found or, processConstrainerEnablerId or referenceId not related to processConstrainerId
NULL_ARGUMENT processConstrainerEnablerId, processConstrainerId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdprocessConstrainerEnablerId the Id of the ProcessConstrainerEnabler
osid.id.IdprocessConstrainerId the Id of the ProcessConstrainer
osid.id.IdreferenceId the reference process constrainer Id
ErrorsNOT_FOUND processConstrainerEnablerId processConstrainerId, or referenceId not found or, processConstrainerEnablerId or referenceId not related to processConstrainerId
NULL_ARGUMENT processConstrainerEnablerId, processConstrainerId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodorderProcessConstrainerEnablers
Description

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

Parametersosid.id.Id[]processConstrainerEnablerIds the Ids for a set of ProcessConstrainerEnablers
osid.id.IdprocessConstrainerId the Id of the ProcessConstrainer
ErrorsNOT_FOUND processConstrainerId not found or, a processConstrainerEnablerId not related to processConstrainerId
NULL_ARGUMENT processConstrainerEnablerIds or processConstrainerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.