public class ActivateProcessDefinitionCmd extends AbstractSetProcessDefinitionStateCmd
executionDate, processDefinitionEntity, processDefinitionId, processDefinitionKey
includeSubResources, isLogUserOperationDisabled, SUSPENSION_STATE_PROPERTY
Constructor and Description |
---|
ActivateProcessDefinitionCmd(ProcessDefinitionEntity processDefinitionEntity,
boolean includeProcessInstances,
Date executionDate) |
ActivateProcessDefinitionCmd(String processDefinitionId,
String processDefinitionKey,
boolean includeProcessInstances,
Date executionDate) |
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 ActivateProcessInstanceCmd |
getNextCommand() |
protected AbstractSetJobDefinitionStateCmd |
getSetJobDefinitionStateCmd()
Subclasses should return the type of the
AbstractSetJobDefinitionStateCmd here. |
checkAuthorization, checkParameters, getJobHandlerConfiguration, logUserOperation, updateSuspensionState
disableLogUserOperation, execute, isIncludeSubResources, isLogUserOperationDisabled, scheduleSuspensionStateUpdate
public ActivateProcessDefinitionCmd(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 ActivateProcessInstanceCmd getNextCommand()
getNextCommand
in class AbstractSetProcessDefinitionStateCmd
protected String getLogEntryOperation()
getLogEntryOperation
in class AbstractSetStateCmd
Copyright © 2018. All rights reserved.