Package | mx.data |
Class | public class ManagedOperation |
Inheritance | ManagedOperation Object |
Subclasses | ManagedQuery |
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | 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 | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
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 |
Method | Defined By | ||
---|---|---|---|
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 | ||
Indicates whether an object has a specified property defined. | 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 | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
convertResults | property |
public var convertResults:Boolean = true
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Turns on/off conversion of result element types.
The default value is true.
dataManager | property |
dataManager:RPCDataManager
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Each ManagedOperation should be a child of an RPCDataManager tag. This property stores a reference to the parent.
Implementation
public function get dataManager():RPCDataManager
public function set dataManager(value:RPCDataManager):void
ignore | property |
public var ignore:Boolean = false
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | 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
.
The default value is false.
name | property |
public var name:String
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Name of the operation in the service which this is managing.
operation | property |
public var operation:AbstractOperation
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Stores the service's operation which we are using for this managed operation.
parameters | property |
parameters:String
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
A usually optional metadata value which stores the comma separated list of parameter names for this operation.
Implementation
public function get parameters():String
public function set parameters(value:String):void
resultElementType | property |
public var resultElementType:Class
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | 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 | property |
public var resultType:Class
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The class of the return type for this operation.
type | property |
public var type:String
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Represents the type of the managed operation.
Values are: 'create'
, 'update'
,
'delete'
, 'get'
, 'query'
, and 'findItem'
.
The default value is "".
ManagedOperation | () | Constructor |
public function ManagedOperation(nameParam:String = null, typeParam:String = null)
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | 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.
ParametersnameParam: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'.
|
disableManagement | () | method |
public function disableManagement():void
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | 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 | () | method |
public function enableManagement():void
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Enables data management for this operation if it has been disabled previously.
initialize | () | method |
public function initialize():void
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Initializes the managed operation throwing errors for any configuration problems that are encountered along the way.
invokeService | () | method |
public function invokeService(args:Array):mx.rpc:AsyncToken
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Invokes the operation on the real service without any management.
Parameters
args:Array — arguments for the invocation
|
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.
|
Mon Nov 28 2011, 06:48 AM -08:00