org.camunda.bpm.engine.impl.cmd
Class AbstractSetJobStateCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
      extended by org.camunda.bpm.engine.impl.cmd.AbstractSetJobStateCmd
All Implemented Interfaces:
Command<Void>
Direct Known Subclasses:
ActivateJobCmd, SuspendJobCmd

public abstract class AbstractSetJobStateCmd
extends AbstractSetStateCmd

Author:
roman.smirnov

Field Summary
protected  String jobDefinitionId
           
protected  String jobId
           
protected  String processDefinitionId
           
protected  String processDefinitionKey
           
protected  String processInstanceId
           
 
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
executionDate, includeSubResources, isLogUserOperationDisabled, SUSPENSION_STATE_PROPERTY
 
Constructor Summary
AbstractSetJobStateCmd(String jobId, String jobDefinitionId, String processInstanceId, String processDefinitionId, String processDefinitionKey)
           
 
Method Summary
protected  void checkAuthorization(CommandContext commandContext)
           
protected  void checkParameters(CommandContext commandContext)
           
protected  void logUserOperation(CommandContext commandContext)
           
protected  void updateSuspensionState(CommandContext commandContext, SuspensionState suspensionState)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
disableLogUserOperation, execute, getDelayedExecutionJobHandlerType, getJobHandlerConfiguration, getLogEntryOperation, getNewSuspensionState, getNextCommand, isIncludeSubResources, isLogUserOperationDisabled, scheduleSuspensionStateUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jobId

protected String jobId

jobDefinitionId

protected String jobDefinitionId

processInstanceId

protected String processInstanceId

processDefinitionId

protected String processDefinitionId

processDefinitionKey

protected String processDefinitionKey
Constructor Detail

AbstractSetJobStateCmd

public AbstractSetJobStateCmd(String jobId,
                              String jobDefinitionId,
                              String processInstanceId,
                              String processDefinitionId,
                              String processDefinitionKey)
Method Detail

checkParameters

protected void checkParameters(CommandContext commandContext)
Specified by:
checkParameters in class AbstractSetStateCmd

checkAuthorization

protected void checkAuthorization(CommandContext commandContext)
Specified by:
checkAuthorization in class AbstractSetStateCmd

updateSuspensionState

protected void updateSuspensionState(CommandContext commandContext,
                                     SuspensionState suspensionState)
Specified by:
updateSuspensionState in class AbstractSetStateCmd

logUserOperation

protected void logUserOperation(CommandContext commandContext)
Specified by:
logUserOperation in class AbstractSetStateCmd


Copyright © 2015 camunda services GmbH. All rights reserved.