| Paket | lc.procmgmt.ui.task |
| Klasse | public class TaskDirectiveModel |
| Vererbung | TaskDirectiveModel PresentationModel EventDispatcher Object |
| Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | 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.
Verwandte API-Elemente
lc.procmgmt.domain.Task
lc.procmgmt.commands.TaskUserCommand
lc.procmgmt.commands.ForwardCommand
lc.procmgmt.commands.ShareCommand
lc.procmgmt.commands.ConsultCommand
| Eigenschaft | Definiert von | ||
|---|---|---|---|
| command : lc.procmgmt.commands:TaskUserCommand
The command object that drives the behavior of the model. | TaskDirectiveModel | ||
| commandInstructions : String [schreibgeschützt]
Retrieves the localized instructions that are associated with the
command. | TaskDirectiveModel | ||
![]() | constructor : Object
Ein Verweis auf das Klassenobjekt oder die Konstruktorfunktion für eine angegebene Objektinstanz. | Object | |
| errorMessage : Message [schreibgeschützt]
The error message when an error occurs. | TaskDirectiveModel | ||
| isAddEnabled : Boolean [schreibgeschützt]
A flag that indicates whether a user was added based on a certain condition. | TaskDirectiveModel | ||
| isExecuteEnabled : Boolean [schreibgeschützt]
A flag that indicates whether the condition for executing the task directive
was satisfied. | TaskDirectiveModel | ||
| isRemoveEnabled : Boolean [schreibgeschützt]
A flag that indicates whether the condition for removing a user is satisfied. | TaskDirectiveModel | ||
| omitUserOids : ListCollectionView [schreibgeschützt]
The list of users to remove from the searches. | TaskDirectiveModel | ||
| selectedUser : User [schreibgeschützt]
The current selected user. | TaskDirectiveModel | ||
| selectedUsers : ListCollectionView [schreibgeschützt]
The collection of users that were selected from the
UserSearchDataGridModel object. | TaskDirectiveModel | ||
| serviceName : String [schreibgeschützt]
The service name of the task. | TaskDirectiveModel | ||
![]() | session : SessionMap
A SessionMap object that stores information relating to the server session. | PresentationModel | |
![]() | state : String [schreibgeschützt]
The name of the state the current view is in. | PresentationModel | |
| userSearchDataGridModel : UserSearchDataGridModel
The UserSearchDataGridModel object provides the results of a
user search. | TaskDirectiveModel | ||
| Methode | Definiert von | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registriert ein Ereignis-Listener-Objekt bei einem EventDispatcher-Objekt, sodass der Listener über ein Ereignis benachrichtigt wird. | 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 | ||
![]() |
Sendet ein Ereignis in den Ereignisablauf. | 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 | |
![]() |
Überprüft, ob das EventDispatcher-Objekt Listener für einen bestimmten Ereignistyp registriert hat. | EventDispatcher | |
![]() |
Gibt an, ob für ein Objekt eine bestimmte Eigenschaft definiert wurde. | Object | |
[override]
Initializes the presentation model after the view bindings
are processed to prevent view bindings from overriding the initial model state. | TaskDirectiveModel | ||
![]() |
Gibt an, ob eine Instanz der Object-Klasse in der Prototypkette des Objekts vorhanden ist, das als Parameter angegeben wurde. | Object | |
![]() |
Gibt an, ob die angegebene Eigenschaft vorhanden ist und durchlaufen werden kann. | Object | |
![]() |
Entfernt einen Listener aus dem EventDispatcher-Objekt. | 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 | ||
![]() |
Legt die Verfügbarkeit einer dynamischen Eigenschaft für Schleifenoperationen fest. | Object | |
![]() |
Gibt die Stringdarstellung dieses Objekts zurück, formatiert entsprechend den Konventionen des Gebietsschemas. | Object | |
![]() |
Gibt das angegebene Objekt als String zurück. | Object | |
![]() |
Gibt den Grundwert des angegebenen Objekts zurück. | Object | |
![]() |
Überprüft, ob bei diesem EventDispatcher-Objekt oder bei einem seiner Vorgänger ein Ereignis-Listener für einen bestimmten Ereignistyp registriert ist. | EventDispatcher | |
| Methode | Definiert von | ||
|---|---|---|---|
[override]
Sets the state property to a new value and causes a PropertyChangeEvent event. | TaskDirectiveModel | ||
| Ereignis | Übersicht | Definiert von | ||
|---|---|---|---|---|
![]() | [broadcast event] Wird ausgelöst, wenn Flash Player oder eine AIR-Anwendung den Betriebssystemfokus erhält und aktiv wird. | EventDispatcher | ||
| Dispatched on the request to cancel the command. | TaskDirectiveModel | |||
| Dispatched on successful execution of the command. | TaskDirectiveModel | |||
![]() | [broadcast event] Wird ausgelöst, wenn Flash Player- oder die AIR-Anwendung den Fokus verliert und inaktiv wird. | EventDispatcher | ||
| Konstante | Definiert von | ||
|---|---|---|---|
| STATE_ERROR : String = "errorState" [statisch]
A special value that specifies that an error occurred. | TaskDirectiveModel | ||
| STATE_INITIAL : String = "initialState" [statisch]
A special value that specifies that the model is initializing. | TaskDirectiveModel | ||
| STATE_IN_PROGRESS : String = "inProgressState" [statisch]
A special value that specifies that a search operation is occuring. | TaskDirectiveModel | ||
| STATE_SEARCH_COMPLETE : String = "searchCompleteState" [statisch]
A special value that specifies that a search has completed. | TaskDirectiveModel | ||
command | Eigenschaft |
command:lc.procmgmt.commands:TaskUserCommand| Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | 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.
Implementierung
public function get command():lc.procmgmt.commands:TaskUserCommand public function set command(value:lc.procmgmt.commands:TaskUserCommand):voidcommandInstructions | Eigenschaft |
commandInstructions:String [schreibgeschützt] | Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the localized instructions that are associated with the command.
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange -Ereignis ausgelöst.
Implementierung
public function get commandInstructions():StringerrorMessage | Eigenschaft |
errorMessage:Message [schreibgeschützt] | Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The error message when an error occurs.
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange -Ereignis ausgelöst.
Implementierung
public function get errorMessage():MessageisAddEnabled | Eigenschaft |
isAddEnabled:Boolean [schreibgeschützt] | Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | 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.
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange -Ereignis ausgelöst.
Implementierung
public function get isAddEnabled():BooleanisExecuteEnabled | Eigenschaft |
isExecuteEnabled:Boolean [schreibgeschützt] | Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | 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.
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange -Ereignis ausgelöst.
Implementierung
public function get isExecuteEnabled():BooleanisRemoveEnabled | Eigenschaft |
isRemoveEnabled:Boolean [schreibgeschützt] | Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | 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.
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange -Ereignis ausgelöst.
Implementierung
public function get isRemoveEnabled():BooleanomitUserOids | Eigenschaft |
omitUserOids:ListCollectionView [schreibgeschützt] | Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The list of users to remove from the searches.
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange -Ereignis ausgelöst.
Implementierung
public function get omitUserOids():ListCollectionViewselectedUser | Eigenschaft |
selectedUser:User [schreibgeschützt] | Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The current selected user.
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange -Ereignis ausgelöst.
Implementierung
public function get selectedUser():UserselectedUsers | Eigenschaft |
selectedUsers:ListCollectionView [schreibgeschützt] | Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The collection of users that were selected from the
UserSearchDataGridModel object.
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange -Ereignis ausgelöst.
Implementierung
public function get selectedUsers():ListCollectionViewserviceName | Eigenschaft |
serviceName:String [schreibgeschützt] | Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The service name of the task.
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange -Ereignis ausgelöst.
Implementierung
public function get serviceName():StringuserSearchDataGridModel | Eigenschaft |
userSearchDataGridModel:UserSearchDataGridModel| Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The UserSearchDataGridModel object provides the results of a
user search.
Implementierung
public function get userSearchDataGridModel():UserSearchDataGridModel public function set userSearchDataGridModel(value:UserSearchDataGridModel):voidaddUser | () | Methode |
public function addUser():void| Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds the selected users from the UserSearchDataGridModel object to
the selectedUsers property.
cancelCommand | () | Methode |
public function cancelCommand():void| Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | 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 | () | Methode |
public function executeCommand():void| Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Invokes the associated command object's execute method.
initialize | () | Methode |
override public function initialize():void| Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | 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 | () | Methode |
public function removeUser():void| Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Resets the selectdUsers property to an empty value
(null).
reset | () | Methode |
public function reset():void| Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Resets the model to the original state and reinitalizes the properties back to default values.
setState | () | Methode |
override protected function setState(newState:String):void| Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Sets the state property to a new value and causes a PropertyChangeEvent event.
Parameter
newState:String — Specifies the new state name.
|
commandCancel | Ereignis |
flash.events.EventEigenschaft Event.type =
flash.events.Event| Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Dispatched on the request to cancel the command.
commandComplete | Ereignis |
flash.events.EventEigenschaft Event.type =
flash.events.Event| Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Dispatched on successful execution of the command.
STATE_ERROR | Konstante |
public static const STATE_ERROR:String = "errorState"| Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that an error occurred.
STATE_IN_PROGRESS | Konstante |
public static const STATE_IN_PROGRESS:String = "inProgressState"| Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that a search operation is occuring.
STATE_INITIAL | Konstante |
public static const STATE_INITIAL:String = "initialState"| Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that the model is initializing.
STATE_SEARCH_COMPLETE | Konstante |
public static const STATE_SEARCH_COMPLETE:String = "searchCompleteState"| Sprachversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that a search has completed.
Tue Jun 12 2018, 10:04 AM Z
Vererbte öffentliche Eigenschaften ausblenden
Vererbte öffentliche Eigenschaften anzeigen