org.activiti.engine.impl.cmd
类 ActivateProcessDefinitionCmd

java.lang.Object
  继承者 org.activiti.engine.impl.cmd.AbstractSetProcessDefinitionStateCmd
      继承者 org.activiti.engine.impl.cmd.ActivateProcessDefinitionCmd
所有已实现的接口:
Command<Void>

public class ActivateProcessDefinitionCmd
extends AbstractSetProcessDefinitionStateCmd

作者:
Daniel Meyer, Joram Barrez

字段摘要
 
从类 org.activiti.engine.impl.cmd.AbstractSetProcessDefinitionStateCmd 继承的字段
executionDate, includeProcessInstances, processDefinitionEntity, processDefinitionId, processDefinitionKey
 
构造方法摘要
ActivateProcessDefinitionCmd(ProcessDefinitionEntity processDefinitionEntity, boolean includeProcessInstances, Date executionDate)
           
ActivateProcessDefinitionCmd(String processDefinitionId, String processDefinitionKey, boolean includeProcessInstances, Date executionDate)
           
 
方法摘要
protected  String getDelayedExecutionJobHandlerType()
          Subclasses should return the type of the JobHandler here. it will be used when the user provides an execution date on which the actual state change will happen.
protected  SuspensionState getProcessDefinitionSuspensionState()
          Subclasses should return the wanted SuspensionState here.
protected  AbstractSetProcessInstanceStateCmd getProcessInstanceChangeStateCmd(ProcessInstance processInstance)
          Subclasses should return a Command implementation that matches the process definition state change.
 
从类 org.activiti.engine.impl.cmd.AbstractSetProcessDefinitionStateCmd 继承的方法
changeProcessDefinitionState, createTimerForDelayedExecution, execute, fetchProcessInstancesPage, findProcessDefinition
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ActivateProcessDefinitionCmd

public ActivateProcessDefinitionCmd(ProcessDefinitionEntity processDefinitionEntity,
                                    boolean includeProcessInstances,
                                    Date executionDate)

ActivateProcessDefinitionCmd

public ActivateProcessDefinitionCmd(String processDefinitionId,
                                    String processDefinitionKey,
                                    boolean includeProcessInstances,
                                    Date executionDate)
方法详细信息

getProcessDefinitionSuspensionState

protected SuspensionState getProcessDefinitionSuspensionState()
从类 AbstractSetProcessDefinitionStateCmd 复制的描述
Subclasses should return the wanted SuspensionState here.

指定者:
AbstractSetProcessDefinitionStateCmd 中的 getProcessDefinitionSuspensionState

getDelayedExecutionJobHandlerType

protected String getDelayedExecutionJobHandlerType()
从类 AbstractSetProcessDefinitionStateCmd 复制的描述
Subclasses should return the type of the JobHandler here. it will be used when the user provides an execution date on which the actual state change will happen.

指定者:
AbstractSetProcessDefinitionStateCmd 中的 getDelayedExecutionJobHandlerType

getProcessInstanceChangeStateCmd

protected AbstractSetProcessInstanceStateCmd getProcessInstanceChangeStateCmd(ProcessInstance processInstance)
从类 AbstractSetProcessDefinitionStateCmd 复制的描述
Subclasses should return a Command implementation that matches the process definition state change.

指定者:
AbstractSetProcessDefinitionStateCmd 中的 getProcessInstanceChangeStateCmd


Copyright © 2013 Alfresco. All rights reserved.