Guida di riferimento di ActionScript® 3.0 per la piattaforma Adobe® Flash®
Home  |  Nascondi elenco pacchetti e classi |  Pacchetti  |  Classi  |  Novità  |  Indice  |  Appendici  |  Perché in inglese?
Filtri: Recupero dati dal server...
Recupero dati dal server...
lc.procmgmt.ui.task 

TaskDirectiveModel  - AS3 ADEP - Area di lavoro

Pacchettolc.procmgmt.ui.task
Classepublic class TaskDirectiveModel
EreditarietàTaskDirectiveModel Inheritance PresentationModel Inheritance EventDispatcher Inheritance Object

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

The 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.

Elementi API correlati



Proprietà pubbliche
 ProprietàDefinito da
  command : lc.procmgmt.commands:TaskUserCommand
The command object that drives the behavior of the model.
TaskDirectiveModel
  commandInstructions : String
[sola lettura] Retrieves the localized instructions that are associated with the command.
TaskDirectiveModel
 Inheritedconstructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto.
Object
  errorMessage : Message
[sola lettura] The error message when an error occurs.
TaskDirectiveModel
  isAddEnabled : Boolean
[sola lettura] A flag that indicates whether a user was added based on a certain condition.
TaskDirectiveModel
  isExecuteEnabled : Boolean
[sola lettura] A flag that indicates whether the condition for executing the task directive was satisfied.
TaskDirectiveModel
  isRemoveEnabled : Boolean
[sola lettura] A flag that indicates whether the condition for removing a user is satisfied.
TaskDirectiveModel
  omitUserOids : ListCollectionView
[sola lettura] The list of users to remove from the searches.
TaskDirectiveModel
  selectedUser : User
[sola lettura] The current selected user.
TaskDirectiveModel
  selectedUsers : ListCollectionView
[sola lettura] The collection of users that were selected from the UserSearchDataGridModel object.
TaskDirectiveModel
  serviceName : String
[sola lettura] The service name of the task.
TaskDirectiveModel
 Inheritedsession : SessionMap
A SessionMap object that stores information relating to the server session.
PresentationModel
 Inheritedstate : String
[sola lettura] The name of the state the current view is in.
PresentationModel
  userSearchDataGridModel : UserSearchDataGridModel
The UserSearchDataGridModel object provides the results of a user search.
TaskDirectiveModel
Metodi pubblici
 MetodoDefinito da
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un oggetto listener di eventi con un oggetto EventDispatcher, in modo che il listener riceva la notifica di un evento.
EventDispatcher
  
Adds the selected users from the UserSearchDataGridModel object to the selectedUsers property.
TaskDirectiveModel
 Inherited
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
 Inherited
Invia un evento nel flusso di eventi.
EventDispatcher
  
Invokes the associated command object's execute method.
TaskDirectiveModel
 Inherited
getCSSStyle(declaration:String, styleProperty:String, defaultValue:Object = null):Object
Returns the corresponding cascading style sheet (CSS) property to use based on the specified parameters.
PresentationModel
 Inherited
Verifica se per l'oggetto EventDispatcher sono presenti listener registrati per un tipo specifico di evento.
EventDispatcher
 Inherited
Indica se per un oggetto è definita una proprietà specifica.
Object
  
[override] Initializes the presentation model after the view bindings are processed to prevent view bindings from overriding the initial model state.
TaskDirectiveModel
 Inherited
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro.
Object
 Inherited
Indica se la proprietà specificata esiste ed è enumerabile.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Rimuove un listener dall'oggetto 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
 Inherited
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche.
Object
 Inherited
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate.
Object
 Inherited
Restituisce la rappresentazione in formato stringa dell'oggetto specificato.
Object
 Inherited
Restituisce il valore di base dell'oggetto specificato.
Object
 Inherited
Verifica se un listener di eventi è registrato con questo oggetto EventDispatcher o qualsiasi suo antenato per il tipo di evento specificato.
EventDispatcher
Metodi protetti
 MetodoDefinito da
  
setState(newState:String):void
[override] Sets the state property to a new value and causes a PropertyChangeEvent event.
TaskDirectiveModel
Eventi
 Evento Riepilogo Definito da
 Inherited[evento di trasmissione] Inviato quando Flash Player o l'applicazione AIR ottiene lo stato di attivazione del sistema operativo ed entra nello stato attivo.EventDispatcher
  Dispatched on the request to cancel the command.TaskDirectiveModel
  Dispatched on successful execution of the command.TaskDirectiveModel
 Inherited[evento di trasmissione] Inviato quando Flash Player o l'applicazione AIR perde l'attivazione del sistema operativo e sta entrando nello stato inattivo.EventDispatcher
Costanti pubbliche
 CostanteDefinito da
  STATE_ERROR : String = "errorState"
[statico] A special value that specifies that an error occurred.
TaskDirectiveModel
  STATE_INITIAL : String = "initialState"
[statico] A special value that specifies that the model is initializing.
TaskDirectiveModel
  STATE_IN_PROGRESS : String = "inProgressState"
[statico] A special value that specifies that a search operation is occuring.
TaskDirectiveModel
  STATE_SEARCH_COMPLETE : String = "searchCompleteState"
[statico] A special value that specifies that a search has completed.
TaskDirectiveModel
Descrizione delle proprietà

command

proprietà
command:lc.procmgmt.commands:TaskUserCommand

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni 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.



Implementazione
    public function get command():lc.procmgmt.commands:TaskUserCommand
    public function set command(value:lc.procmgmt.commands:TaskUserCommand):void

commandInstructions

proprietà 
commandInstructions:String  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves the localized instructions that are associated with the command.

Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .



Implementazione
    public function get commandInstructions():String

errorMessage

proprietà 
errorMessage:Message  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

The error message when an error occurs.

Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .



Implementazione
    public function get errorMessage():Message

isAddEnabled

proprietà 
isAddEnabled:Boolean  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni 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.

Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .



Implementazione
    public function get isAddEnabled():Boolean

isExecuteEnabled

proprietà 
isExecuteEnabled:Boolean  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni 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.

Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .



Implementazione
    public function get isExecuteEnabled():Boolean

isRemoveEnabled

proprietà 
isRemoveEnabled:Boolean  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni 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.

Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .



Implementazione
    public function get isRemoveEnabled():Boolean

omitUserOids

proprietà 
omitUserOids:ListCollectionView  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

The list of users to remove from the searches.

Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .



Implementazione
    public function get omitUserOids():ListCollectionView

selectedUser

proprietà 
selectedUser:User  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

The current selected user.

Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .



Implementazione
    public function get selectedUser():User

selectedUsers

proprietà 
selectedUsers:ListCollectionView  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

The collection of users that were selected from the UserSearchDataGridModel object.

Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .



Implementazione
    public function get selectedUsers():ListCollectionView

serviceName

proprietà 
serviceName:String  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

The service name of the task.

Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .



Implementazione
    public function get serviceName():String

userSearchDataGridModel

proprietà 
userSearchDataGridModel:UserSearchDataGridModel

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

The UserSearchDataGridModel object provides the results of a user search.



Implementazione
    public function get userSearchDataGridModel():UserSearchDataGridModel
    public function set userSearchDataGridModel(value:UserSearchDataGridModel):void
Descrizione dei metodi

addUser

()metodo
public function addUser():void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

Adds the selected users from the UserSearchDataGridModel object to the selectedUsers property.

cancelCommand

()metodo 
public function cancelCommand():void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni 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

()metodo 
public function executeCommand():void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

Invokes the associated command object's execute method.

initialize

()metodo 
override public function initialize():void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni 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

()metodo 
public function removeUser():void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

Resets the selectdUsers property to an empty value (null).

reset

()metodo 
public function reset():void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni 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

()metodo 
override protected function setState(newState:String):void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

Sets the state property to a new value and causes a PropertyChangeEvent event.

Parametri

newState:String — Specifies the new state name.

Descrizione degli eventi

commandCancel

Evento
Tipo di oggetto evento: flash.events.Event
proprietà Event.type = flash.events.Event

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

Dispatched on the request to cancel the command.

commandComplete

Evento  
Tipo di oggetto evento: flash.events.Event
proprietà Event.type = flash.events.Event

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

Dispatched on successful execution of the command.

Descrizione delle costanti

STATE_ERROR

Costante
public static const STATE_ERROR:String = "errorState"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

A special value that specifies that an error occurred.

STATE_IN_PROGRESS

Costante 
public static const STATE_IN_PROGRESS:String = "inProgressState"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

A special value that specifies that a search operation is occuring.

STATE_INITIAL

Costante 
public static const STATE_INITIAL:String = "initialState"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

A special value that specifies that the model is initializing.

STATE_SEARCH_COMPLETE

Costante 
public static const STATE_SEARCH_COMPLETE:String = "searchCompleteState"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

A special value that specifies that a search has completed.





[ X ]Perché in inglese?
Il contenuto della Guida di riferimento di ActionScript 3.0 appare in inglese

Non tutte le parti della Guida di riferimento di ActionScript 3.0 sono tradotte in tutte le lingue. Quando un elemento del linguaggio non è tradotto, viene riportato in inglese. Ad esempio, la classe ga.controls.HelpBox non è tradotta in nessuna lingua. Pertanto, nella versione italiana della guida di riferimento, la descrizione della classe ga.controls.HelpBox è riportata in inglese.