| Package | lc.domain |
| Class | public class TaskCommand |
| Inheritance | TaskCommand Object |
| Implements | ICommand |
| Subclasses | AbandonCommand, ClaimCommand, CompleteCommand, LockCommand, RejectCommand, SetVisibleCommand, TaskUserCommand, UnlockCommand |
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.
| Property | Defined By | ||
|---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
| name : String
[read-only]
The name of the command for the task.
| TaskCommand | ||
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| task : Task
The task that is associated with the command.
| TaskCommand | ||
| Method | Defined By | ||
|---|---|---|---|
|
Constructor.
| TaskCommand | ||
|
Retrieves a Token object to allow the caller to be notified when
the execution is complete.
| TaskCommand | ||
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
| name | property |
name:String [read-only] The name of the command for the task.
public function get name():String
| task | property |
public var task:Task
The task that is associated with the command. When the command gets executed, the execution is against the current task.
The default value is null.
| TaskCommand | () | Constructor |
public function TaskCommand(task:Task, name:String)
Constructor.
Parameterstask:Task — Specifies the task to be associated with the command.
|
|
name:String — Specifies the name of the command.
|
| execute | () | method |
public function execute():Token
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.
Token — A token that allows the caller to be notified when the execution is complete.
The default behavior of this method is to return a null Token
object.
|
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/lc/domain/TaskCommand.html