패키지 | mx.data |
클래스 | public dynamic class ManagedObjectProxy |
상속 | ManagedObjectProxy ObjectProxy Proxy |
구현 | IManaged |
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
addEventListener()
method.
This class provides the same level of functionality for anonymous objects
managed by a DataService as that given to any class with
[Managed]
metadata applied to it.
메서드 | 정의 주체 | ||
---|---|---|---|
Intializes this proxy with the specified object and id. | ManagedObjectProxy | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object
so that the listener receives notification of an event. | ObjectProxy | ||
Dispatches an event into the event flow. | ObjectProxy | ||
Checks whether there are any event listeners registered
for a specific type of event. | ObjectProxy | ||
Called when a complex property is updated. | ObjectProxy | ||
[재정의]
ManagedObjectProxy may need to exclude properties on the wrapped
anonymous Object if a DataService destination is defined and lazy
associations have been configured. | ManagedObjectProxy | ||
Removes an event listener. | ObjectProxy | ||
Checks whether an event listener is registered with this object
or any of its ancestors for the specified event type. | ObjectProxy | ||
[재정의]
ManagedObjectProxy checks if properties on the wrapped anonymous Object
are lazy associations and if so they are excluded from serialization. | ManagedObjectProxy |
메서드 | 정의 주체 | ||
---|---|---|---|
[재정의]
DataService must save the state of an unmanaged collection before a
change to any of the contained items has been modified. | ManagedObjectProxy | ||
[재정의]
If the property being set is an ArrayCollection then we need to ensure
that any list that this proxy was previously listening for events on
should stop. | ManagedObjectProxy | ||
This method creates an array of all of the property names for the
proxied object. | ObjectProxy |
uid | 속성 |
uid:String
[재정의] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The unique id for this object instance.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
override public function get uid():String
override public function set uid(value:String):void
ManagedObjectProxy | () | 생성자 |
public function ManagedObjectProxy(item:Object = null, uid:String = null)
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Intializes this proxy with the specified object and id.
매개 변수item:Object (default = null ) — Object to proxy.
if no item is specified, an anonymous object will be constructed
and assigned.
| |
uid:String (default = null ) — String containing the unique id for this object
instance.
Required for IManaged compliance as every object must
provide a unique way of identifying it.
If no value is specified a random id will be assigned.
|
getProperty | () | 메서드 |
override flash_proxy function getProperty(name:*):*
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
DataService must save the state of an unmanaged collection before a change to any of the contained items has been modified. To do this we need to listen for PropertyChangeEvents from the list implementation, and redispatch those events so that the DataService can intercept them and make the appropriate snapshot of the collection. We detect an unmanaged collection by looking at the list implementation. Managed collections have a DataList and unmanaged collections use lists that should implement IPropertyChangeNotifier.
매개 변수
name:* — Typically a string containing the name of the property
or possibly a QName where the property name is found by
inspecting the localName property.
|
* — The property value or an instance of ObjectProxy
|
readExternal | () | 메서드 |
override public function readExternal(input:IDataInput):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
ManagedObjectProxy may need to exclude properties on the wrapped
anonymous Object if a DataService destination is defined and lazy
associations have been configured. This method supports the custom
serialization of writeExternal
.
매개 변수
input:IDataInput — The source of the serialized data.
|
setProperty | () | 메서드 |
override flash_proxy function setProperty(name:*, value:*):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
If the property being set is an ArrayCollection then we need to ensure that any list that this proxy was previously listening for events on should stop.
매개 변수
name:* — Object containing the name of the property that
should be updated on the proxied object.
| |
value:* — Value that should be set on the proxied object.
|
writeExternal | () | 메서드 |
override public function writeExternal(output:IDataOutput):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
ManagedObjectProxy checks if properties on the wrapped anonymous Object are lazy associations and if so they are excluded from serialization.
매개 변수
output:IDataOutput — The destination of the serialized data.
|
Tue Jun 12 2018, 03:17 PM Z