Packagelc.domain
Classpublic class SaveAttachmentCommand
InheritanceSaveAttachmentCommand Inheritance AttachmentCommand Inheritance Object

The SaveAttachmentCommand class returns the task's document that is referenced by the TaskAttachmentInfo object. The caller may then use this document to save it.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedenabled : Boolean
A flag that indicates whether the execute operation is active.
AttachmentCommand
 Inheritedname : String
[read-only]
AttachmentCommand
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
 InheritedtaskAttachmentInfo : TaskAttachmentInfo
The TaskAttachmentInfo object that is associated with this command.
AttachmentCommand
Public Methods
 MethodDefined By
  
SaveAttachmentCommand(taskAttachmentInfo:TaskAttachmentInfo)
Constructor.
SaveAttachmentCommand
  
Retrieves the attachment from the task.
SaveAttachmentCommand
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  NAME : String = "SaveAttachmentCommand"
[static] The name of the command.
SaveAttachmentCommand
Constructor Detail
SaveAttachmentCommand()Constructor
public function SaveAttachmentCommand(taskAttachmentInfo:TaskAttachmentInfo)

Constructor.

Information in the specified TaskAttachmentInfo object is used to calculate the command's enabled property.

Parameters
taskAttachmentInfo:TaskAttachmentInfo — Specifies the TaskAttachmentInfo object that is associated with this command.
Method Detail
execute()method
public override function execute():Token

Retrieves the attachment from the task. The task is stored by the TaskAttachmentInfo object.

Returns
Token — A token that allows the caller to be notified when the execution is complete.
Constant Detail
NAMEConstant
public static const NAME:String = "SaveAttachmentCommand"

The name of the command.





 

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