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...
mx.data 

ManagedOperation  - AS3 ADEP Data Services

Pacchettomx.data
Classepublic class ManagedOperation
EreditarietàManagedOperation Inheritance Object
Sottoclassi ManagedQuery

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Data Services per Java EE 3
Versioni runtime: Flash Player 9, AIR 1.1

The ManagedOperation class is used to represent a managed service operation for an RPC service that uses client-side data management.



Proprietà pubbliche
 ProprietàDefinito da
 Inheritedconstructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto.
Object
  convertResults : Boolean = true
Turns on/off conversion of result element types.
ManagedOperation
  dataManager : RPCDataManager
Each ManagedOperation should be a child of an RPCDataManager tag.
ManagedOperation
  ignore : Boolean = false
It may be useful in some cases to ignore a particular managed operation.
ManagedOperation
  name : String
Name of the operation in the service which this is managing.
ManagedOperation
  operation : AbstractOperation
Stores the service's operation which we are using for this managed operation.
ManagedOperation
  parameters : String
A usually optional metadata value which stores the comma separated list of parameter names for this operation.
ManagedOperation
  resultElementType : Class
For operations which return a multi-valued response, this specifies the type of the elements of the Array or ArrayCollection.
ManagedOperation
  resultType : Class
The class of the return type for this operation.
ManagedOperation
  type : String
Represents the type of the managed operation.
ManagedOperation
Metodi pubblici
 MetodoDefinito da
  
ManagedOperation(nameParam:String = null, typeParam:String = null)
Creates a ManagedOperation object.
ManagedOperation
  
Disables data management for this operation.
ManagedOperation
  
Enables data management for this operation if it has been disabled previously.
ManagedOperation
 Inherited
Indica se per un oggetto è definita una proprietà specifica.
Object
  
Initializes the managed operation throwing errors for any configuration problems that are encountered along the way.
ManagedOperation
  
Invokes the operation on the real service without any management.
ManagedOperation
 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
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
Descrizione delle proprietà

convertResults

proprietà
public var convertResults:Boolean = true

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Data Services per Java EE 3
Versioni runtime: Flash Player 9, AIR 1.1

Turns on/off conversion of result element types.

Il valore predefinito è true.

dataManager

proprietà 
dataManager:RPCDataManager

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Data Services per Java EE 3
Versioni runtime: Flash Player 9, AIR 1.1

Each ManagedOperation should be a child of an RPCDataManager tag. This property stores a reference to the parent.



Implementazione
    public function get dataManager():RPCDataManager
    public function set dataManager(value:RPCDataManager):void

ignore

proprietà 
public var ignore:Boolean = false

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Data Services per Java EE 3
Versioni runtime: Flash Player 9, AIR 1.1

It may be useful in some cases to ignore a particular managed operation. If so, you can set this property to true.

Il valore predefinito è false.

name

proprietà 
public var name:String

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Data Services per Java EE 3
Versioni runtime: Flash Player 9, AIR 1.1

Name of the operation in the service which this is managing.

operation

proprietà 
public var operation:AbstractOperation

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Data Services per Java EE 3
Versioni runtime: Flash Player 9, AIR 1.1

Stores the service's operation which we are using for this managed operation.

parameters

proprietà 
parameters:String

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Data Services per Java EE 3
Versioni runtime: Flash Player 9, AIR 1.1

A usually optional metadata value which stores the comma separated list of parameter names for this operation.



Implementazione
    public function get parameters():String
    public function set parameters(value:String):void

resultElementType

proprietà 
public var resultElementType:Class

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Data Services per Java EE 3
Versioni runtime: Flash Player 9, AIR 1.1

For operations which return a multi-valued response, this specifies the type of the elements of the Array or ArrayCollection.

resultType

proprietà 
public var resultType:Class

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Data Services per Java EE 3
Versioni runtime: Flash Player 9, AIR 1.1

The class of the return type for this operation.

type

proprietà 
public var type:String

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Data Services per Java EE 3
Versioni runtime: Flash Player 9, AIR 1.1

Represents the type of the managed operation. Values are: 'create', 'update', 'delete', 'get', 'query', and 'findItem'.

Il valore predefinito è "".

Descrizione della funzione di costruzione

ManagedOperation

()Funzione di costruzione
public function ManagedOperation(nameParam:String = null, typeParam:String = null)

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Data Services per Java EE 3
Versioni runtime: Flash Player 9, AIR 1.1

Creates a ManagedOperation object. Both name and type are required parameters though they are optional here so this class can be used as an MXML tag.

Parametri
nameParam:String (default = null) — Name of the operation in the service which this is managing.
 
typeParam:String (default = null) — The type of the managed operation. Values are: 'create', 'update', 'delete', 'get', 'query', or 'findItem'.
Descrizione dei metodi

disableManagement

()metodo
public function disableManagement():void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Data Services per Java EE 3
Versioni runtime: Flash Player 9, AIR 1.1

Disables data management for this operation. When management is disabled, the operation is executed as it would be if it were unmanaged.

enableManagement

()metodo 
public function enableManagement():void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Data Services per Java EE 3
Versioni runtime: Flash Player 9, AIR 1.1

Enables data management for this operation if it has been disabled previously.

initialize

()metodo 
public function initialize():void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Data Services per Java EE 3
Versioni runtime: Flash Player 9, AIR 1.1

Initializes the managed operation throwing errors for any configuration problems that are encountered along the way.

invokeService

()metodo 
public function invokeService(args:Array):mx.rpc:AsyncToken

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Data Services per Java EE 3
Versioni runtime: Flash Player 9, AIR 1.1

Invokes the operation on the real service without any management.

Parametri

args:Array — arguments for the invocation

Restituisce
mx.rpc:AsyncToken — AsyncToken token that may be used to register one or more callback functions to receive result or fault events from this invocation.




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