| Package | lc.procmgmt.ui.task |
| Classe | public class TaskDirectiveModel |
| Héritage | TaskDirectiveModel PresentationModel EventDispatcher Object |
| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
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.
Eléments de l’API associés
lc.procmgmt.domain.Task
lc.procmgmt.commands.TaskUserCommand
lc.procmgmt.commands.ForwardCommand
lc.procmgmt.commands.ShareCommand
lc.procmgmt.commands.ConsultCommand
| Propriété | Défini par | ||
|---|---|---|---|
| command : lc.procmgmt.commands:TaskUserCommand
The command object that drives the behavior of the model. | TaskDirectiveModel | ||
| commandInstructions : String [lecture seule]
Retrieves the localized instructions that are associated with the
command. | TaskDirectiveModel | ||
![]() | constructor : Object
Référence à l’objet de classe ou à la fonction constructeur d’une occurrence donnée d’un objet. | Object | |
| errorMessage : Message [lecture seule]
The error message when an error occurs. | TaskDirectiveModel | ||
| isAddEnabled : Boolean [lecture seule]
A flag that indicates whether a user was added based on a certain condition. | TaskDirectiveModel | ||
| isExecuteEnabled : Boolean [lecture seule]
A flag that indicates whether the condition for executing the task directive
was satisfied. | TaskDirectiveModel | ||
| isRemoveEnabled : Boolean [lecture seule]
A flag that indicates whether the condition for removing a user is satisfied. | TaskDirectiveModel | ||
| omitUserOids : ListCollectionView [lecture seule]
The list of users to remove from the searches. | TaskDirectiveModel | ||
| selectedUser : User [lecture seule]
The current selected user. | TaskDirectiveModel | ||
| selectedUsers : ListCollectionView [lecture seule]
The collection of users that were selected from the
UserSearchDataGridModel object. | TaskDirectiveModel | ||
| serviceName : String [lecture seule]
The service name of the task. | TaskDirectiveModel | ||
![]() | session : SessionMap
A SessionMap object that stores information relating to the server session. | PresentationModel | |
![]() | state : String [lecture seule]
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éthode | Défini par | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Enregistre un objet écouteur d’événement auprès d’un objet EventDispatcher afin que l’écouteur soit averti d’un événement. | 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 | ||
![]() |
Distribue un événement dans le flux d’événements. | 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 | |
![]() |
Vérifie si des écouteurs sont enregistrés auprès de l’objet EventDispatcher pour un type spécifique d’événement. | EventDispatcher | |
![]() |
Indique si la propriété spécifiée d’un objet est définie. | Object | |
[override]
Initializes the presentation model after the view bindings
are processed to prevent view bindings from overriding the initial model state. | TaskDirectiveModel | ||
![]() |
Indique si une occurrence de la classe Object figure dans la chaîne de prototype de l’objet spécifié en tant que paramètre. | Object | |
![]() |
Indique si la propriété spécifiée existe et est énumérable. | Object | |
![]() |
Supprime un écouteur de l’objet 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 | ||
![]() |
Définit la disponibilité d’une propriété dynamique pour les opérations en boucle. | Object | |
![]() |
Renvoie la représentation de chaîne de cet objet, formatée selon les paramètres régionaux en vigueur. | Object | |
![]() |
Renvoie la représentation sous forme de chaîne de l’objet spécifié. | Object | |
![]() |
Renvoie la valeur primitive de l’objet spécifié. | Object | |
![]() |
Vérifie si un écouteur d’événement est enregistré auprès de cet objet EventDispatcher ou de ses ancêtres pour le type d’événement spécifié. | EventDispatcher | |
| Méthode | Défini par | ||
|---|---|---|---|
[override]
Sets the state property to a new value and causes a PropertyChangeEvent event. | TaskDirectiveModel | ||
| Evénement | Synthèse | Défini par | ||
|---|---|---|---|---|
![]() | [Evénement de diffusion] Distribué lorsque l’application Flash Player obtient le focus du système d’exploitation et devient active. | EventDispatcher | ||
| Dispatched on the request to cancel the command. | TaskDirectiveModel | |||
| Dispatched on successful execution of the command. | TaskDirectiveModel | |||
![]() | [Evénement de diffusion] Distribué lorsque l’application Flash Player ou AIR perd le focus du système d’exploitation et devient inactive. | EventDispatcher | ||
| Constante | Défini par | ||
|---|---|---|---|
| STATE_ERROR : String = "errorState" [statique]
A special value that specifies that an error occurred. | TaskDirectiveModel | ||
| STATE_INITIAL : String = "initialState" [statique]
A special value that specifies that the model is initializing. | TaskDirectiveModel | ||
| STATE_IN_PROGRESS : String = "inProgressState" [statique]
A special value that specifies that a search operation is occuring. | TaskDirectiveModel | ||
| STATE_SEARCH_COMPLETE : String = "searchCompleteState" [statique]
A special value that specifies that a search has completed. | TaskDirectiveModel | ||
command | propriété |
command:lc.procmgmt.commands:TaskUserCommand| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The command object that drives the behavior of the model. Different
commands have different instructions and images associated with them.
Implémentation
public function get command():lc.procmgmt.commands:TaskUserCommand public function set command(value:lc.procmgmt.commands:TaskUserCommand):voidcommandInstructions | propriété |
commandInstructions:String [lecture seule] | Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the localized instructions that are associated with the command.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .
Implémentation
public function get commandInstructions():StringerrorMessage | propriété |
errorMessage:Message [lecture seule] | Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The error message when an error occurs.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .
Implémentation
public function get errorMessage():MessageisAddEnabled | propriété |
isAddEnabled:Boolean [lecture seule] | Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
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.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .
Implémentation
public function get isAddEnabled():BooleanisExecuteEnabled | propriété |
isExecuteEnabled:Boolean [lecture seule] | Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
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.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .
Implémentation
public function get isExecuteEnabled():BooleanisRemoveEnabled | propriété |
isRemoveEnabled:Boolean [lecture seule] | Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
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.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .
Implémentation
public function get isRemoveEnabled():BooleanomitUserOids | propriété |
omitUserOids:ListCollectionView [lecture seule] | Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The list of users to remove from the searches.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .
Implémentation
public function get omitUserOids():ListCollectionViewselectedUser | propriété |
selectedUser:User [lecture seule] | Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The current selected user.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .
Implémentation
public function get selectedUser():UserselectedUsers | propriété |
selectedUsers:ListCollectionView [lecture seule] | Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The collection of users that were selected from the
UserSearchDataGridModel object.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .
Implémentation
public function get selectedUsers():ListCollectionViewserviceName | propriété |
serviceName:String [lecture seule] | Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The service name of the task.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .
Implémentation
public function get serviceName():StringuserSearchDataGridModel | propriété |
userSearchDataGridModel:UserSearchDataGridModel| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The UserSearchDataGridModel object provides the results of a
user search.
Implémentation
public function get userSearchDataGridModel():UserSearchDataGridModel public function set userSearchDataGridModel(value:UserSearchDataGridModel):voidaddUser | () | méthode |
public function addUser():void| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds the selected users from the UserSearchDataGridModel object to
the selectedUsers property.
cancelCommand | () | méthode |
public function cancelCommand():void| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Cancels the command. This resets the properties in the model and dispatches
an EVENT_COMMAND_CANCEL event.
executeCommand | () | méthode |
public function executeCommand():void| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Invokes the associated command object's execute method.
initialize | () | méthode |
override public function initialize():void| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
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éthode |
public function removeUser():void| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Resets the selectdUsers property to an empty value
(null).
reset | () | méthode |
public function reset():void| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Resets the model to the original state and reinitalizes the properties back to default values.
setState | () | méthode |
override protected function setState(newState:String):void| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Sets the state property to a new value and causes a PropertyChangeEvent event.
Paramètres
newState:String — Specifies the new state name.
|
commandCancel | Evénement |
flash.events.Eventpropriété Event.type =
flash.events.Event| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Dispatched on the request to cancel the command.
commandComplete | Evénement |
flash.events.Eventpropriété Event.type =
flash.events.Event| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Dispatched on successful execution of the command.
STATE_ERROR | Constante |
public static const STATE_ERROR:String = "errorState"| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that an error occurred.
STATE_IN_PROGRESS | Constante |
public static const STATE_IN_PROGRESS:String = "inProgressState"| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that a search operation is occuring.
STATE_INITIAL | Constante |
public static const STATE_INITIAL:String = "initialState"| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that the model is initializing.
STATE_SEARCH_COMPLETE | Constante |
public static const STATE_SEARCH_COMPLETE:String = "searchCompleteState"| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that a search has completed.
Tue Jun 12 2018, 09:30 AM Z
Masquer les propriétés publiques héritées
Afficher les propriétés publiques héritées