Package | lc.procmgmt.commands |
Class | public class TaskCommand |
Inheritance | TaskCommand Object |
Implements | ICommand |
Subclasses | AbandonCommand, ClaimAndOpenCommand, ClaimCommand, CompleteCommand, EditDescriptionCommand, InitiateFromStartTaskCommand, LockCommand, RejectCommand, SetVisibleCommand, TaskUserCommand, UnlockCommand |
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtime Versions: | 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.
Public Properties
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 | ||
task : lc.procmgmt.domain:Task
The task that is associated with the command. | TaskCommand |
Public Methods
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 this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Property Detail
name | property |
task | property |
public var task:lc.procmgmt.domain:Task
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The task that is associated with the command.
The default value is null.
Constructor Detail
TaskCommand | () | Constructor |
public function TaskCommand(task:lc.procmgmt.domain:Task, name:String)
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructor.
Parameterstask:lc.procmgmt.domain:Task — Specifies the task to be associated with the command.
| |
name:String — Specifies the name of the command.
|
Method Detail
execute | () | method |
public function execute():lc.foundation.util:Token
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtime Versions: | 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.
|
Thu Dec 6 2018, 01:12 PM -08:00