Packagelc.domain
Classpublic class DisplayAttachmentCommand
InheritanceDisplayAttachmentCommand Inheritance AttachmentCommand Inheritance Object

The DisplayAttachmentCommand class returns the task's document that is referenced by a TaskAttachmentInfo object. The document that is returned can be displayed to a user.

See also

lc.domain.Task.getAttachmentDocument()


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
  
DisplayAttachmentCommand(taskAttachmentInfo:TaskAttachmentInfo = null)
Constructor.
DisplayAttachmentCommand
  
Retrieves the attachment from the task that is being held by the TaskAttachmentInfo object.
DisplayAttachmentCommand
 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 = "DisplayAttachmentCommand"
[static] The name of the command.
DisplayAttachmentCommand
Constructor Detail
DisplayAttachmentCommand()Constructor
public function DisplayAttachmentCommand(taskAttachmentInfo:TaskAttachmentInfo = null)

Constructor.

Parameters
taskAttachmentInfo:TaskAttachmentInfo (default = null) — Specifies the TaskAttachmentInfo object that is associated with this command. When the value of null is used, the taskAttachmentInfo property must be specified before the execute() method is used.
Method Detail
execute()method
public override function execute():Token

Retrieves the attachment from the task that is being held by the TaskAttachmentInfo object.

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

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