ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.ep.taskmanagement.services 

IAttachmentManager  - AS3 ADEP Task Management

Packagecom.adobe.ep.taskmanagement.services
Interfacepublic interface IAttachmentManager

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The IAttachmentManagerinterface retrieves and manages attachments associated with tasks.



Public Methods
 MethodDefined By
  
Adds a new attachment to the Document Server.
IAttachmentManager
  
Delete an attachment from a task.
IAttachmentManager
  
Retrieves the attachments based on a task identifier.
IAttachmentManager
  
Updates an existing attachment to the Document Server.
IAttachmentManager
Method Detail

addAttachment

()method
public function addAttachment(taskId:String, file:FileReference, attachmentPermissions:IAttachmentPermissions, assertionId:String = null):com.adobe.ep.taskmanagement.util:IToken

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: Flash Player 10.2, AIR 2.6

Adds a new attachment to the Document Server.

Parameters

taskId:String — Specifies the target task for this attachment operation.
 
file:FileReference — Specifies the file to add as the attachment.
 
attachmentPermissions:IAttachmentPermissions — Specifies the permissions of the attachment.
 
assertionId:String (default = null) — Specifies the assertion string. This parameter is required when uploading attachments using the Mozilla FireFox web browser.

Returns
com.adobe.ep.taskmanagement.util:IToken — An object that is used the specify handlers for this asynchronous call.

deleteAttachment

()method 
public function deleteAttachment(taskId:String, attachmentId:String):com.adobe.ep.taskmanagement.util:IToken

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: Flash Player 10.2, AIR 2.6

Delete an attachment from a task.

Parameters

taskId:String — Specifies the task identifier from which to delete an attachment.
 
attachmentId:String — Specifies the identifier of the attachment to delete from the task.

Returns
com.adobe.ep.taskmanagement.util:IToken — An object that is used the specify handlers for this asynchronous call.

getAttachmentList

()method 
public function getAttachmentList(taskId:String):com.adobe.ep.taskmanagement.util:ICollectionToken

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: Flash Player 10.2, AIR 2.6

Retrieves the attachments based on a task identifier.

Parameters

taskId:String — Specifies the task identifier from which to retrieve the list of attachments.

Returns
com.adobe.ep.taskmanagement.util:ICollectionToken — A collection of attachment info objects.

updateAttachment

()method 
public function updateAttachment(taskId:String, attachmentId:String, file:FileReference, assertionId:String = null):com.adobe.ep.taskmanagement.util:IToken

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Updates an existing attachment to the Document Server.

Parameters

taskId:String — identifies the target task for this attachment operation.
 
attachmentId:String — id of the attachment to update.
 
file:FileReference — the new contents of the attachment.
 
assertionId:String (default = null) — assertion string only required when updating attachments in FireFox

Returns
com.adobe.ep.taskmanagement.util:IToken — An object that is used the specify handlers for this asynchronous call.