包 | lc.procmgmt.commands |
类 | public class TaskCommand |
继承 | TaskCommand Object |
实现 | ICommand |
子类 | AbandonCommand, ClaimAndOpenCommand, ClaimCommand, CompleteCommand, EditDescriptionCommand, InitiateFromStartTaskCommand, LockCommand, RejectCommand, SetVisibleCommand, TaskUserCommand, UnlockCommand |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
TaskCommand
class is a generic command that has direct association
with a Task
object. The TaskCommand
class should not be
used directly but extended by different types of commands for tasks.
公共属性
属性 | 由以下参数定义 | ||
---|---|---|---|
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
name : String [只读]
The name of the command for the task. | TaskCommand | ||
task : lc.procmgmt.domain:Task
The task that is associated with the command. | TaskCommand |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
Constructor. | TaskCommand | ||
Retrieves a Token object to allow the caller to be notified when
the execution is complete. | TaskCommand | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object |
属性详细信息
name | 属性 |
task | 属性 |
public var task:lc.procmgmt.domain:Task
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The task that is associated with the command.
默认值为 null。
构造函数详细信息
TaskCommand | () | 构造函数 |
public function TaskCommand(task:lc.procmgmt.domain:Task, name:String)
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructor.
参数task:lc.procmgmt.domain:Task — Specifies the task to be associated with the command.
| |
name:String — Specifies the name of the command.
|
方法详细信息
execute | () | 方法 |
public function execute():lc.foundation.util:Token
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves a Token
object to allow the caller to be notified when
the execution is complete.
The execute
method must be overridden by the subclass.
Classes that extend the TaskCommand
class should write their own execution
code within the execute
method.
lc.foundation.util:Token — A token that allows the caller to be notified when the execution is complete.
|
Tue Jun 12 2018, 11:04 AM Z