public class SuspendProcessDefinitionCmd extends AbstractSetProcessDefinitionStateCmd
executionDate, processDefinitionEntity, processDefinitionId, processDefinitionKeyincludeSubResources, isLogUserOperationDisabled, SUSPENSION_STATE_PROPERTY| Constructor and Description |
|---|
SuspendProcessDefinitionCmd(ProcessDefinitionEntity processDefinitionEntity,
boolean includeProcessInstances,
Date executionDate) |
SuspendProcessDefinitionCmd(String processDefinitionId,
String processDefinitionKey,
boolean suspendProcessInstances,
Date suspensionDate) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDelayedExecutionJobHandlerType()
Subclasses should return the type of the
JobHandler here. |
protected String |
getLogEntryOperation() |
protected SuspensionState |
getNewSuspensionState() |
protected SuspendProcessInstanceCmd |
getNextCommand() |
protected AbstractSetJobDefinitionStateCmd |
getSetJobDefinitionStateCmd()
Subclasses should return the type of the
AbstractSetJobDefinitionStateCmd here. |
checkAuthorization, checkParameters, getJobHandlerConfiguration, logUserOperation, updateSuspensionStatedisableLogUserOperation, execute, isIncludeSubResources, isLogUserOperationDisabled, scheduleSuspensionStateUpdatepublic SuspendProcessDefinitionCmd(ProcessDefinitionEntity processDefinitionEntity, boolean includeProcessInstances, Date executionDate)
protected SuspensionState getNewSuspensionState()
getNewSuspensionState in class AbstractSetStateCmdprotected String getDelayedExecutionJobHandlerType()
AbstractSetProcessDefinitionStateCmdJobHandler here. it will be used when
the user provides an execution date on which the actual state change will happen.getDelayedExecutionJobHandlerType in class AbstractSetProcessDefinitionStateCmdprotected AbstractSetJobDefinitionStateCmd getSetJobDefinitionStateCmd()
AbstractSetProcessDefinitionStateCmdAbstractSetJobDefinitionStateCmd here.
It will be used to suspend or activate the JobDefinitions.getSetJobDefinitionStateCmd in class AbstractSetProcessDefinitionStateCmdprotected SuspendProcessInstanceCmd getNextCommand()
getNextCommand in class AbstractSetProcessDefinitionStateCmdprotected String getLogEntryOperation()
getLogEntryOperation in class AbstractSetStateCmdCopyright © 2018. All rights reserved.