套件 | 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, 03:47 PM Z