org.camunda.bpm.engine.impl.cfg
Interface CommandChecker

All Known Implementing Classes:
AuthorizationCommandChecker, TenantCommandChecker

public interface CommandChecker

Is invoked while executing a command to check if the current operation is allowed on the entity. If it is not allowed, the checker throws a ProcessEngineException.


Method Summary
 void checkCreateCaseInstance(CaseDefinition caseDefinition)
          Checks if it is allowed to create an instance of the given case definition.
 void checkCreateProcessInstance(ProcessDefinition processDefinition)
          Checks if it is allowed to create an instance of the given process definition.
 void checkEvaluateDecision(DecisionDefinition decisionDefinition)
          Checks if it is allowed to evaluate the given decision.
 void checkReadProcessDefinition(ProcessDefinition processDefinition)
          Checks if it is allowed to read the given process definition.
 void checkUpdateProcessDefinitionById(String processDefinitionId)
          Checks if it is allowed to update a process definition of the given process definition id.
 void checkUpdateProcessDefinitionByKey(String processDefinitionKey)
          Checks if it is allowed to update a process definition of the given process definition key.
 void checkUpdateProcessInstanceById(String processInstanceId)
          Checks if it is allowed to update a process instance of the given process instance id.
 void checkUpdateProcessInstanceByProcessDefinitionId(String processDefinitionId)
          Checks if it is allowed to update a process instance of the given process definition id.
 void checkUpdateProcessInstanceByProcessDefinitionKey(String processDefinitionKey)
          Checks if it is allowed to update a process instance of the given process definition key.
 

Method Detail

checkEvaluateDecision

void checkEvaluateDecision(DecisionDefinition decisionDefinition)
Checks if it is allowed to evaluate the given decision.


checkCreateProcessInstance

void checkCreateProcessInstance(ProcessDefinition processDefinition)
Checks if it is allowed to create an instance of the given process definition.


checkReadProcessDefinition

void checkReadProcessDefinition(ProcessDefinition processDefinition)
Checks if it is allowed to read the given process definition.


checkCreateCaseInstance

void checkCreateCaseInstance(CaseDefinition caseDefinition)
Checks if it is allowed to create an instance of the given case definition.


checkUpdateProcessDefinitionById

void checkUpdateProcessDefinitionById(String processDefinitionId)
Checks if it is allowed to update a process definition of the given process definition id.


checkUpdateProcessInstanceByProcessDefinitionId

void checkUpdateProcessInstanceByProcessDefinitionId(String processDefinitionId)
Checks if it is allowed to update a process instance of the given process definition id.


checkUpdateProcessDefinitionByKey

void checkUpdateProcessDefinitionByKey(String processDefinitionKey)
Checks if it is allowed to update a process definition of the given process definition key.


checkUpdateProcessInstanceByProcessDefinitionKey

void checkUpdateProcessInstanceByProcessDefinitionKey(String processDefinitionKey)
Checks if it is allowed to update a process instance of the given process definition key.


checkUpdateProcessInstanceById

void checkUpdateProcessInstanceById(String processInstanceId)
Checks if it is allowed to update a process instance of the given process instance id.



Copyright © 2016 camunda services GmbH. All rights reserved.