public class ActivateProcessDefinitionCmd extends AbstractSetProcessDefinitionStateCmd
executionDate, processDefinitionEntity, processDefinitionId, processDefinitionKeyincludeSubResources, 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, updateSuspensionStatedisableLogUserOperation, execute, isIncludeSubResources, isLogUserOperationDisabled, scheduleSuspensionStateUpdatepublic ActivateProcessDefinitionCmd(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 ActivateProcessInstanceCmd getNextCommand()
getNextCommand in class AbstractSetProcessDefinitionStateCmdprotected String getLogEntryOperation()
getLogEntryOperation in class AbstractSetStateCmdCopyright © 2018. All rights reserved.