| Package | lc.domain |
| Class | public class AttachmentCommand |
| Inheritance | AttachmentCommand Object |
| Implements | ICommand |
| Subclasses | DeleteAttachmentCommand, DisplayAttachmentCommand, SaveAttachmentCommand, UpdateAttachmentCommand |
AttachmentCommand class is a generic command that has direct association
with a TaskAttachmentInfo object. The AttachmentCommand class
should not be used directly, and should be used as the superclass for different types
of AttachmentCommand commands.
| Property | Defined By | ||
|---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
| enabled : Boolean
A flag that indicates whether the execute operation is active.
| AttachmentCommand | ||
| name : String
[read-only]
The name of the command.
| AttachmentCommand | ||
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| taskAttachmentInfo : TaskAttachmentInfo
The TaskAttachmentInfo object that is associated with this command.
| AttachmentCommand | ||
| Method | Defined By | ||
|---|---|---|---|
|
AttachmentCommand(name:String, taskAttachmentInfo:TaskAttachmentInfo = null)
Constructor.
| AttachmentCommand | ||
|
Executes the default operation of the command.
| AttachmentCommand | ||
![]() |
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 | |
| enabled | property |
public var enabled:Boolean
A flag that indicates whether the execute operation is active. If enabled is false,
the execute operation should not perform its operation.
| name | property |
| taskAttachmentInfo | property |
public var taskAttachmentInfo:TaskAttachmentInfo
The TaskAttachmentInfo object that is associated with this command.
| AttachmentCommand | () | Constructor |
public function AttachmentCommand(name:String, taskAttachmentInfo:TaskAttachmentInfo = null)
Constructor.
Parametersname:String — Specifies the name of the command.
|
|
taskAttachmentInfo:TaskAttachmentInfo (default = null) — Specifies the TaskAttachmentInfo object
that is associated with this command.
|
| execute | () | method |
public function execute():Token
Executes the default operation of the command.
ReturnsToken — A token that allows the caller to be notified when the execution is complete.
|
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/AttachmentCommand.html