| Package | lc.domain |
| Class | public class AttachmentInfo |
| Inheritance | AttachmentInfo Object |
| Implements | IWorkspaceManaged |
AttachmentInfo class provides support for managing attachments
and notes with tasks.
Notes and attachments are handled in a common manner by this class. The first 255 characters of a note are stored in the description field. If the note has more than 255 characters, it is stored in a file. The file is attached to a task in the same manner as an attachment.
| Property | Defined By | ||
|---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
| creationDate : Date
The creation date of the attachment.
| AttachmentInfo | ||
| creatorId : String
The unique identifier for the user who created the attachment or note.
| AttachmentInfo | ||
| creatorName : String
The display name of the user who created the attachment.
| AttachmentInfo | ||
| description : String
The description for the attachment.
| AttachmentInfo | ||
| fileName : String
The file name for the attachment.
| AttachmentInfo | ||
| id : String
The identifier for the attachment or note.
| AttachmentInfo | ||
| lastModifiedDate : Date
The last date the attachment was changed.
| AttachmentInfo | ||
| noteExtended : Boolean
A flag that indicates whether the note is extended.
| AttachmentInfo | ||
| permissions : AttachmentPermissions
The permissions of the attachment.
| AttachmentInfo | ||
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| session : SessionMap
[read-only]
A SessionMap object that stores information relating to the server session.
| AttachmentInfo | ||
| size : String
The size of the attachment or note in bytes.
| AttachmentInfo | ||
| taskId : String
The unique identifier for the task.
| AttachmentInfo | ||
| type : String
The type of attachment.
| AttachmentInfo | ||
| Constant | Defined By | ||
|---|---|---|---|
| TYPE_ATTACHMENT : String = "attachment" [static]
A special value that specifies an attachment is being stored.
| AttachmentInfo | ||
| TYPE_NOTE : String = "note" [static]
A special value that specifies a note is
being stored.
| AttachmentInfo | ||
| creationDate | property |
creationDate:Date [read-write] The creation date of the attachment.
public function get creationDate():Date
public function set creationDate(value:Date):void
| creatorId | property |
creatorId:String [read-write] The unique identifier for the user who created the attachment or note.
public function get creatorId():String
public function set creatorId(value:String):void
| creatorName | property |
creatorName:String [read-write] The display name of the user who created the attachment.
public function get creatorName():String
public function set creatorName(value:String):void
| description | property |
description:String [read-write] The description for the attachment. If the attachment is a note, it contains the content of the note.
public function get description():String
public function set description(value:String):void
| fileName | property |
fileName:String [read-write] The file name for the attachment.
public function get fileName():String
public function set fileName(value:String):void
| id | property |
id:String [read-write] The identifier for the attachment or note.
public function get id():String
public function set id(value:String):void
| lastModifiedDate | property |
lastModifiedDate:Date [read-write] The last date the attachment was changed.
public function get lastModifiedDate():Date
public function set lastModifiedDate(value:Date):void
| noteExtended | property |
noteExtended:Boolean [read-write] A flag that indicates whether the note is extended. Extended notes have more than 255 characters and are stored in a separate file.
A value of true indicates that the note is extended and that it
is necessary to retrieve the full notes from a file.
public function get noteExtended():Boolean
public function set noteExtended(value:Boolean):void
| permissions | property |
permissions:AttachmentPermissions [read-write] The permissions of the attachment.
public function get permissions():AttachmentPermissions
public function set permissions(value:AttachmentPermissions):void
See also
| session | property |
session:SessionMap [read-only]
A SessionMap object that stores information relating to the server session.
public function get session():SessionMap
See also
| size | property |
size:String [read-write] The size of the attachment or note in bytes.
public function get size():String
public function set size(value:String):void
| taskId | property |
taskId:String [read-write] The unique identifier for the task.
public function get taskId():String
public function set taskId(value:String):void
| type | property |
type:String [read-write] The type of attachment. It can be one of
AttachmentInfo.TYPE_ATTACHMENT or
AttachmentInfo.TYPE_NOTE.
public function get type():String
public function set type(value:String):void
| TYPE_ATTACHMENT | Constant |
public static const TYPE_ATTACHMENT:String = "attachment"
A special value that specifies an attachment is being stored.
| TYPE_NOTE | Constant |
public static const TYPE_NOTE:String = "note"
A special value that specifies a note is being stored.
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/AttachmentInfo.html