org.activiti.engine.impl.cmd
类 ClaimTaskCmd

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

public class ClaimTaskCmd
extends NeedsActiveTaskCmd<Void>

作者:
Joram Barrez
另请参见:
序列化表格

字段摘要
protected  String userId
           
 
从类 org.activiti.engine.impl.cmd.NeedsActiveTaskCmd 继承的字段
taskId
 
构造方法摘要
ClaimTaskCmd(String taskId, String userId)
           
 
方法摘要
protected  Void execute(CommandContext commandContext, TaskEntity task)
          Subclasses must implement in this method their normal command logic.
protected  String getSuspendedTaskException()
          Subclasses can override this method to provide a customized exception message that will be thrown when the task is suspended.
 
从类 org.activiti.engine.impl.cmd.NeedsActiveTaskCmd 继承的方法
execute
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

userId

protected String userId
构造方法详细信息

ClaimTaskCmd

public ClaimTaskCmd(String taskId,
                    String userId)
方法详细信息

execute

protected Void execute(CommandContext commandContext,
                       TaskEntity task)
从类 NeedsActiveTaskCmd 复制的描述
Subclasses must implement in this method their normal command logic. The provided task is ensured to be active.

指定者:
NeedsActiveTaskCmd<Void> 中的 execute

getSuspendedTaskException

protected String getSuspendedTaskException()
从类 NeedsActiveTaskCmd 复制的描述
Subclasses can override this method to provide a customized exception message that will be thrown when the task is suspended.

覆盖:
NeedsActiveTaskCmd<Void> 中的 getSuspendedTaskException


Copyright © 2013 Alfresco. All rights reserved.