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

This session provides methods to apply StepEnablers to Steps. Multiple StepEnablers applied to an Step may be sequenced such that the first positive evaluation results in the StepEnablers 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.
MethodcanAssignStepEnablers
Description

Tests if this user can alter step enabler/step 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.
MethodassignStepEnablerToStep
Description

Adds an existing StepEnabler to a Step.

Parametersosid.id.IdstepEnablerId the Id of the StepEnabler
osid.id.IdstepId the Id of the Step
ErrorsALREADY_EXISTS stepEnablerId already applied to stepId
NOT_FOUND stepEnablerId or stepId not found
NULL_ARGUMENT stepEnablerId or stepId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodunassignStepEnablerFromStep
Description

Removes an existing StepEnabler from a Step.

Parametersosid.id.IdstepEnablerId the Id of the StepEnabler
osid.id.IdstepId the Id of the Step
ErrorsNOT_FOUND stepEnablerId or stepId not found or stepEnablerId already applied to stepId
NULL_ARGUMENT stepEnablerId or stepId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanSequenceStepEnablers
Description

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

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

Parametersosid.id.IdstepEnablerId the Id of the StepEnabler
osid.id.IdstepId the Id of the Step
osid.id.IdreferenceId the reference step enabler Id
ErrorsNOT_FOUND stepEnablerId, stepId, or referenceId not found or, stepEnablerId or referenceId not related to stepId
NULL_ARGUMENT stepEnablerId, stepId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodmoveStepEnablerBehind
Description

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

Parametersosid.id.IdstepEnablerId the Id of the StepEnabler
osid.id.IdstepId the Id of the Step
osid.id.IdreferenceId the reference step enabler Id
ErrorsNOT_FOUND stepEnablerId, stepId, or referenceId not found or, stepEnablerId or referenceId not related to stepId
NULL_ARGUMENT stepEnablerId, stepId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodorderStepEnablers
Description

Reorders a set of step enablers for a step.

Parametersosid.id.Id[]stepEnablerIds the Ids for a set of StepEnablers
osid.id.IdstepId the Id of the Step
ErrorsNOT_FOUND stepEnablerId, stepId, or referenceId not found or, stepEnablerId or referenceId not related to stepId
NULL_ARGUMENT stepEnablerIds, stepId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.