套件 | lc.procmgmt.domain |
類別 | public class Task |
繼承 | Task EventDispatcher Object |
實作 | IManagedObject, IManaged |
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Task
class represents a task on the Document Server. You use
the Task
class for the following reasons:
- To manage the properties of the task
- To perform operations that involve the task
- To complete the task, which causes the process instance workflow to go to the next step
For information about using this component to customize Workspace, see Customizing the Adobe Digital Enterprise Platform Document Services - Workspace 10.0 User Interface .
屬性 | 定義自 | ||
---|---|---|---|
assignments : ListCollectionView
The collection of Assignment objects for the task. | Task | ||
attachments : ListCollectionView
A collection of Attachment objects for the task. | Task | ||
canInvokeFromStartTask : Boolean [唯讀]
A flag that indicates whether the task can be used to re-initiate the
same TaskManager startpoint that was used to create the task. | Task | ||
completeTime : Date
The date and time that the task completed. | Task | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
consultGroupId : String
The group identifier that may be used when the consult operation is performed. | Task | ||
createTime : Date
The date and time that the task was created. | Task | ||
currentAssignment : Assignment
The current assignment for the task. | Task | ||
deadline : Date
The date and time the task will be deadlined. | Task | ||
description : String
The task description. | Task | ||
forwardGroupId : String
The group identifier that may be used when the forward operation is performed. | Task | ||
instructions : String
The task instructions. | Task | ||
isActive : Boolean [唯讀]
Returns whether the task is active based
on the task status. | Task | ||
isDeadlined : Boolean
A flag that indicates whether the task was deadlined. | Task | ||
isDraft : Boolean
A flag that indicates whether the task is saved as a draft. | Task | ||
isInitalTask : Boolean
Deprecated Since LiveCycle ES Update 1 (8.2): Please use isInitialTask. | Task | ||
isInitialTask : Boolean
A flag that indicates whether the task was created from an startpoint. | Task | ||
isLocked : Boolean
A flag that indicates whether the task is locked. | Task | ||
isRouteSelectionRequired : Boolean
A flag that indicates whether a route selection is required. | Task | ||
isShowAttachments : Boolean
A flag that indicates whether the attachments should be available to the user. | Task | ||
isStartTask : Boolean
A flag that indicates whether this is a newly started task. | Task | ||
nextReminder : Date
The date and time the next reminder will trigger. | Task | ||
numForms : Number
The number of forms on the task. | Task | ||
numFormsToBeSaved : Number
The number of forms to be saved on the task. | Task | ||
priority : Number
The task's priority. | Task | ||
processInstance : ProcessInstance
The process instance that owns this task. | Task | ||
processInstanceId : Number
The identifier of the process instance object that owns this task. | Task | ||
processInstanceStatus : Number
The status of the process instance. | Task | ||
processVariables : ListCollectionView
A collection of ProcessVariable objects that are related to this task. | Task | ||
reminderCount : Number
The number of reminders that were issued for this task. | Task | ||
routeList : Array
An array of route names available for this task. | Task | ||
selectedRoute : String
The selected route. | Task | ||
serviceName : String
The name of the service. | Task | ||
serviceTitle : String
The title of the service. | Task | ||
session : SessionMap [唯讀]
A SessionMap object that stores information relating to the server session. | Task | ||
status : Number
The task status. | Task | ||
stepName : String
The name of the step. | Task | ||
taskACL : lc.procmgmt.domain:TaskACL
The access control list for a task. | Task | ||
taskId : String
The task identifier. | Task | ||
trcVariableName : String
The task result collection variable name associated with the task. | Task | ||
updateTime : Date
The date and time of the last update. | Task |
方法 | 定義自 | ||
---|---|---|---|
Abandons the task. | Task | ||
Adds an attachment to the task. | Task | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
addNote(title:String, note:String, permissions:AttachmentPermissions):lc.foundation.util:ObjectToken
Adds a note to the task. | Task | ||
Retrieves a list of TaskCommand objects that are available for execution on the task. | Task | ||
Claims the task from another user or group. | Task | ||
Completes the task. | Task | ||
Consults with another user regarding assigned the task. | Task | ||
Deletes the attachment from the task. | Task | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
Forwards the task to another user. | Task | ||
Retrieves the attachment document from the task. | Task | ||
Gets the completion comment(s) for the task. | Task | ||
Retrieves an extended note. | Task | ||
Retrieves the data for a task item. | Task | ||
Retrieves the container for the task, which is useful when you want to use operations to
further manage the task. | Task | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
Invokes the startpoint that created the Task object and uses the
data from the current task as initial data for the task. | Task | ||
Returns whether the task is an LiveCycle ES (version 8.x) task. | Task | ||
Returns whether the task is a multi-user task on the Document Server. | Task | ||
Indicates whether the current user is the owner of the task. | Task | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
Returns whether the task is a single user task on the Document Server. | Task | ||
Loads the assignments for the task. | Task | ||
Loads the attachments for the task. | Task | ||
Loads the process instance for this task. | Task | ||
Loads the process variables for this task. | Task | ||
Locks the task, preventing other users from claiming the task. | Task | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
Rejects the task, which will return the task to the previous assigned user. | Task | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
Retrieves a form for a task. | Task | ||
Retrieves a collection of CompleteCommand objects, with one entry for each route. | Task | ||
Saves task item data to the server. | Task | ||
Adds a completion comment for the task. | Task | ||
Specifies a new description for the task. | Task | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
Sets the SessionMap object, which stores the information relating to the
server session. | Task | ||
Specifies the visibility of a task. | Task | ||
Shares the task with another user. | Task | ||
submitItemWithData(taskItemIndex:int, data:Object, params:Object = null):lc.foundation.util:ObjectToken
Submits the current task item and associated data to the Document Server. | Task | ||
submitItemWithPriorData(taskItemIndex:int, dataKey:Object, params:Object = null):lc.foundation.util:ObjectToken
Submits the previously saved task item data to the server. | Task | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
Unlocks the task, which allows other users to claim the task if they have access to it. | Task | ||
Updates the attachment document. | Task | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
assignments | 屬性 |
assignments:ListCollectionView
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The collection of Assignment
objects for the task. The
assignments
property is not valid until the loadAssignments
method has executed.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get assignments():ListCollectionView
public function set assignments(value:ListCollectionView):void
相關 API 元素
attachments | 屬性 |
attachments:ListCollectionView
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A collection of Attachment
objects for the task.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get attachments():ListCollectionView
public function set attachments(value:ListCollectionView):void
canInvokeFromStartTask | 屬性 |
canInvokeFromStartTask:Boolean
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A flag that indicates whether the task can be used to re-initiate the
same TaskManager startpoint that was used to create the task. A value of true
indicates that the task can be used to re-initiate the same TaskManager startpoint.
實作
public function get canInvokeFromStartTask():Boolean
completeTime | 屬性 |
completeTime:Date
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The date and time that the task completed.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get completeTime():Date
public function set completeTime(value:Date):void
consultGroupId | 屬性 |
consultGroupId:String
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The group identifier that may be used when the consult operation is performed.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get consultGroupId():String
public function set consultGroupId(value:String):void
相關 API 元素
createTime | 屬性 |
createTime:Date
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The date and time that the task was created.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get createTime():Date
public function set createTime(value:Date):void
currentAssignment | 屬性 |
currentAssignment:Assignment
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The current assignment for the task.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get currentAssignment():Assignment
public function set currentAssignment(value:Assignment):void
相關 API 元素
deadline | 屬性 |
deadline:Date
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The date and time the task will be deadlined.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get deadline():Date
public function set deadline(value:Date):void
description | 屬性 |
description:String
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The task description.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get description():String
public function set description(value:String):void
forwardGroupId | 屬性 |
forwardGroupId:String
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The group identifier that may be used when the forward operation is performed.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get forwardGroupId():String
public function set forwardGroupId(value:String):void
相關 API 元素
instructions | 屬性 |
instructions:String
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The task instructions.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get instructions():String
public function set instructions(value:String):void
isActive | 屬性 |
isActive:Boolean
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Returns whether the task is active based on the task status. Any task that has been completed, deadlined or terminated is not an active task
實作
public function get isActive():Boolean
isDeadlined | 屬性 |
isDeadlined:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A flag that indicates whether the task was deadlined. A deadlined task
can no longer be completed and must be abandoned.
The default value is false
.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get isDeadlined():Boolean
public function set isDeadlined(value:Boolean):void
isDraft | 屬性 |
isDraft:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A flag that indicates whether the task is saved as a draft.
The default value is false
.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get isDraft():Boolean
public function set isDraft(value:Boolean):void
isInitalTask | 屬性 |
isInitalTask:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Deprecated Since LiveCycle ES Update 1 (8.2): Please use isInitialTask
.
A flag that indicates whether the task has just been created from an startpoint.
The process instance is not yet created for an initial task. It is possible for
an initial task to still be forwarded to another user.
The default value is false
.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get isInitalTask():Boolean
public function set isInitalTask(value:Boolean):void
相關 API 元素
isInitialTask | 屬性 |
isInitialTask:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A flag that indicates whether the task was created from an startpoint. The
process instance is not yet created for an initial task. An
initial task can still be forwarded to another user.
The default value is false
.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get isInitialTask():Boolean
public function set isInitialTask(value:Boolean):void
isLocked | 屬性 |
isLocked:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A flag that indicates whether the task is locked.
A value of true
indicates that the task is locked.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get isLocked():Boolean
public function set isLocked(value:Boolean):void
isRouteSelectionRequired | 屬性 |
isRouteSelectionRequired:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A flag that indicates whether a route selection is required.
A value of true
indicates that a route selection is required.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get isRouteSelectionRequired():Boolean
public function set isRouteSelectionRequired(value:Boolean):void
isShowAttachments | 屬性 |
isShowAttachments:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A flag that indicates whether the attachments should be available to the user.
A value of true
indicates that attachments should be available
to the user.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get isShowAttachments():Boolean
public function set isShowAttachments(value:Boolean):void
isStartTask | 屬性 |
isStartTask:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A flag that indicates whether this is a newly started task.
A value of true
indicates that this is a newly started task.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get isStartTask():Boolean
public function set isStartTask(value:Boolean):void
nextReminder | 屬性 |
nextReminder:Date
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The date and time the next reminder will trigger.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get nextReminder():Date
public function set nextReminder(value:Date):void
numForms | 屬性 |
numForms:Number
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The number of forms on the task.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get numForms():Number
public function set numForms(value:Number):void
numFormsToBeSaved | 屬性 |
numFormsToBeSaved:Number
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The number of forms to be saved on the task.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get numFormsToBeSaved():Number
public function set numFormsToBeSaved(value:Number):void
priority | 屬性 |
priority:Number
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The task's priority. A valid value for the priority is a value from the constants
defined in the TaskConstants
class.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get priority():Number
public function set priority(value:Number):void
相關 API 元素
processInstance | 屬性 |
processInstance:ProcessInstance
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The process instance that owns this task. This property is
not valid until the loadProcessInstance
method is called.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get processInstance():ProcessInstance
public function set processInstance(value:ProcessInstance):void
相關 API 元素
processInstanceId | 屬性 |
processInstanceId:Number
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The identifier of the process instance object that owns this task. This is
used to load the ProcessInstance
object.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get processInstanceId():Number
public function set processInstanceId(value:Number):void
相關 API 元素
processInstanceStatus | 屬性 |
processInstanceStatus:Number
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The status of the process instance.
This value is a localized String
value that is processed by looking
up the numeric value in the resource bundle.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get processInstanceStatus():Number
public function set processInstanceStatus(value:Number):void
相關 API 元素
processVariables | 屬性 |
processVariables:ListCollectionView
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A collection of ProcessVariable
objects that are related to this task.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get processVariables():ListCollectionView
public function set processVariables(value:ListCollectionView):void
相關 API 元素
reminderCount | 屬性 |
reminderCount:Number
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The number of reminders that were issued for this task.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get reminderCount():Number
public function set reminderCount(value:Number):void
routeList | 屬性 |
routeList:Array
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
An array of route names available for this task.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get routeList():Array
public function set routeList(value:Array):void
selectedRoute | 屬性 |
selectedRoute:String
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The selected route. This route is used when a form is completed.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get selectedRoute():String
public function set selectedRoute(value:String):void
相關 API 元素
serviceName | 屬性 |
serviceName:String
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The name of the service.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get serviceName():String
public function set serviceName(value:String):void
serviceTitle | 屬性 |
serviceTitle:String
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The title of the service.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get serviceTitle():String
public function set serviceTitle(value:String):void
session | 屬性 |
session:SessionMap
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A SessionMap
object that stores information relating to the server session.
實作
public function get session():SessionMap
status | 屬性 |
status:Number
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The task status. It may be one of the constants
defined in the TaskConstants
class.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get status():Number
public function set status(value:Number):void
相關 API 元素
stepName | 屬性 |
stepName:String
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The name of the step.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get stepName():String
public function set stepName(value:String):void
taskACL | 屬性 |
taskACL:lc.procmgmt.domain:TaskACL
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The access control list for a task.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get taskACL():lc.procmgmt.domain:TaskACL
public function set taskACL(value:lc.procmgmt.domain:TaskACL):void
相關 API 元素
taskId | 屬性 |
taskId:String
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The task identifier.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get taskId():String
public function set taskId(value:String):void
trcVariableName | 屬性 |
trcVariableName:String
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9.0.0.1 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The task result collection variable name associated with the task.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get trcVariableName():String
public function set trcVariableName(value:String):void
updateTime | 屬性 |
updateTime:Date
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The date and time of the last update.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get updateTime():Date
public function set updateTime(value:Date):void
abandon | () | 方法 |
public function abandon():lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Abandons the task.
傳回值lc.foundation.util:Token — An object that is used to set result and fault handlers.
The result and fault handlers are called when the operation is complete.
|
addAttachment | () | 方法 |
public function addAttachment(attachment:FileReference, permissions:AttachmentPermissions):lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds an attachment to the task.
參數
attachment:FileReference — Specifies the FileReference object to be attached.
| |
permissions:AttachmentPermissions — Specifies the permissions to use for the attachment.
|
lc.foundation.util:Token — An object that represents the task to which the attachment was added.
|
addNote | () | 方法 |
public function addNote(title:String, note:String, permissions:AttachmentPermissions):lc.foundation.util:ObjectToken
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds a note to the task.
參數
title:String — Specifies the title of the note.
| |
note:String — Specifies the note content.
| |
permissions:AttachmentPermissions — Specifies the permissions to use for the attachment.
|
lc.foundation.util:ObjectToken — An object that represents the task to which the note was added.
|
availableCommands | () | 方法 |
public function availableCommands():ArrayCollection
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves a list of TaskCommand
objects that are available for execution on the task.
The available commands are also known as action commands and typically operate on the task without
completing it. The CompleteCommand
object is considered an action command
if it does not have an associated route.
ArrayCollection — An object that represents commands available for each task.
|
claim | () | 方法 |
public function claim(lock:Boolean):lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Claims the task from another user or group.
參數
lock:Boolean — Specifies whether the task will be claimed and locked,
If a value of true is specified, it will be claimed and locked; a value of false
specifies that the task is claimed but not locked.
|
lc.foundation.util:Token — An object that is used to set result and fault handlers.
The result and fault handlers are called when the operation is complete.
|
complete | () | 方法 |
public function complete():lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Completes the task. The selectedRoute
property is used
if it was supplied to the task.
lc.foundation.util:Token — An object that is used to set result and fault handlers.
The result and fault handlers are called when the operation is complete.
|
consult | () | 方法 |
public function consult(userOid:String):lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Consults with another user regarding assigned the task.
參數
userOid:String — Specifes the OID of the person to which to consult with regarding the task.
|
lc.foundation.util:Token — An object that is used to set result and fault handlers.
The result and fault handlers are called when the operation is complete.
|
deleteAttachment | () | 方法 |
public function deleteAttachment(attachmentId:String):lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Deletes the attachment from the task.
參數
attachmentId:String — Specifies the identifier of the attachment to delete.
|
lc.foundation.util:Token — An object that can be used to specify handlers for this asynchronous call.
|
forward | () | 方法 |
public function forward(userOid:String):lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Forwards the task to another user.
參數
userOid:String — Specifies the OID of the person to forward the task to.
|
lc.foundation.util:Token — An object that is used to set result and fault handlers.
The result and fault handlers are called when the operation is complete.
|
getAttachmentDocument | () | 方法 |
public function getAttachmentDocument(attachmentId:String):lc.foundation.util:ObjectToken
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the attachment document from the task.
參數
attachmentId:String — Specifies the identifier of the attachment to be retrieved.
|
lc.foundation.util:ObjectToken — An object that contains a DocumentReference object.
The returned object is used by the caller to specify handlers for this asynchronous call.
|
相關 API 元素
getCompletionComment | () | 方法 |
public function getCompletionComment():lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Gets the completion comment(s) for the task.
傳回值lc.foundation.util:Token — An object that is used to set result and fault handlers.
The result and fault handlers are called when the operation is complete.
|
getExtendedNote | () | 方法 |
public function getExtendedNote(id:String):lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves an extended note. Extended notes are files.
參數
id:String — Specifies the note identifier.
|
lc.foundation.util:Token — An object that is used to set result and fault handlers.
The result and fault handlers are called when the operation is complete.
|
getItemData | () | 方法 |
public function getItemData(taskItemIndex:int):lc.foundation.util:ObjectToken
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the data for a task item. Note that the item retrieved through renderItem
may already contain merged data.
參數
taskItemIndex:int — Specifies the task item to be returned.
|
lc.foundation.util:ObjectToken — An object that contains 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 of type XML if the data is XML; otherwise, it is of type ByteArray .
|
getTaskContainer | () | 方法 |
public function getTaskContainer():lc.foundation.util:ObjectToken
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the container for the task, which is useful when you want to use operations to further manage the task.
傳回值lc.foundation.util:ObjectToken — An object that contains a DocumentReference object.
The returned object is used by the caller to specify handlers for this asynchronous call.
|
invokeStartpointFromStartTask | () | 方法 |
public function invokeStartpointFromStartTask():lc.foundation.util:ObjectToken
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Invokes the startpoint that created the Task
object and uses the
data from the current task as initial data for the task.
lc.foundation.util:ObjectToken — An object that contains the startpoint invocation result.
A Task or a DocumentReference object is returned after successfully completing.
You can set result and fault handlers on the token to be called when the invocation is
complete and the result is returned.
If the Task object does not support the ability to be invoked
as a start task, an error is thrown.
|
isLC8Task | () | 方法 |
public function isLC8Task():Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Returns whether the task is an LiveCycle ES (version 8.x) task.
傳回值Boolean — Indicates whether the task is from a LiveCycle 8.x process.
|
isMultiUser | () | 方法 |
public function isMultiUser():Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Returns whether the task is a multi-user task on the Document Server.
傳回值Boolean — Whether the task is a multi-user or single
user task. A Boolean value that specifies whether a task is a multiuser task. A value of
true specifies that it is a multi-user task. A value of
false indicates that it is a single user task.
|
isOwner | () | 方法 |
public function isOwner():Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Indicates whether the current user is the owner of the task. To be the owner, the principal identifier of the task access control list (ACL) must be the same as that of the caller's object identifer (OID).
傳回值Boolean — Whether the current user is the owner of the
the task. A value of True indicates that the user is hte owner of the task.
A value of False indicates that the current users is not the owner of the task.
|
isSingleUser | () | 方法 |
public function isSingleUser():Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Returns whether the task is a single user task on the Document Server.
傳回值Boolean — Whether the task is a multi-user or single
user task. A value of true specifies that it is a single user task. A value of
false indicates that it is a multi-user task.
|
loadAssignments | () | 方法 |
public function loadAssignments(forceLoad:Boolean = false):lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Loads the assignments for the task. The assignments
property is not
valid until this method is executed.
參數
forceLoad:Boolean (default = false ) — Specifies to force load the assignments when a value of
true is provided.
|
lc.foundation.util:Token — An object that is used to specify handlers for this asynchronous call.
|
相關 API 元素
loadAttachments | () | 方法 |
public function loadAttachments(forceLoad:Boolean = false):lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Loads the attachments for the task.
參數
forceLoad:Boolean (default = false ) — Specifies to force load the pending tasks when a value of
true is provided.
|
lc.foundation.util:Token — An object that is used to specify handlers
for this asynchronous call.
|
loadProcessInstance | () | 方法 |
public function loadProcessInstance():lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Loads the process instance for this task.
傳回值lc.foundation.util:Token — An object that is used the specify handlers for this asynchronous call.
|
loadProcessVariables | () | 方法 |
public function loadProcessVariables():lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Loads the process variables for this task.
傳回值lc.foundation.util:Token — A token that can be used by the caller to specify handlers for this asynchronous call.
|
lock | () | 方法 |
public function lock():lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Locks the task, preventing other users from claiming the task.
傳回值lc.foundation.util:Token — An object that is used to set result and fault handlers.
The result and fault handlers are called when the operation is complete.
|
reject | () | 方法 |
public function reject():lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Rejects the task, which will return the task to the previous assigned user.
傳回值lc.foundation.util:Token — An object that is used to set result and fault handlers.
The result and fault handlers are called when the operation is complete.
|
renderItem | () | 方法 |
public function renderItem(taskItemIndex:int, params:Object = null):lc.foundation.util:ObjectToken
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves a form for a task.
參數
taskItemIndex:int — Reserved for future use.
| |
params:Object (default = null ) — Specifies an optional map of parameters for the render service.
|
lc.foundation.util:ObjectToken — An object that is used to set result and fault handlers.
The result and fault handlers are 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.
|
routeCommands | () | 方法 |
public function routeCommands():ArrayCollection
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves a collection of CompleteCommand
objects, with one entry for each route.
ArrayCollection — An object representing a collection of CompleteCommand objects.
|
saveItemData | () | 方法 |
public function saveItemData(taskItemIndex:int, data:Object):lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Saves task item data to the server.
參數
taskItemIndex:int — Reserved for future use.
| |
data:Object — Specifies the data to be saved. Must be of type XML
or ByteArray .
|
lc.foundation.util:Token — A token used to set result and fault handlers to be called when
the operation is complete.
|
setCompletionComment | () | 方法 |
public function setCompletionComment(comment:String):lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds a completion comment for the task.
參數
comment:String — Specifies the new comment.
|
lc.foundation.util:Token — An object that is used to set result and fault handlers.
The result and fault handlers are called when the operation is complete.
|
setDescription | () | 方法 |
public function setDescription(description:String):lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies a new description for the task.
參數
description:String — Specifies the new description.
|
lc.foundation.util:Token — An object that is used to set result and fault handlers.
The result and fault handlers are called when the operation is complete.
|
setSession | () | 方法 |
public function setSession(session:SessionMap):void
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Sets the SessionMap
object, which stores the information relating to the
server session.
參數
session:SessionMap — Specifies the information relating to the server session.
|
setVisible | () | 方法 |
public function setVisible(visible:Boolean):lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies the visibility of a task.
參數
visible:Boolean — Specifies whether to hide or display the task. A value of true
displays the task.
|
lc.foundation.util:Token — An object that is used to set result and fault handlers.
The result and fault handlers are called when the operation is complete.
|
share | () | 方法 |
public function share(userOid:String):lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Shares the task with another user.
參數
userOid:String — Specifies the object identifier of the person to share the task with.
|
lc.foundation.util:Token — An object that is used to set result and fault handlers.
The result and fault handlers are called when the operation is complete.
|
submitItemWithData | () | 方法 |
public function submitItemWithData(taskItemIndex:int, data:Object, params:Object = null):lc.foundation.util:ObjectToken
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Submits the current task item and associated data to the Document Server.
參數
taskItemIndex:int — Specifies the data to be submitted.
| |
data:Object — Reserved for future use.
| |
params:Object (default = null ) — Specifies an optional map of parameters for the render service.
|
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 | () | 方法 |
public function submitItemWithPriorData(taskItemIndex:int, dataKey:Object, params:Object = null):lc.foundation.util:ObjectToken
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Submits the previously saved task item data to the server.
參數
taskItemIndex:int — Reserved for future use.
| |
dataKey: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.
|
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 | () | 方法 |
public function unlock():lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Unlocks the task, which allows other users to claim the task if they have access to it.
傳回值lc.foundation.util:Token — An object that is used to set result and fault handlers.
The result and fault handlers are called when the operation is complete.
|
updateAttachment | () | 方法 |
public function updateAttachment(attachmentId:String, attachment:FileReference):lc.foundation.util:Token
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Updates the attachment document.
參數
attachmentId:String — Specifies the identifier of the attachment to be retrieved.
| |
attachment:FileReference — Specifies the FileReference object containing the attachment with updates.
|
lc.foundation.util:Token — An object that is used by the caller to specify handlers for this
asynchronous call.
|
Tue Jun 12 2018, 03:47 PM Z