| Пакет | 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 | свойство |
selectedUser:User [только для чтения] | Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Версии среды выполнения: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The current selected user.
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие propertyChange .
Реализация
public function get selectedUser():UserselectedUsers | свойство |
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 | свойство |
serviceName:String [только для чтения] | Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Версии среды выполнения: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The service name of the task.
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие propertyChange .
Реализация
public function get serviceName():StringuserSearchDataGridModel | свойство |
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, 11:34 AM Z
Скрыть унаследованные общедоступные свойства
Показать унаследованные общедоступные свойства