Packagelc.domain
Classpublic class AttachmentInfo
InheritanceAttachmentInfo Inheritance Object
Implements IWorkspaceManaged

The 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.



Public Properties
 PropertyDefined By
 Inheritedconstructor : 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
 Inheritedprototype : 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
Public Methods
 MethodDefined By
 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
  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
Property Detail
creationDateproperty
creationDate:Date  [read-write]

The creation date of the attachment.


Implementation
    public function get creationDate():Date
    public function set creationDate(value:Date):void
creatorIdproperty 
creatorId:String  [read-write]

The unique identifier for the user who created the attachment or note.


Implementation
    public function get creatorId():String
    public function set creatorId(value:String):void
creatorNameproperty 
creatorName:String  [read-write]

The display name of the user who created the attachment.


Implementation
    public function get creatorName():String
    public function set creatorName(value:String):void
descriptionproperty 
description:String  [read-write]

The description for the attachment. If the attachment is a note, it contains the content of the note.


Implementation
    public function get description():String
    public function set description(value:String):void
fileNameproperty 
fileName:String  [read-write]

The file name for the attachment.


Implementation
    public function get fileName():String
    public function set fileName(value:String):void
idproperty 
id:String  [read-write]

The identifier for the attachment or note.


Implementation
    public function get id():String
    public function set id(value:String):void
lastModifiedDateproperty 
lastModifiedDate:Date  [read-write]

The last date the attachment was changed.


Implementation
    public function get lastModifiedDate():Date
    public function set lastModifiedDate(value:Date):void
noteExtendedproperty 
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.


Implementation
    public function get noteExtended():Boolean
    public function set noteExtended(value:Boolean):void
permissionsproperty 
permissions:AttachmentPermissions  [read-write]

The permissions of the attachment.


Implementation
    public function get permissions():AttachmentPermissions
    public function set permissions(value:AttachmentPermissions):void

See also

sessionproperty 
session:SessionMap  [read-only]

A SessionMap object that stores information relating to the server session.


Implementation
    public function get session():SessionMap

See also

sizeproperty 
size:String  [read-write]

The size of the attachment or note in bytes.


Implementation
    public function get size():String
    public function set size(value:String):void
taskIdproperty 
taskId:String  [read-write]

The unique identifier for the task.


Implementation
    public function get taskId():String
    public function set taskId(value:String):void
typeproperty 
type:String  [read-write]

The type of attachment. It can be one of AttachmentInfo.TYPE_ATTACHMENT or AttachmentInfo.TYPE_NOTE.


Implementation
    public function get type():String
    public function set type(value:String):void
Constant Detail
TYPE_ATTACHMENTConstant
public static const TYPE_ATTACHMENT:String = "attachment"

A special value that specifies an attachment is being stored.

TYPE_NOTEConstant 
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