Pakket | lc.procmgmt.ui.task |
Klasse | public class TaskDirectiveModel |
Overerving | TaskDirectiveModel PresentationModel EventDispatcher Object |
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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.
Verwante API-elementen
lc.procmgmt.domain.Task
lc.procmgmt.commands.TaskUserCommand
lc.procmgmt.commands.ForwardCommand
lc.procmgmt.commands.ShareCommand
lc.procmgmt.commands.ConsultCommand
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
command : lc.procmgmt.commands:TaskUserCommand
The command object that drives the behavior of the model. | TaskDirectiveModel | ||
commandInstructions : String [alleen-lezen]
Retrieves the localized instructions that are associated with the
command. | TaskDirectiveModel | ||
constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | Object | ||
errorMessage : Message [alleen-lezen]
The error message when an error occurs. | TaskDirectiveModel | ||
isAddEnabled : Boolean [alleen-lezen]
A flag that indicates whether a user was added based on a certain condition. | TaskDirectiveModel | ||
isExecuteEnabled : Boolean [alleen-lezen]
A flag that indicates whether the condition for executing the task directive
was satisfied. | TaskDirectiveModel | ||
isRemoveEnabled : Boolean [alleen-lezen]
A flag that indicates whether the condition for removing a user is satisfied. | TaskDirectiveModel | ||
omitUserOids : ListCollectionView [alleen-lezen]
The list of users to remove from the searches. | TaskDirectiveModel | ||
selectedUser : User [alleen-lezen]
The current selected user. | TaskDirectiveModel | ||
selectedUsers : ListCollectionView [alleen-lezen]
The collection of users that were selected from the
UserSearchDataGridModel object. | TaskDirectiveModel | ||
serviceName : String [alleen-lezen]
The service name of the task. | TaskDirectiveModel | ||
session : SessionMap
A SessionMap object that stores information relating to the server session. | PresentationModel | ||
state : String [alleen-lezen]
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 | Gedefinieerd door | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registreert een gebeurtenislistenerobject bij een object EventDispatcher, zodat de listener een melding van een gebeurtenis ontvangt. | 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 | ||
Verzendt een gebeurtenis naar de gebeurtenisstroom. | 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 | ||
Controleert of het object EventDispatcher listeners heeft geregistreerd voor een specifiek type gebeurtenis. | EventDispatcher | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
[overschrijven]
Initializes the presentation model after the view bindings
are processed to prevent view bindings from overriding the initial model state. | TaskDirectiveModel | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Verwijdert een listener uit het 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 | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object | ||
Controleert of een gebeurtenislistener is geregistreerd bij dit object EventDispatcher of een van de voorouders voor het opgegeven type gebeurtenis. | EventDispatcher |
Methode | Gedefinieerd door | ||
---|---|---|---|
[overschrijven]
Sets the state property to a new value and causes a PropertyChangeEvent event. | TaskDirectiveModel |
Gebeurtenis | Overzicht | Gedefinieerd door | ||
---|---|---|---|---|
[uitgezonden gebeurtenis] Wordt verzonden wanneer Flash Player of de AIR-toepassing de besturingssysteemfocus krijgt en actief wordt. | EventDispatcher | |||
Dispatched on the request to cancel the command. | TaskDirectiveModel | |||
Dispatched on successful execution of the command. | TaskDirectiveModel | |||
[uitgezonden gebeurtenis] Wordt verzonden wanneer Flash Player of de AIR-toepassing de systeemfocus verliest en inactief wordt. | EventDispatcher |
Constante | Gedefinieerd door | ||
---|---|---|---|
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 | eigenschap |
command:lc.procmgmt.commands:TaskUserCommand
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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.
Implementatie
public function get command():lc.procmgmt.commands:TaskUserCommand
public function set command(value:lc.procmgmt.commands:TaskUserCommand):void
commandInstructions | eigenschap |
commandInstructions:String
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the localized instructions that are associated with the command.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get commandInstructions():String
errorMessage | eigenschap |
errorMessage:Message
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The error message when an error occurs.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get errorMessage():Message
isAddEnabled | eigenschap |
isAddEnabled:Boolean
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get isAddEnabled():Boolean
isExecuteEnabled | eigenschap |
isExecuteEnabled:Boolean
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get isExecuteEnabled():Boolean
isRemoveEnabled | eigenschap |
isRemoveEnabled:Boolean
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get isRemoveEnabled():Boolean
omitUserOids | eigenschap |
omitUserOids:ListCollectionView
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The list of users to remove from the searches.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get omitUserOids():ListCollectionView
selectedUser | eigenschap |
selectedUser:User
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The current selected user.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get selectedUser():User
selectedUsers | eigenschap |
selectedUsers:ListCollectionView
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The collection of users that were selected from the
UserSearchDataGridModel
object.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get selectedUsers():ListCollectionView
serviceName | eigenschap |
serviceName:String
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The service name of the task.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get serviceName():String
userSearchDataGridModel | eigenschap |
userSearchDataGridModel:UserSearchDataGridModel
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The UserSearchDataGridModel
object provides the results of a
user search.
Implementatie
public function get userSearchDataGridModel():UserSearchDataGridModel
public function set userSearchDataGridModel(value:UserSearchDataGridModel):void
addUser | () | methode |
public function addUser():void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Invokes the associated command object's execute
method.
initialize | () | methode |
override public function initialize():void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Resets the selectdUsers
property to an empty value
(null
).
reset | () | methode |
public function reset():void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Sets the state
property to a new value and causes a PropertyChangeEvent
event.
Parameters
newState:String — Specifies the new state name.
|
commandCancel | Gebeurtenis |
flash.events.Event
eigenschap Event.type =
flash.events.Event
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Dispatched on the request to cancel the command.
commandComplete | Gebeurtenis |
flash.events.Event
eigenschap Event.type =
flash.events.Event
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that a search has completed.
Wed Jun 13 2018, 11:42 AM Z