| 套件 | lc.procmgmt.ui.task |
| 類別 | public class TaskDirectiveModel |
| 繼承 | TaskDirectiveModel PresentationModel EventDispatcher Object |
| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
TaskDirectiveModel class acts as the model for the
TaskDirective component.
The TaskDirectiveModel class is responsible for enabling
a TaskUserCommand object to be executed with a selected
User object.
相關 API 元素
lc.procmgmt.domain.Task
lc.procmgmt.commands.TaskUserCommand
lc.procmgmt.commands.ForwardCommand
lc.procmgmt.commands.ShareCommand
lc.procmgmt.commands.ConsultCommand
| 屬性 | 定義自 | ||
|---|---|---|---|
| command : lc.procmgmt.commands:TaskUserCommand
The command object that drives the behavior of the model. | TaskDirectiveModel | ||
| commandInstructions : String [唯讀]
Retrieves the localized instructions that are associated with the
command. | TaskDirectiveModel | ||
![]() | constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | |
| errorMessage : Message [唯讀]
The error message when an error occurs. | TaskDirectiveModel | ||
| isAddEnabled : Boolean [唯讀]
A flag that indicates whether a user was added based on a certain condition. | TaskDirectiveModel | ||
| isExecuteEnabled : Boolean [唯讀]
A flag that indicates whether the condition for executing the task directive
was satisfied. | TaskDirectiveModel | ||
| isRemoveEnabled : Boolean [唯讀]
A flag that indicates whether the condition for removing a user is satisfied. | TaskDirectiveModel | ||
| omitUserOids : ListCollectionView [唯讀]
The list of users to remove from the searches. | TaskDirectiveModel | ||
| selectedUser : User [唯讀]
The current selected user. | TaskDirectiveModel | ||
| selectedUsers : ListCollectionView [唯讀]
The collection of users that were selected from the
UserSearchDataGridModel object. | TaskDirectiveModel | ||
| serviceName : String [唯讀]
The service name of the task. | TaskDirectiveModel | ||
![]() | session : SessionMap
A SessionMap object that stores information relating to the server session. | PresentationModel | |
![]() | state : String [唯讀]
The name of the state the current view is in. | PresentationModel | |
| userSearchDataGridModel : UserSearchDataGridModel
The UserSearchDataGridModel object provides the results of a
user search. | TaskDirectiveModel | ||
| 方法 | 定義自 | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | |
Adds the selected users from the UserSearchDataGridModel object to
the selectedUsers property. | TaskDirectiveModel | ||
![]() | bindProperty(destination:Object, destinationProperty:String, source:Object, sourceChain:Object, commitOnly:Boolean = false):ChangeWatcher
Binds a public property on the destination object from a property or
property chain on the source object. | PresentationModel | |
Cancels the command. | TaskDirectiveModel | ||
![]() |
會將事件傳送到事件流程。 | EventDispatcher | |
Invokes the associated command object's execute method. | TaskDirectiveModel | ||
![]() |
Returns the corresponding cascading style sheet (CSS) property to use based on the specified parameters. | PresentationModel | |
![]() |
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | |
![]() |
指出物件是否有已定義的指定屬性。 | Object | |
[覆寫]
Initializes the presentation model after the view bindings
are processed to prevent view bindings from overriding the initial model state. | TaskDirectiveModel | ||
![]() |
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | |
![]() |
指出指定的屬性是否存在,以及是否可列舉。 | Object | |
![]() |
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | |
Resets the selectdUsers property to an empty value
(null). | TaskDirectiveModel | ||
Resets the model to the original state and reinitalizes
the properties back to default values. | TaskDirectiveModel | ||
![]() |
為迴圈作業設定動態屬性的可用性。 | Object | |
![]() |
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | |
![]() |
會傳回指定之物件的字串形式。 | Object | |
![]() |
會傳回指定之物件的基本值。 | Object | |
![]() |
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher | |
| 方法 | 定義自 | ||
|---|---|---|---|
[覆寫]
Sets the state property to a new value and causes a PropertyChangeEvent event. | TaskDirectiveModel | ||
| 事件 | 摘要 | 定義自 | ||
|---|---|---|---|---|
![]() | [廣播事件] 當 Flash Player 或 AIR 應用程式取得作業系統焦點並成為作用中時傳送。 | EventDispatcher | ||
| Dispatched on the request to cancel the command. | TaskDirectiveModel | |||
| Dispatched on successful execution of the command. | TaskDirectiveModel | |||
![]() | [廣播事件] 當 Flash Player 或 AIR 應用程式失去作業系統焦點並成為非作用中時傳送。 | EventDispatcher | ||
| 常數 | 定義自 | ||
|---|---|---|---|
| STATE_ERROR : String = "errorState" [靜態]
A special value that specifies that an error occurred. | TaskDirectiveModel | ||
| STATE_INITIAL : String = "initialState" [靜態]
A special value that specifies that the model is initializing. | TaskDirectiveModel | ||
| STATE_IN_PROGRESS : String = "inProgressState" [靜態]
A special value that specifies that a search operation is occuring. | TaskDirectiveModel | ||
| STATE_SEARCH_COMPLETE : String = "searchCompleteState" [靜態]
A special value that specifies that a search has completed. | TaskDirectiveModel | ||
command | 屬性 |
command:lc.procmgmt.commands:TaskUserCommand| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The command object that drives the behavior of the model. Different
commands have different instructions and images associated with them.
實作
public function get command():lc.procmgmt.commands:TaskUserCommand public function set command(value:lc.procmgmt.commands:TaskUserCommand):voidcommandInstructions | 屬性 |
commandInstructions:String [唯讀] | 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the localized instructions that are associated with the command.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange 事件。
實作
public function get commandInstructions():StringerrorMessage | 屬性 |
errorMessage:Message [唯讀] | 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The error message when an error occurs.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange 事件。
實作
public function get errorMessage():MessageisAddEnabled | 屬性 |
isAddEnabled: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 user was added based on a certain condition.
A value of true is returned if a user was
selected within the UserSearchDataGridModel object.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange 事件。
實作
public function get isAddEnabled():BooleanisExecuteEnabled | 屬性 |
isExecuteEnabled: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 condition for executing the task directive
was satisfied. A value of true is returned if a user was selected
within the UserSearchDataGridModel object and the current state of the model
is not searching.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange 事件。
實作
public function get isExecuteEnabled():BooleanisRemoveEnabled | 屬性 |
isRemoveEnabled: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 condition for removing a user is satisfied.
A value of true is returned if a user was selected
within the UserSearchDataGridModel object.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange 事件。
實作
public function get isRemoveEnabled():BooleanomitUserOids | 屬性 |
omitUserOids:ListCollectionView [唯讀] | 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The list of users to remove from the searches.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange 事件。
實作
public function get omitUserOids():ListCollectionViewselectedUser | 屬性 |
selectedUsers | 屬性 |
selectedUsers:ListCollectionView [唯讀] | 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The collection of users that were selected from the
UserSearchDataGridModel object.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange 事件。
實作
public function get selectedUsers():ListCollectionViewserviceName | 屬性 |
userSearchDataGridModel | 屬性 |
userSearchDataGridModel:UserSearchDataGridModel| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The UserSearchDataGridModel object provides the results of a
user search.
實作
public function get userSearchDataGridModel():UserSearchDataGridModel public function set userSearchDataGridModel(value:UserSearchDataGridModel):voidaddUser | () | 方法 |
public function addUser():void| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds the selected users from the UserSearchDataGridModel object to
the selectedUsers property.
cancelCommand | () | 方法 |
public function cancelCommand():void| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Cancels the command. This resets the properties in the model and dispatches
an EVENT_COMMAND_CANCEL event.
executeCommand | () | 方法 |
public function executeCommand():void| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Invokes the associated command object's execute method.
initialize | () | 方法 |
override public function initialize():void| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Initializes the presentation model after the view bindings are processed to prevent view bindings from overriding the initial model state. Subclasses can override this method, which
removeUser | () | 方法 |
public function removeUser():void| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Resets the selectdUsers property to an empty value
(null).
reset | () | 方法 |
public function reset():void| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Resets the model to the original state and reinitalizes the properties back to default values.
setState | () | 方法 |
override protected function setState(newState:String):void| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Sets the state property to a new value and causes a PropertyChangeEvent event.
參數
newState:String — Specifies the new state name.
|
commandCancel | 事件 |
flash.events.Event屬性 Event.type =
flash.events.Event| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Dispatched on the request to cancel the command.
commandComplete | 事件 |
flash.events.Event屬性 Event.type =
flash.events.Event| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Dispatched on successful execution of the command.
STATE_ERROR | 常數 |
public static const STATE_ERROR:String = "errorState"| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that an error occurred.
STATE_IN_PROGRESS | 常數 |
public static const STATE_IN_PROGRESS:String = "inProgressState"| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that a search operation is occuring.
STATE_INITIAL | 常數 |
public static const STATE_INITIAL:String = "initialState"| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that the model is initializing.
STATE_SEARCH_COMPLETE | 常數 |
public static const STATE_SEARCH_COMPLETE:String = "searchCompleteState"| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| 執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that a search has completed.
Tue Jun 12 2018, 03:47 PM Z
隱藏繼承公用屬性
顯示繼承公用屬性