org.camunda.bpm.engine.impl.cmd
Class AbstractSetStateCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
- All Implemented Interfaces:
- Command<Void>
- Direct Known Subclasses:
- AbstractSetJobDefinitionStateCmd, AbstractSetJobStateCmd, AbstractSetProcessDefinitionStateCmd, AbstractSetProcessInstanceStateCmd
public abstract class AbstractSetStateCmd
- extends Object
- implements Command<Void>
- Author:
- Roman Smirnov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUSPENSION_STATE_PROPERTY
protected static final String SUSPENSION_STATE_PROPERTY
- See Also:
- Constant Field Values
includeSubResources
protected boolean includeSubResources
isLogUserOperationDisabled
protected boolean isLogUserOperationDisabled
executionDate
protected Date executionDate
AbstractSetStateCmd
public AbstractSetStateCmd(boolean includeSubResources,
Date executionDate)
execute
public Void execute(CommandContext commandContext)
- Specified by:
execute
in interface Command<Void>
triggerHistoryEvent
protected void triggerHistoryEvent(CommandContext commandContext)
disableLogUserOperation
public void disableLogUserOperation()
isLogUserOperationDisabled
protected boolean isLogUserOperationDisabled()
isIncludeSubResources
protected boolean isIncludeSubResources()
scheduleSuspensionStateUpdate
protected void scheduleSuspensionStateUpdate(CommandContext commandContext)
getDelayedExecutionJobHandlerType
protected String getDelayedExecutionJobHandlerType()
getJobHandlerConfiguration
protected JobHandlerConfiguration getJobHandlerConfiguration()
getNextCommand
protected AbstractSetStateCmd getNextCommand()
checkAuthorization
protected abstract void checkAuthorization(CommandContext commandContext)
checkParameters
protected abstract void checkParameters(CommandContext commandContext)
updateSuspensionState
protected abstract void updateSuspensionState(CommandContext commandContext,
SuspensionState suspensionState)
logUserOperation
protected abstract void logUserOperation(CommandContext commandContext)
getLogEntryOperation
protected abstract String getLogEntryOperation()
getNewSuspensionState
protected abstract SuspensionState getNewSuspensionState()
Copyright © 2018 camunda services GmbH. All rights reserved.