Package org.camunda.bpm.engine.impl.cmd
Class GetDeployedProcessDefinitionCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.GetDeployedProcessDefinitionCmd
-
- All Implemented Interfaces:
Command<ProcessDefinitionEntity>
public class GetDeployedProcessDefinitionCmd extends Object implements Command<ProcessDefinitionEntity>
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
checkReadPermission
protected boolean
isTenantIdSet
protected String
processDefinitionId
protected String
processDefinitionKey
protected String
processDefinitionTenantId
-
Constructor Summary
Constructors Constructor Description GetDeployedProcessDefinitionCmd(String processDefinitionId, boolean checkReadPermission)
GetDeployedProcessDefinitionCmd(ProcessInstantiationBuilderImpl instantiationBuilder, boolean checkReadPermission)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessDefinitionEntity
execute(CommandContext commandContext)
protected ProcessDefinitionEntity
find(CommandContext commandContext)
protected ProcessDefinitionEntity
findById(DeploymentCache deploymentCache, String processDefinitionId)
protected ProcessDefinitionEntity
findByKey(DeploymentCache deploymentCache, String processDefinitionKey)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Field Detail
-
processDefinitionId
protected String processDefinitionId
-
processDefinitionKey
protected String processDefinitionKey
-
processDefinitionTenantId
protected String processDefinitionTenantId
-
isTenantIdSet
protected boolean isTenantIdSet
-
checkReadPermission
protected final boolean checkReadPermission
-
-
Constructor Detail
-
GetDeployedProcessDefinitionCmd
public GetDeployedProcessDefinitionCmd(String processDefinitionId, boolean checkReadPermission)
-
GetDeployedProcessDefinitionCmd
public GetDeployedProcessDefinitionCmd(ProcessInstantiationBuilderImpl instantiationBuilder, boolean checkReadPermission)
-
-
Method Detail
-
execute
public ProcessDefinitionEntity execute(CommandContext commandContext)
- Specified by:
execute
in interfaceCommand<ProcessDefinitionEntity>
-
find
protected ProcessDefinitionEntity find(CommandContext commandContext)
-
findById
protected ProcessDefinitionEntity findById(DeploymentCache deploymentCache, String processDefinitionId)
-
findByKey
protected ProcessDefinitionEntity findByKey(DeploymentCache deploymentCache, String processDefinitionKey)
-
-