Packagelc.domain
Classpublic class DeleteAttachmentCommand
InheritanceDeleteAttachmentCommand Inheritance AttachmentCommand Inheritance Object

The DeleteAttachmentCommand class will delete this attachment from the task being held by the TaskAttachmentInfo object.

See also

lc.domain.Task.deleteAttachment()


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
  
DeleteAttachmentCommand(taskAttachmentInfo:TaskAttachmentInfo)
Constructor.
DeleteAttachmentCommand
  
Deletes the attachment from the task.
DeleteAttachmentCommand
 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 = "DeleteAttachmentCommand"
[static] The name of the command.
DeleteAttachmentCommand
Constructor Detail
DeleteAttachmentCommand()Constructor
public function DeleteAttachmentCommand(taskAttachmentInfo:TaskAttachmentInfo)

Constructor.

Information in the passed TaskAttachmentInfo object is used to determine 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

Deletes 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 deletion is complete.
Constant Detail
NAMEConstant
public static const NAME:String = "DeleteAttachmentCommand"

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