ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
lc.procmgmt.domain 

ICommand  - AS3 ADEP Workspace

Packagelc.procmgmt.domain
Interfacepublic interface ICommand
Implementors AttachmentCommand, TaskCommand, TaskFormSaveCommand, TaskFormSubmitCommand, TaskFormTakeOfflineCommand

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 ICommand interface defines a common interface for self-contained commands. The ICommand interface is implemented by command objects, allowing the encapsulation of an action and its parameters.

Classes that implement the ICommand interface wrap the execution of an operation so that they can be handled in a generic manner.



Public Properties
 PropertyDefined By
  name : String
[read-only] The name of the command.
ICommand
Public Methods
 MethodDefined By
  
Executes the default operation of the command.
ICommand
Property Detail

name

property
name:String  [read-only]

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 name of the command.



Implementation
    public function get name():String
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

Executes the default operation of the command.

Returns
lc.foundation.util:Token — A token that allows the caller to be notified when the execution is complete.

Related API Elements