public class SuspendProcessDefinitionCmd extends AbstractSetProcessDefinitionStateCmd
executionDate, processDefinitionEntity, processDefinitionId, processDefinitionKey
includeSubResources, 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, updateSuspensionState
disableLogUserOperation, execute, isIncludeSubResources, isLogUserOperationDisabled, scheduleSuspensionStateUpdate
public SuspendProcessDefinitionCmd(ProcessDefinitionEntity processDefinitionEntity, boolean includeProcessInstances, Date executionDate)
protected SuspensionState getNewSuspensionState()
getNewSuspensionState
in class AbstractSetStateCmd
protected String getDelayedExecutionJobHandlerType()
AbstractSetProcessDefinitionStateCmd
JobHandler
here. it will be used when
the user provides an execution date on which the actual state change will happen.getDelayedExecutionJobHandlerType
in class AbstractSetProcessDefinitionStateCmd
protected AbstractSetJobDefinitionStateCmd getSetJobDefinitionStateCmd()
AbstractSetProcessDefinitionStateCmd
AbstractSetJobDefinitionStateCmd
here.
It will be used to suspend or activate the JobDefinition
s.getSetJobDefinitionStateCmd
in class AbstractSetProcessDefinitionStateCmd
protected SuspendProcessInstanceCmd getNextCommand()
getNextCommand
in class AbstractSetProcessDefinitionStateCmd
protected String getLogEntryOperation()
getLogEntryOperation
in class AbstractSetStateCmd
Copyright © 2018. All rights reserved.