Guide de référence ActionScript® 3.0 pour la plate-forme Adobe® Flash®
Accueil  |  Masquer la liste des packages et des classes |  Packages  |  Classes  |  Nouveautés  |  Index  |  Annexes  |  Pourquoi existe-t-il du contenu en anglais ?
Filtres : Récupération des données du serveur...
Récupération des données du serveur...
lc.procmgmt 

ITaskManager  - AS3 ADEP Workspace

Packagelc.procmgmt
Interfacepublic interface ITaskManager extends IManager , IEventDispatcher

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

The ITaskManager interface contains methods and properties to retrieve and manage tasks. In general, this interface is used for retrieving and searching for tasks because most other operations should operate on the Task object. For example, use task.complete() instead of ITaskManager.complete(taskId).

Consulter les exemples

Eléments de l’API associés



Propriétés publiques
 PropriétéDéfini par
 InheritedfaultHandler : Function
The default fault handler function.
IManager
Méthodes publiques
 MéthodeDéfini par
  
Abandons the task identified by the task identifier.
ITaskManager
  
Adds an attachment to a task item.
ITaskManager
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Enregistre un objet écouteur d’événement auprès d’un objet EventDispatcher afin que l’écouteur soit averti d’un événement.
IEventDispatcher
  
Adds a note to a task item.
ITaskManager
  
Claims the task from another user or group.
ITaskManager
  
Completes task item.
ITaskManager
  
Consults with another user about the specified task.
ITaskManager
  
Deletes an attachment or note from a task item.
ITaskManager
 Inherited
Distribue un événement dans le flux d’événements.
IEventDispatcher
  
Returns the tasks returned from a search request using the provided search filter.
ITaskManager
  
Forwards the task identified, by the task identifier to another user.
ITaskManager
  
A new version of the method getTasksForProcess.
ITaskManager
  
Retrieves the collection of Assignment objects that are associated with a task identifier.
ITaskManager
  
Retrieves the collection of attachments and notes that are associated with a task.
ITaskManager
  
Gets the completion comment of a task.
ITaskManager
  
Retrieves an extended note.
ITaskManager
  
Retrieves the location, as a URL, of an image for a task.
ITaskManager
  
Retrieves the data for a task item.
ITaskManager
  
Retrieves the collection of pending tasks that are associated with the process instance identifier.
ITaskManager
  
Retrieves a collection of process variable definitions for a given task that the user participated in.
ITaskManager
  
Retrieves a specific search template.
ITaskManager
  
Retrieves a collection of search template descriptors.
ITaskManager
  
Retrieves the task that is associated with the task identifier.
ITaskManager
  
Retrieves an attachment document for a task item.
ITaskManager
  
Retrieves the task that is associated with the task identifier by using a remote object to the server.
ITaskManager
  
getTaskImageUrl(taskId:String, imageTicket:String):String
Deprecated Since LiveCycle ES Update 1 (8.2): Please use lc.procmgmt.ITaskManager.getImageUrlForTask().
ITaskManager
  
Retrieves all the tasks that a user has access to.
ITaskManager
  
Retrieves the collection of tasks that are associated with the process instance identifier.
ITaskManager
 Inherited
Determines whether the default operation is prevented.
IManager
 Inherited
Determines whether the default operation is prevented.
IManager
 Inherited
Vérifie si des écouteurs sont enregistrés auprès de l’objet EventDispatcher pour un type spécifique d’événement.
IEventDispatcher
  
Locks the task and prevents other users from claiming the task.
ITaskManager
  
Updates the task id in the session prior to submitting the task
ITaskManager
  
Rejects the task.
ITaskManager
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Supprime un écouteur de l’objet EventDispatcher.
IEventDispatcher
  
renderItem(taskId:String, taskItemIndex:int, params:Object = null):lc.foundation.util:ObjectToken
Retrieves a form for a task.
ITaskManager
  
Saves the task item data to the server.
ITaskManager
  
Sets the completion comment of a task.
ITaskManager
  
Sets the description value of a task.
ITaskManager
  
Sets the visibility of a task in searches.
ITaskManager
  
Shares a task with another user.
ITaskManager
  
submitItemWithData(taskId:String, taskItemIndex:int, data:Object, params:Object = null):lc.foundation.util:ObjectToken
Submits current task item data to the server.
ITaskManager
  
submitItemWithPriorData(taskId:String, taskItemIndex:int, resultKey:Object, params:Object = null):lc.foundation.util:ObjectToken
Submits task item data that was last saved to the server.
ITaskManager
  
Unlocks the task to allow other users to claim the task provided they have access to it.
ITaskManager
  
Updates an attachment to a task item.
ITaskManager
 Inherited
Vérifie si un écouteur d’événement est enregistré auprès de cet objet EventDispatcher ou de ses ancêtres pour le type d’événement spécifié.
IEventDispatcher
Détails de la méthode

abandon

()méthode
public function abandon(taskId:String):lc.foundation.util:Token

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Abandons the task identified by the task identifier.

Paramètres

taskId:String — Specifies the task identifier.

Valeur renvoyée
lc.foundation.util:Token — A token used to set result and fault handlers to be called when the operation is complete.

addAttachment

()méthode 
public function addAttachment(taskId:String, file:FileReference, attachmentPermissions:AttachmentPermissions):lc.foundation.util:Token

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Adds an attachment to a task item.

Paramètres

taskId:String — Specifies the identifier of the task to reject.
 
file:FileReference — Specifies the FileReference object for the attachment.
 
attachmentPermissions:AttachmentPermissions — Specifies the permissions for the attachment.

Valeur renvoyée
lc.foundation.util:Token — A token used to set result and fault handlers to be called when the operation is complete.

addNote

()méthode 
public function addNote(taskId:String, title:String, note:String, attachmentPermissions:AttachmentPermissions):lc.foundation.util:ObjectToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Adds a note to a task item.

Paramètres

taskId:String — Specifies the task identifier.
 
title:String — Specifies the title for the note.
 
note:String — Specifies the note text.
 
attachmentPermissions:AttachmentPermissions — Specifies the permissions for the attachment.

Valeur renvoyée
lc.foundation.util:ObjectToken — A token that will contain an AttachmentInfo object when the request completes. You can set result and fault handlers on the token to be called when the invocation is complete and the result is returned.

claim

()méthode 
public function claim(taskId:String, lockTask:Boolean):lc.foundation.util:Token

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Claims the task from another user or group.

Paramètres

taskId:String — Specifies the task identifier.
 
lockTask:Boolean — Specifies whether to claim and lock a task. If a value of true is provided, the task is both locked and claimed. If a value of false is provided, the task is claimed but not locked.

Valeur renvoyée
lc.foundation.util:Token — A token used to set result and fault handlers to be called when the operation is complete.

complete

()méthode 
public function complete(taskId:String, routeName:String = null):lc.foundation.util:ObjectToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Completes task item.

Paramètres

taskId:String — Specifies the task identifier.
 
routeName:String (default = null) — Specifies the selected route name if it exists.

Valeur renvoyée
lc.foundation.util:ObjectToken — A token used to set result and fault handlers to be called when the operation is complete.

consult

()méthode 
public function consult(taskId:String, userOid:String):lc.foundation.util:Token

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Consults with another user about the specified task.

Paramètres

taskId:String — Specifies the task identifier.
 
userOid:String — Specifies the OID of the person to consult with.

Valeur renvoyée
lc.foundation.util:Token — A token used to set result and fault handlers to be called when the operation is complete.

deleteAttachment

()méthode 
public function deleteAttachment(taskId:String, attachmentId:String):lc.foundation.util:Token

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Deletes an attachment or note from a task item.

Paramètres

taskId:String — Specifies the task identifier.
 
attachmentId:String — Specifies the attachment to be deleted.

Valeur renvoyée
lc.foundation.util:Token — A token used to set result and fault handlers to be called when the operation is complete.

findTasks

()méthode 
public function findTasks(searchFilter:SearchFilter):lc.foundation.util:CollectionToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Returns the tasks returned from a search request using the provided search filter.

Paramètres

searchFilter:SearchFilter — The search criteria to filter the results. It also contains a list of the fields that must be returned and up to two fields that the results are to be sorted using.

Valeur renvoyée
lc.foundation.util:CollectionToken — A token containing the task collection. The collection may not be populated yet. You can set result and fault handlers on the token to be called when the collection has been fully populated. The result collection will contain Task objects.

forward

()méthode 
public function forward(taskId:String, userOid:String):lc.foundation.util:Token

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Forwards the task identified, by the task identifier to another user.

Paramètres

taskId:String — Specifies the task identifier.
 
userOid:String — The OID of the person to forward the task to.

Valeur renvoyée
lc.foundation.util:Token — A token used to set result and fault handlers to be called when the operation is complete.

getAllTasksForProcess

()méthode 
public function getAllTasksForProcess(processId:Number, includeSubprocessTasks:Boolean):lc.foundation.util:CollectionToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 10
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

A new version of the method getTasksForProcess. The new feature introduced in getAllTasksForProcess is the capability to specify the return of tasks from subprocesses. Retrieves the collection of tasks that are associated with the process instance identifier.

Paramètres

processId:Number — Specifies the identifier of the process instance to obtain the task for.
 
includeSubprocessTasks:Boolean — Indicator if results should include tasks in sub-processes associated with the specified process instance.

Valeur renvoyée
lc.foundation.util:CollectionToken — A token containing a collection of Task objects when the request completes. You can set result and fault handlers on the token to be called when the invocation is complete and the collection is fully populated.

getAssignmentsForTask

()méthode 
public function getAssignmentsForTask(taskId:String):lc.foundation.util:CollectionToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves the collection of Assignment objects that are associated with a task identifier.

Paramètres

taskId:String — Specifies the identifier of the task.

Valeur renvoyée
lc.foundation.util:CollectionToken — A token containing a collection of Assignment objects when the request completes. You can set result and fault handlers on the token to be called when the invocation is complete and the collection is fully populated.

getAttachments

()méthode 
public function getAttachments(taskId:String):lc.foundation.util:CollectionToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves the collection of attachments and notes that are associated with a task.

Paramètres

taskId:String — Specifies the task identifier.

Valeur renvoyée
lc.foundation.util:CollectionToken — A token containing a collection of Attachment objects. You can set result and fault handlers on the token to be called when it is fully populated.

getCompletionComment

()méthode 
public function getCompletionComment(taskId:String):lc.foundation.util:ObjectToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Gets the completion comment of a task.

Paramètres

taskId:String — Specifies the task identifier.

Valeur renvoyée
lc.foundation.util:ObjectToken — A token containing the completion comment and used to set result and fault handlers to be called when the operation is complete.

getExtendedNote

()méthode 
public function getExtendedNote(taskId:String, noteId:String):lc.foundation.util:Token

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves an extended note.

Paramètres

taskId:String — Specifies the task identifier.
 
noteId:String — Specifies the attachment identifier.

Valeur renvoyée
lc.foundation.util:Token — A token used to set result and fault handlers to be called when the operation is complete.

getImageUrlForTask

()méthode 
public function getImageUrlForTask(task:lc.procmgmt.domain:Task):String

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves the location, as a URL, of an image for a task.

Paramètres

task:lc.procmgmt.domain:Task — Specifies the task for which to obtain the image URL.

Valeur renvoyée
String — A URL from which the image can be retrieved.

getItemData

()méthode 
public function getItemData(taskId:String, taskItemIndex:int):lc.foundation.util:ObjectToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves the data for a task item. The item retrieved using the renderItem method may already contain merged data.

Paramètres

taskId:String — Specifies the task identifier.
 
taskItemIndex:int — Specifies the task item to be returned.

Valeur renvoyée
lc.foundation.util:ObjectToken — A token that will contain a TaskItemResult object when the request completes. You can set result and fault handlers on the token to be called when the invocation is complete and the result is returned. The returned object is an XML type if the data is XML; otherwise, it is a ByteArray type.

getPendingTasksForProcess

()méthode 
public function getPendingTasksForProcess(processId:Number):lc.foundation.util:CollectionToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves the collection of pending tasks that are associated with the process instance identifier.

Paramètres

processId:Number — Specifies the identifier of the process instance to obtain the task for.

Valeur renvoyée
lc.foundation.util:CollectionToken — A token containing a collection of Task objects when the request completes. You can set result and fault handlers on the token to be called when the invocation is complete and the collection is fully populated.

getProcessVariablesForTask

()méthode 
public function getProcessVariablesForTask(taskId:String):lc.foundation.util:CollectionToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves a collection of process variable definitions for a given task that the user participated in.

Paramètres

taskId:String — Specifies the task identifier.

Valeur renvoyée
lc.foundation.util:CollectionToken — A token containing a collection of ProcessVariable objects when the request completes. You can set result and fault handlers on the token to be called when the invocation is complete and the collection is fully populated.

getSearchTemplate

()méthode 
public function getSearchTemplate(searchTemplateId:Number):lc.foundation.util:ObjectToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves a specific search template.

Paramètres

searchTemplateId:Number — Specifies the unique identifier of the search template.

Valeur renvoyée
lc.foundation.util:ObjectToken — A token that will contain a SearchTemplate object (as XML) when the request completes. You can set result and fault handlers on the token to be called when the invocation is complete and the result is returned.

getSearchTemplateDescriptors

()méthode 
public function getSearchTemplateDescriptors():lc.foundation.util:CollectionToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves a collection of search template descriptors.

Valeur renvoyée
lc.foundation.util:CollectionToken — A token containing a collection of SearchTemplateDescriptor objects when the request completes. You can set result and fault handlers on the token to be called when the invocation is complete and the collection is fully populated.

getTask

()méthode 
public function getTask(taskId:String):lc.foundation.util:ObjectToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves the task that is associated with the task identifier. This method uses the data service getItem method and returns an ObjectToken containing the requested Task.

Paramètres

taskId:String — Specifies the task identifier to obtain the task for.

Valeur renvoyée
lc.foundation.util:ObjectToken — A token containing the task when the request completes. You can set result and fault handlers on the token to be called when the invocation is complete.

getTaskAttachmentDocument

()méthode 
public function getTaskAttachmentDocument(taskId:String, attachmentId:String):lc.foundation.util:ObjectToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves an attachment document for a task item. The document URL should be used once only.

Paramètres

taskId:String — Specifies the task identifier.
 
attachmentId:String — Specifies the attachment identifier.

Valeur renvoyée
lc.foundation.util:ObjectToken — A token that will contain the attachment document when the request completes. You can set result and fault handlers on the token to be called when the invocation is complete and the result is returned. The returned object will be of type XML if the data is XML; otherwise, it will be of type ByteArray.

getTaskById

()méthode 
public function getTaskById(taskId:String):lc.foundation.util:ObjectToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves the task that is associated with the task identifier by using a remote object to the server.

Paramètres

taskId:String — Specifies the identifier of the task to obtain.

Valeur renvoyée
lc.foundation.util:ObjectToken — A token containing the task when the request completes. You can set result and fault handlers on the token to be called when the invocation is complete.

getTaskImageUrl

()méthode 
public function getTaskImageUrl(taskId:String, imageTicket:String):String

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Deprecated Since LiveCycle ES Update 1 (8.2): Please use lc.procmgmt.ITaskManager.getImageUrlForTask(). Retrieves the location, as a URL, of an image for a task.

Paramètres

taskId:String — Specifies the identifier of the task for which to obtain the image.
 
imageTicket:String — Specifies the imageTicket from the task.

Valeur renvoyée
String — A URL from which the image can be retrieved.

Eléments de l’API associés

getTasks

()méthode 
public function getTasks(refresh:Boolean = false):lc.foundation.util:CollectionToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves all the tasks that a user has access to.

Paramètres

refresh:Boolean (default = false) — Indicator if a refresh of the results from the server is required.

Valeur renvoyée
lc.foundation.util:CollectionToken — A token containing the task collection. The collection may not be populated yet. You can set result and fault handlers on the token to be called when the collection is fully populated. The result collection will contain Task objects.

getTasksForProcess

()méthode 
public function getTasksForProcess(processId:Number):lc.foundation.util:CollectionToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves the collection of tasks that are associated with the process instance identifier.

Paramètres

processId:Number — Specifies the identifier of the process instance to obtain the task for.

Valeur renvoyée
lc.foundation.util:CollectionToken — A token containing a collection of Task objects when the request completes. You can set result and fault handlers on the token to be called when the invocation is complete and the collection is fully populated.

lock

()méthode 
public function lock(taskId:String):lc.foundation.util:Token

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Locks the task and prevents other users from claiming the task.

Paramètres

taskId:String — Specifies the identifier of the task to lock.

Valeur renvoyée
lc.foundation.util:Token — A token used to set result and fault handlers to be called when the operation is complete.

prepareForSubmit

()méthode 
public function prepareForSubmit(taskId:String):lc.foundation.util:ObjectToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Updates the task id in the session prior to submitting the task

Paramètres

taskId:String — Specifies the task identifier.

Valeur renvoyée
lc.foundation.util:ObjectToken — A token used to set result and fault handlers to be called when the operation is complete. You can set result and fault handlers on the token to be called when the invocation is complete and the result is returned.

reject

()méthode 
public function reject(taskId:String):lc.foundation.util:Token

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Rejects the task. This will cause the task to return to the previous assigned user.

Paramètres

taskId:String — Specifies the identifier of the task to reject.

Valeur renvoyée
lc.foundation.util:Token — A token used to set result and fault handlers to be called when the operation is complete.

renderItem

()méthode 
public function renderItem(taskId:String, taskItemIndex:int, params:Object = null):lc.foundation.util:ObjectToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves a form for a task.

Paramètres

taskId:String — Specifies the task identifier.
 
taskItemIndex:int — Reserved for future use.
 
params:Object (default = null) — Specifies an optional map of parameters for the render service.

Valeur renvoyée
lc.foundation.util:ObjectToken — A token that will contain a TaskItemResult object when the request completes. You can set result and fault handlers on the token to be called when the invocation is complete and the result is returned.

saveItemData

()méthode 
public function saveItemData(taskId:String, taskItemIndex:int, data:Object):lc.foundation.util:Token

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Saves the task item data to the server.

Paramètres

taskId:String — Specifies the task identifier.
 
taskItemIndex:int — Reserved for future use.
 
data:Object — Specifies the data to be saved. The type must be an XML or ByteArray type.

Valeur renvoyée
lc.foundation.util:Token — A token used to set result and fault handlers to be called when the operation has completed.

setCompletionComment

()méthode 
public function setCompletionComment(taskId:String, comment:String):lc.foundation.util:Token

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Sets the completion comment of a task.

Paramètres

taskId:String — Specifies the task identifier.
 
comment:String — Specifies the new comment value.

Valeur renvoyée
lc.foundation.util:Token — A token used to set result and fault handlers to be called when the operation is complete.

setDescription

()méthode 
public function setDescription(taskId:String, description:String):lc.foundation.util:Token

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Sets the description value of a task.

Paramètres

taskId:String — Specifies the task identifier.
 
description:String — Specifies the new description value.

Valeur renvoyée
lc.foundation.util:Token — A token used to set result and fault handlers to be called when the operation is complete.

setVisible

()méthode 
public function setVisible(taskId:String, visible:Boolean):lc.foundation.util:Token

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Sets the visibility of a task in searches. Setting visible to false means that the task is not visible in searches. Setting visible to true means that the task is visible in searches.

Paramètres

taskId:String — Specifies the task identifier.
 
visible:Boolean — Specifies the whether the task is visible in a search.

Valeur renvoyée
lc.foundation.util:Token — A token used to set result and fault handlers to be called when the operation is complete.

share

()méthode 
public function share(taskId:String, userOid:String):lc.foundation.util:Token

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Shares a task with another user.

Paramètres

taskId:String — Specifies the task identifier.
 
userOid:String — Specifies the OID of the person to share the task with.

Valeur renvoyée
lc.foundation.util:Token — A token used to set result and fault handlers to be called when the operation is complete.

submitItemWithData

()méthode 
public function submitItemWithData(taskId:String, taskItemIndex:int, data:Object, params:Object = null):lc.foundation.util:ObjectToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Submits current task item data to the server.

Paramètres

taskId:String — Specifies the task identifier.
 
taskItemIndex:int — Specifies the data to be submitted.
 
data:Object — Reserved for future use.
 
params:Object (default = null) — Specifies a map of parameters for the render service.

Valeur renvoyée
lc.foundation.util:ObjectToken — A token that will contain a TaskItemResult object when the request completes. You can set result and fault handlers on the token to be called when the invocation is complete and the result is returned.

submitItemWithPriorData

()méthode 
public function submitItemWithPriorData(taskId:String, taskItemIndex:int, resultKey:Object, params:Object = null):lc.foundation.util:ObjectToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Submits task item data that was last saved to the server.

Paramètres

taskId:String — Specifies the task identifier.
 
taskItemIndex:int — Reserved for future use.
 
resultKey:Object — Specifies the unique key to look up data in the current session.
 
params:Object (default = null) — Specifies a map of parameters for the render service.

Valeur renvoyée
lc.foundation.util:ObjectToken — A token that will contain a TaskItemResult object when the request completes. You can set result and fault handlers on the token to be called when the invocation is complete and the result is returned.

unlock

()méthode 
public function unlock(taskId:String):lc.foundation.util:Token

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Unlocks the task to allow other users to claim the task provided they have access to it.

Paramètres

taskId:String — Specifies the task identifier.

Valeur renvoyée
lc.foundation.util:Token — A token used to set result and fault handlers to be called when the operation is complete.

updateAttachment

()méthode 
public function updateAttachment(taskId:String, attachmentId:String, file:FileReference):lc.foundation.util:Token

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Updates an attachment to a task item.

Paramètres

taskId:String — Specifies the task identifier.
 
attachmentId:String — Specifies the identifier for the attachment.
 
file:FileReference — Specifies the FileReference object for the attachment.

Valeur renvoyée
lc.foundation.util:Token — A token used to set result and fault handlers to be called when the operation is complete.
To retrieve an object that implements the ITaskManager interface from the current session:
       var taskManager:ITaskManager = WorkspaceSession.getTaskManager(session);
     




[ X ]Pourquoi existe-t-il du contenu en anglais ?
Certaines parties du Guide de référence ActionScript 3.0 sont en anglais

Tout le contenu du Guide de référence ActionScript 3.0 n’a pas été traduit dans toutes les langues. Si un élément de langage n’est pas traduit, il s’affiche en anglais. Par exemple, la classe ga.controls.HelpBox n’est traduite dans aucune langue. Ainsi, dans la version française du guide de référence, la classe ga.controls.HelpBox apparaît en anglais.