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 java.lang.Object implements Command<ProcessDefinitionEntity>
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
checkReadPermission
protected boolean
isTenantIdSet
protected java.lang.String
processDefinitionId
protected java.lang.String
processDefinitionKey
protected java.lang.String
processDefinitionTenantId
-
Constructor Summary
Constructors Constructor Description GetDeployedProcessDefinitionCmd(java.lang.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, java.lang.String processDefinitionId)
protected ProcessDefinitionEntity
findByKey(DeploymentCache deploymentCache, java.lang.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 java.lang.String processDefinitionId
-
processDefinitionKey
protected java.lang.String processDefinitionKey
-
processDefinitionTenantId
protected java.lang.String processDefinitionTenantId
-
isTenantIdSet
protected boolean isTenantIdSet
-
checkReadPermission
protected final boolean checkReadPermission
-
-
Constructor Detail
-
GetDeployedProcessDefinitionCmd
public GetDeployedProcessDefinitionCmd(java.lang.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, java.lang.String processDefinitionId)
-
findByKey
protected ProcessDefinitionEntity findByKey(DeploymentCache deploymentCache, java.lang.String processDefinitionKey)
-
-