public abstract class AbstractSetProcessDefinitionStateCmd extends AbstractSetStateCmd
| Modifier and Type | Field and Description |
|---|---|
protected Date |
executionDate |
protected ProcessDefinitionEntity |
processDefinitionEntity |
protected String |
processDefinitionId |
protected String |
processDefinitionKey |
includeSubResources, isLogUserOperationDisabled, SUSPENSION_STATE_PROPERTY| Constructor and Description |
|---|
AbstractSetProcessDefinitionStateCmd(ProcessDefinitionEntity processDefinitionEntity,
boolean includeProcessInstances,
Date executionDate) |
AbstractSetProcessDefinitionStateCmd(String processDefinitionId,
String processDefinitionKey,
boolean includeProcessInstances,
Date executionDate) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkAuthorization(CommandContext commandContext) |
protected void |
checkParameters(CommandContext commandContext) |
protected abstract String |
getDelayedExecutionJobHandlerType()
Subclasses should return the type of the
JobHandler here. |
protected String |
getJobHandlerConfiguration() |
protected abstract AbstractSetProcessInstanceStateCmd |
getNextCommand() |
protected abstract AbstractSetJobDefinitionStateCmd |
getSetJobDefinitionStateCmd()
Subclasses should return the type of the
AbstractSetJobDefinitionStateCmd here. |
protected void |
logUserOperation(CommandContext commandContext) |
protected void |
updateSuspensionState(CommandContext commandContext,
SuspensionState suspensionState) |
disableLogUserOperation, execute, getLogEntryOperation, getNewSuspensionState, isIncludeSubResources, isLogUserOperationDisabled, scheduleSuspensionStateUpdateprotected String processDefinitionId
protected String processDefinitionKey
protected ProcessDefinitionEntity processDefinitionEntity
protected Date executionDate
public AbstractSetProcessDefinitionStateCmd(ProcessDefinitionEntity processDefinitionEntity, boolean includeProcessInstances, Date executionDate)
protected void checkParameters(CommandContext commandContext)
checkParameters in class AbstractSetStateCmdprotected void checkAuthorization(CommandContext commandContext)
checkAuthorization in class AbstractSetStateCmdprotected void updateSuspensionState(CommandContext commandContext, SuspensionState suspensionState)
updateSuspensionState in class AbstractSetStateCmdprotected String getJobHandlerConfiguration()
getJobHandlerConfiguration in class AbstractSetStateCmdprotected void logUserOperation(CommandContext commandContext)
logUserOperation in class AbstractSetStateCmdprotected abstract String getDelayedExecutionJobHandlerType()
JobHandler here. it will be used when
the user provides an execution date on which the actual state change will happen.getDelayedExecutionJobHandlerType in class AbstractSetStateCmdprotected abstract AbstractSetJobDefinitionStateCmd getSetJobDefinitionStateCmd()
AbstractSetJobDefinitionStateCmd here.
It will be used to suspend or activate the JobDefinitions.protected abstract AbstractSetProcessInstanceStateCmd getNextCommand()
getNextCommand in class AbstractSetStateCmdCopyright © 2018. All rights reserved.