Packagelc.domain
Classpublic class UpdateAttachmentCommand
InheritanceUpdateAttachmentCommand Inheritance AttachmentCommand Inheritance Object

The UpdateAttachmentCommand class will update this attachment from the task being held by the TaskAttachmentInfo object.

See also

lc.domain.Task.updateAttachment()


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
  
UpdateAttachmentCommand(taskAttachmentInfo:TaskAttachmentInfo)
Constructor.
UpdateAttachmentCommand
  
Updates the attachment from the task being stored by the TaskAttachmentInfo object.
UpdateAttachmentCommand
 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 = "UpdateAttachmentCommand"
[static] The name of the command.
UpdateAttachmentCommand
Constructor Detail
UpdateAttachmentCommand()Constructor
public function UpdateAttachmentCommand(taskAttachmentInfo:TaskAttachmentInfo)

Constructor.

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

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

Updates the attachment from the task being stored by the TaskAttachmentInfo object.

Returns
Token — A token that notifies the caller when the update is complete.
Constant Detail
NAMEConstant
public static const NAME:String = "UpdateAttachmentCommand"

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