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 

LCTaskManager  - AS3 ADEP Task Management

Packagecom.adobe.ep.taskmanagement.services
Classpublic class LCTaskManager
InheritanceLCTaskManager Inheritance TaskManager Inheritance Manager
Implements ILCTaskManager

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 TaskManager class provides the implementation for tasks that reside on the Document Server. Even though the tasks are on the Document Server, you connect through the Experience Server.



Public Methods
 MethodDefined By
  
LCTaskManager(taskManagerEndpointName:String, remotingURL:String = null, locale:String = null)
Constructor.
LCTaskManager
  
Adds a new attachment to the Document Server.
LCTaskManager
  
Invokes the Render service for the provided Task identifier.
LCTaskManager
  
Completes the task specified by the taskId parameter.
LCTaskManager
  
Delete an attachment from a task.
LCTaskManager
  
Retrieves the attachments based on a task identifier.
LCTaskManager
  
Updates an existing attachment to the Document Server.
LCTaskManager
Constructor Detail

LCTaskManager

()Constructor
public function LCTaskManager(taskManagerEndpointName:String, remotingURL:String = null, locale:String = null)

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

Constructor. To specify the taskManagerEndpointName parameter, use the LCTaskManagerServiceConstants class for the names of the endpoints provided by Document Server.

Parameters
taskManagerEndpointName:String (default = NaN) — Specifies the name of the Remoting endpoint.
 
remotingURL:String (default = null) — Specifies the remoting URL to connect to the Document Server.
 
locale:String (default = null) — Species the user locale.

Related API Elements

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: AIR 2.6, Flash Player 10.2

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.

callRenderService

()method 
public function callRenderService(taskId:String, params:Object = null):com.adobe.ep.taskmanagement.util:IObjectToken

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

Invokes the Render service for the provided Task identifier.

Parameters

taskId:String — Specifies the task identifier to render.
 
params:Object (default = null) — Specifies the parameters for the render call.

Returns
com.adobe.ep.taskmanagement.util:IObjectToken — A token to track the render call.

completeTaskWithInfo

()method 
public function completeTaskWithInfo(taskId:String, completeTaskAction: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: AIR 2.6, Flash Player 10.2

Completes the task specified by the taskId parameter.

Parameters

taskId:String — Specifies the identifier of the task to complete.
 
completeTaskAction:String — Specifies the name of the action to complete the task with. Provide a value of null if no action is required.

Returns
com.adobe.ep.taskmanagement.util:IToken — An object that is used to specify the 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: AIR 2.6, Flash Player 10.2

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: AIR 2.6, Flash Player 10.2

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.