套件 | mx.data |
類別 | public class ManagedOperation |
繼承 | ManagedOperation Object |
子類別 | ManagedQuery |
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | 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 |
方法 | 定義自 | ||
---|---|---|---|
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 | ||
指出物件是否有已定義的指定屬性。 | 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 | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object |
convertResults | 屬性 |
public var convertResults:Boolean = true
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Turns on/off conversion of result element types.
預設值為 true。
dataManager | 屬性 |
dataManager:RPCDataManager
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Each ManagedOperation should be a child of an RPCDataManager tag. This property stores a reference to the parent.
實作
public function get dataManager():RPCDataManager
public function set dataManager(value:RPCDataManager):void
ignore | 屬性 |
public var ignore:Boolean = false
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | 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
.
預設值為 false。
name | 屬性 |
public var name:String
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Name of the operation in the service which this is managing.
operation | 屬性 |
public var operation:AbstractOperation
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Stores the service's operation which we are using for this managed operation.
parameters | 屬性 |
parameters:String
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
A usually optional metadata value which stores the comma separated list of parameter names for this operation.
實作
public function get parameters():String
public function set parameters(value:String):void
resultElementType | 屬性 |
public var resultElementType:Class
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | 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 | 屬性 |
public var resultType:Class
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The class of the return type for this operation.
type | 屬性 |
public var type:String
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Represents the type of the managed operation.
Values are: 'create'
, 'update'
,
'delete'
, 'get'
, 'query'
, and 'findItem'
.
預設值為 ""。
ManagedOperation | () | 建構函式 |
public function ManagedOperation(nameParam:String = null, typeParam:String = null)
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | 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.
參數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'.
|
disableManagement | () | 方法 |
public function disableManagement():void
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | 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 | () | 方法 |
public function enableManagement():void
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Enables data management for this operation if it has been disabled previously.
initialize | () | 方法 |
public function initialize():void
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Initializes the managed operation throwing errors for any configuration problems that are encountered along the way.
invokeService | () | 方法 |
public function invokeService(args:Array):mx.rpc:AsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Invokes the operation on the real service without any management.
參數
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.
|
Tue Jun 12 2018, 03:47 PM Z