| Pacote | lc.procmgmt.ui.task |
| Classe | public class TaskDirectiveModel |
| Herança | TaskDirectiveModel PresentationModel EventDispatcher Object |
| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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.
Elementos da API relacionados
lc.procmgmt.domain.Task
lc.procmgmt.commands.TaskUserCommand
lc.procmgmt.commands.ForwardCommand
lc.procmgmt.commands.ShareCommand
lc.procmgmt.commands.ConsultCommand
| Propriedade | Definido por | ||
|---|---|---|---|
| command : lc.procmgmt.commands:TaskUserCommand
The command object that drives the behavior of the model. | TaskDirectiveModel | ||
| commandInstructions : String [somente leitura]
Retrieves the localized instructions that are associated with the
command. | TaskDirectiveModel | ||
![]() | constructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto. | Object | |
| errorMessage : Message [somente leitura]
The error message when an error occurs. | TaskDirectiveModel | ||
| isAddEnabled : Boolean [somente leitura]
A flag that indicates whether a user was added based on a certain condition. | TaskDirectiveModel | ||
| isExecuteEnabled : Boolean [somente leitura]
A flag that indicates whether the condition for executing the task directive
was satisfied. | TaskDirectiveModel | ||
| isRemoveEnabled : Boolean [somente leitura]
A flag that indicates whether the condition for removing a user is satisfied. | TaskDirectiveModel | ||
| omitUserOids : ListCollectionView [somente leitura]
The list of users to remove from the searches. | TaskDirectiveModel | ||
| selectedUser : User [somente leitura]
The current selected user. | TaskDirectiveModel | ||
| selectedUsers : ListCollectionView [somente leitura]
The collection of users that were selected from the
UserSearchDataGridModel object. | TaskDirectiveModel | ||
| serviceName : String [somente leitura]
The service name of the task. | TaskDirectiveModel | ||
![]() | session : SessionMap
A SessionMap object that stores information relating to the server session. | PresentationModel | |
![]() | state : String [somente leitura]
The name of the state the current view is in. | PresentationModel | |
| userSearchDataGridModel : UserSearchDataGridModel
The UserSearchDataGridModel object provides the results of a
user search. | TaskDirectiveModel | ||
| Método | Definido por | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra um objeto de ouvinte de evento em um objeto EventDispatcher, de forma que o ouvinte receba a notificação de um evento. | 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 | ||
![]() |
Envia um evento para o fluxo de eventos. | 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 | |
![]() |
Verifica se o objeto EventDispatcher tem ouvintes registrados para um tipo específico de evento. | EventDispatcher | |
![]() |
Indica se um objeto tem uma propriedade especificada definida. | Object | |
[substituir]
Initializes the presentation model after the view bindings
are processed to prevent view bindings from overriding the initial model state. | TaskDirectiveModel | ||
![]() |
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | |
![]() |
Indica se a propriedade especificada existe e é enumerável. | Object | |
![]() |
Remove um ouvinte do objeto 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 | ||
![]() |
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | |
![]() |
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | |
![]() |
Retorna a representação de string do objeto especificado. | Object | |
![]() |
Retorna o valor primitivo do objeto especificado. | Object | |
![]() |
Verifica se um ouvinte de evento está registrado nesse objeto EventDispatcher ou em qualquer um de seus ancestrais para o tipo de evento especificado. | EventDispatcher | |
| Método | Definido por | ||
|---|---|---|---|
[substituir]
Sets the state property to a new value and causes a PropertyChangeEvent event. | TaskDirectiveModel | ||
| Evento | Resumo | Definido por | ||
|---|---|---|---|---|
![]() | [transmissão de evento] Despachado quando o Flash Player ou o aplicativo do AIR ganha o foco do sistema operacional e está se tornando inativo. | EventDispatcher | ||
| Dispatched on the request to cancel the command. | TaskDirectiveModel | |||
| Dispatched on successful execution of the command. | TaskDirectiveModel | |||
![]() | [transmissão de evento] Despachado quando o Flash Player ou o aplicativo do AIR perde o foco do sistema operacional e está se tornando inativo. | EventDispatcher | ||
| Constante | Definido por | ||
|---|---|---|---|
| STATE_ERROR : String = "errorState" [estático]
A special value that specifies that an error occurred. | TaskDirectiveModel | ||
| STATE_INITIAL : String = "initialState" [estático]
A special value that specifies that the model is initializing. | TaskDirectiveModel | ||
| STATE_IN_PROGRESS : String = "inProgressState" [estático]
A special value that specifies that a search operation is occuring. | TaskDirectiveModel | ||
| STATE_SEARCH_COMPLETE : String = "searchCompleteState" [estático]
A special value that specifies that a search has completed. | TaskDirectiveModel | ||
command | propriedade |
command:lc.procmgmt.commands:TaskUserCommand| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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.
Implementação
public function get command():lc.procmgmt.commands:TaskUserCommand public function set command(value:lc.procmgmt.commands:TaskUserCommand):voidcommandInstructions | propriedade |
commandInstructions:String [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the localized instructions that are associated with the command.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get commandInstructions():StringerrorMessage | propriedade |
errorMessage:Message [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The error message when an error occurs.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get errorMessage():MessageisAddEnabled | propriedade |
isAddEnabled:Boolean [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get isAddEnabled():BooleanisExecuteEnabled | propriedade |
isExecuteEnabled:Boolean [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get isExecuteEnabled():BooleanisRemoveEnabled | propriedade |
isRemoveEnabled:Boolean [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get isRemoveEnabled():BooleanomitUserOids | propriedade |
omitUserOids:ListCollectionView [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The list of users to remove from the searches.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get omitUserOids():ListCollectionViewselectedUser | propriedade |
selectedUser:User [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The current selected user.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get selectedUser():UserselectedUsers | propriedade |
selectedUsers:ListCollectionView [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The collection of users that were selected from the
UserSearchDataGridModel object.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get selectedUsers():ListCollectionViewserviceName | propriedade |
serviceName:String [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The service name of the task.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get serviceName():StringuserSearchDataGridModel | propriedade |
userSearchDataGridModel:UserSearchDataGridModel| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The UserSearchDataGridModel object provides the results of a
user search.
Implementação
public function get userSearchDataGridModel():UserSearchDataGridModel public function set userSearchDataGridModel(value:UserSearchDataGridModel):voidaddUser | () | método |
public function addUser():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds the selected users from the UserSearchDataGridModel object to
the selectedUsers property.
cancelCommand | () | método |
public function cancelCommand():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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 | () | método |
public function executeCommand():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Invokes the associated command object's execute method.
initialize | () | método |
override public function initialize():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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 | () | método |
public function removeUser():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Resets the selectdUsers property to an empty value
(null).
reset | () | método |
public function reset():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Resets the model to the original state and reinitalizes the properties back to default values.
setState | () | método |
override protected function setState(newState:String):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Sets the state property to a new value and causes a PropertyChangeEvent event.
Parâmetros
newState:String — Specifies the new state name.
|
commandCancel | Evento |
flash.events.Eventpropriedade Event.type =
flash.events.Event| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Dispatched on the request to cancel the command.
commandComplete | Evento |
flash.events.Eventpropriedade Event.type =
flash.events.Event| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Dispatched on successful execution of the command.
STATE_ERROR | Constante |
public static const STATE_ERROR:String = "errorState"| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that an error occurred.
STATE_IN_PROGRESS | Constante |
public static const STATE_IN_PROGRESS:String = "inProgressState"| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that a search operation is occuring.
STATE_INITIAL | Constante |
public static const STATE_INITIAL:String = "initialState"| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that the model is initializing.
STATE_SEARCH_COMPLETE | Constante |
public static const STATE_SEARCH_COMPLETE:String = "searchCompleteState"| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that a search has completed.
Wed Jun 13 2018, 11:10 AM Z
Ocultar propriedades públicas herdadas
Mostrar propriedades públicas herdadas