Paket | lc.procmgmt.ui.task |
Klass | public class TaskDirectiveModel |
Arv | TaskDirectiveModel PresentationModel EventDispatcher Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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.
Relaterade API-element
lc.procmgmt.domain.Task
lc.procmgmt.commands.TaskUserCommand
lc.procmgmt.commands.ForwardCommand
lc.procmgmt.commands.ShareCommand
lc.procmgmt.commands.ConsultCommand
Egenskap | Definieras med | ||
---|---|---|---|
command : lc.procmgmt.commands:TaskUserCommand
The command object that drives the behavior of the model. | TaskDirectiveModel | ||
commandInstructions : String [skrivskyddad]
Retrieves the localized instructions that are associated with the
command. | TaskDirectiveModel | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
errorMessage : Message [skrivskyddad]
The error message when an error occurs. | TaskDirectiveModel | ||
isAddEnabled : Boolean [skrivskyddad]
A flag that indicates whether a user was added based on a certain condition. | TaskDirectiveModel | ||
isExecuteEnabled : Boolean [skrivskyddad]
A flag that indicates whether the condition for executing the task directive
was satisfied. | TaskDirectiveModel | ||
isRemoveEnabled : Boolean [skrivskyddad]
A flag that indicates whether the condition for removing a user is satisfied. | TaskDirectiveModel | ||
omitUserOids : ListCollectionView [skrivskyddad]
The list of users to remove from the searches. | TaskDirectiveModel | ||
selectedUser : User [skrivskyddad]
The current selected user. | TaskDirectiveModel | ||
selectedUsers : ListCollectionView [skrivskyddad]
The collection of users that were selected from the
UserSearchDataGridModel object. | TaskDirectiveModel | ||
serviceName : String [skrivskyddad]
The service name of the task. | TaskDirectiveModel | ||
session : SessionMap
A SessionMap object that stores information relating to the server session. | PresentationModel | ||
state : String [skrivskyddad]
The name of the state the current view is in. | PresentationModel | ||
userSearchDataGridModel : UserSearchDataGridModel
The UserSearchDataGridModel object provides the results of a
user search. | TaskDirectiveModel |
Metod | Definieras med | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | 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 | ||
Skickar en händelse till händelseflödet. | 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 | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | EventDispatcher | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
[åsidosätt]
Initializes the presentation model after the view bindings
are processed to prevent view bindings from overriding the initial model state. | TaskDirectiveModel | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | 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 | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | EventDispatcher |
Metod | Definieras med | ||
---|---|---|---|
[åsidosätt]
Sets the state property to a new value and causes a PropertyChangeEvent event. | TaskDirectiveModel |
Händelse | Sammanfattning | Definieras med | ||
---|---|---|---|---|
[utsändningshändelse] Skickas när Flash Player eller AIR får operativsystemfokus och blir aktivt. | EventDispatcher | |||
Dispatched on the request to cancel the command. | TaskDirectiveModel | |||
Dispatched on successful execution of the command. | TaskDirectiveModel | |||
[utsändningshändelse] Skickas när Flash Player eller AIR förlorar operativsystemfokus och blir inaktivt. | EventDispatcher |
Konstant | Definieras med | ||
---|---|---|---|
STATE_ERROR : String = "errorState" [statisk]
A special value that specifies that an error occurred. | TaskDirectiveModel | ||
STATE_INITIAL : String = "initialState" [statisk]
A special value that specifies that the model is initializing. | TaskDirectiveModel | ||
STATE_IN_PROGRESS : String = "inProgressState" [statisk]
A special value that specifies that a search operation is occuring. | TaskDirectiveModel | ||
STATE_SEARCH_COMPLETE : String = "searchCompleteState" [statisk]
A special value that specifies that a search has completed. | TaskDirectiveModel |
command | egenskap |
command:lc.procmgmt.commands:TaskUserCommand
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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.
Implementering
public function get command():lc.procmgmt.commands:TaskUserCommand
public function set command(value:lc.procmgmt.commands:TaskUserCommand):void
commandInstructions | egenskap |
commandInstructions:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the localized instructions that are associated with the command.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get commandInstructions():String
errorMessage | egenskap |
errorMessage:Message
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The error message when an error occurs.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get errorMessage():Message
isAddEnabled | egenskap |
isAddEnabled:Boolean
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get isAddEnabled():Boolean
isExecuteEnabled | egenskap |
isExecuteEnabled:Boolean
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get isExecuteEnabled():Boolean
isRemoveEnabled | egenskap |
isRemoveEnabled:Boolean
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get isRemoveEnabled():Boolean
omitUserOids | egenskap |
omitUserOids:ListCollectionView
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The list of users to remove from the searches.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get omitUserOids():ListCollectionView
selectedUser | egenskap |
selectedUser:User
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The current selected user.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get selectedUser():User
selectedUsers | egenskap |
selectedUsers:ListCollectionView
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The collection of users that were selected from the
UserSearchDataGridModel
object.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get selectedUsers():ListCollectionView
serviceName | egenskap |
serviceName:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The service name of the task.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get serviceName():String
userSearchDataGridModel | egenskap |
userSearchDataGridModel:UserSearchDataGridModel
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The UserSearchDataGridModel
object provides the results of a
user search.
Implementering
public function get userSearchDataGridModel():UserSearchDataGridModel
public function set userSearchDataGridModel(value:UserSearchDataGridModel):void
addUser | () | metod |
public function addUser():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds the selected users from the UserSearchDataGridModel
object to
the selectedUsers
property.
cancelCommand | () | metod |
public function cancelCommand():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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 | () | metod |
public function executeCommand():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Invokes the associated command object's execute
method.
initialize | () | metod |
override public function initialize():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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 | () | metod |
public function removeUser():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Resets the selectdUsers
property to an empty value
(null
).
reset | () | metod |
public function reset():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Resets the model to the original state and reinitalizes the properties back to default values.
setState | () | metod |
override protected function setState(newState:String):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Sets the state
property to a new value and causes a PropertyChangeEvent
event.
Parametrar
newState:String — Specifies the new state name.
|
commandCancel | Händelse |
flash.events.Event
egenskap Event.type =
flash.events.Event
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Dispatched on the request to cancel the command.
commandComplete | Händelse |
flash.events.Event
egenskap Event.type =
flash.events.Event
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Dispatched on successful execution of the command.
STATE_ERROR | Konstant |
public static const STATE_ERROR:String = "errorState"
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that an error occurred.
STATE_IN_PROGRESS | Konstant |
public static const STATE_IN_PROGRESS:String = "inProgressState"
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that a search operation is occuring.
STATE_INITIAL | Konstant |
public static const STATE_INITIAL:String = "initialState"
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that the model is initializing.
STATE_SEARCH_COMPLETE | Konstant |
public static const STATE_SEARCH_COMPLETE:String = "searchCompleteState"
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that a search has completed.
Tue Jun 12 2018, 01:40 PM Z