Workflow Engine .NET  2
Public Member Functions | List of all members
OptimaJet.Workflow.Core.Runtime.EmptyWorkflowRuleProvider Class Reference

Empty rule provider for system purpose More...

Inheritance diagram for OptimaJet.Workflow.Core.Runtime.EmptyWorkflowRuleProvider:
OptimaJet.Workflow.Core.Runtime.IWorkflowRuleProvider

Public Member Functions

List< string > GetRules ()
 Return all rule names More...
 
bool Check (ProcessInstance processInstance, WorkflowRuntime runtime, string identityId, string ruleName, string parameter)
 Check the rule More...
 
IEnumerable< string > GetIdentities (ProcessInstance processInstance, WorkflowRuntime runtime, string ruleName, string parameter)
 Get the list of users which satisfies the rule More...
 

Detailed Description

Empty rule provider for system purpose

Member Function Documentation

◆ Check()

bool OptimaJet.Workflow.Core.Runtime.EmptyWorkflowRuleProvider.Check ( ProcessInstance  processInstance,
WorkflowRuntime  runtime,
string  identityId,
string  ruleName,
string  parameter 
)

Check the rule

Parameters
processInstanceReference to ProcessInstance for which rule is checked ProcessInstance
runtimeReference to WorkflowRuntime object which managed specified process instance WorkflowRuntime
identityIdUser id for which rule is checking
ruleNameName of the rule to check
parameterAdditional rule parameter RestrictionDefinition.Actor ActorDefinition.Value
Returns
Rule check result

Implements OptimaJet.Workflow.Core.Runtime.IWorkflowRuleProvider.

◆ GetIdentities()

IEnumerable<string> OptimaJet.Workflow.Core.Runtime.EmptyWorkflowRuleProvider.GetIdentities ( ProcessInstance  processInstance,
WorkflowRuntime  runtime,
string  ruleName,
string  parameter 
)

Get the list of users which satisfies the rule

Parameters
processInstanceReference to ProcessInstance for which rule is checked ProcessInstance
runtimeReference to WorkflowRuntime object which managed specified process instance WorkflowRuntime
ruleNameName of the rule to get users list
parameterAdditional rule parameter RestrictionDefinition.Actor ActorDefinition.Value
Returns
List of users which satisfies the rule

Implements OptimaJet.Workflow.Core.Runtime.IWorkflowRuleProvider.

◆ GetRules()

List<string> OptimaJet.Workflow.Core.Runtime.EmptyWorkflowRuleProvider.GetRules ( )

Return all rule names

Returns
List of rule names

Implements OptimaJet.Workflow.Core.Runtime.IWorkflowRuleProvider.