Packagelc.domain
Interfacepublic interface ICommand
ImplementorsAttachmentCommand, TaskCommand, TaskFormSaveCommand, TaskFormSubmitCommand, TaskFormTakeOfflineCommand

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
nameproperty
name:String  [read-only]

The name of the command.


Implementation
    public function get name():String
Method Detail
execute()method
public function execute():Token

Executes the default operation of the command.

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

See also





 

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/ICommand.html