Package | mx.data |
Class | public class RPCDataManager |
Inheritance | RPCDataManager ![]() ![]() |
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Default MXML Propertychildren
Property | Defined By | ||
---|---|---|---|
allowDynamicPropertyChangesWithCachedData : Boolean
If false (default), then changing the item class dynamic properties when the local store is not empty
causes an error fault when setItemClassDynamicProperties() is called. | RPCDataManager | ||
associations : Array
Array of associations for this data manager's destination. | RPCDataManager | ||
children : Array
An array of associations and operations managed by this data manager. | RPCDataManager | ||
![]() | conflicts : Conflicts [read-only]
Contains a Conflicts object, which is an ArrayList of
Conflict instances. | DataManager | |
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
dataStore : DataStore [override] | RPCDataManager | ||
![]() | encryptLocalCache : Boolean | DataManager | |
extendsDestination : String
Name of destination that the destination for this manager extends. | RPCDataManager | ||
![]() | fallBackToLocalFill : Boolean
This flag determines whether the application should query against the
local store when it is not connected. | DataManager | |
![]() | ignoreCollectionUpdates : Boolean
Indicates if changes to managed collections should be ignored instead of
being communicated to the server on a commit. | DataManager | |
itemClassDynamicProperties : Array [read-only]
Returns the list of dynamic properties that are associated with the itemClass. | RPCDataManager | ||
typeProperty : String
Property name of items being managed by this manager that specifies their owning destination. | RPCDataManager |
Method | Defined By | ||
---|---|---|---|
![]() |
Indicates whether an object has a specified property defined. | Object | |
[override]
Forces initialization of the DataStore. | RPCDataManager | ||
![]() |
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 | |
![]() |
Releases the value for a single-valued association. | DataManager | |
Updates the list of dynamic properties that are associated with the itemClass. | RPCDataManager | ||
![]() |
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 |
Method | Defined By | ||
---|---|---|---|
[override]
Queues a fault if this data manager has not yet been initialized. | RPCDataManager |
Event | Summary | Defined By |
---|
allowDynamicPropertyChangesWithCachedData | property |
allowDynamicPropertyChangesWithCachedData:Boolean
If false (default), then changing the item class dynamic properties when the local store is not empty
causes an error fault when setItemClassDynamicProperties()
is called.
If true, then the item class dynamic properties are changed in the metadata.
The client programmer is then responsible for updating the local store as needed.
For example, this.dataStore.localStore would give access to the SQLDBCache instance that can
be manipulated as needed.
NOTE: USE THIS AT YOUR OWN RISK!
Implementation
public function get allowDynamicPropertyChangesWithCachedData():Boolean
public function set allowDynamicPropertyChangesWithCachedData(value:Boolean):void
associations | property |
children | property |
dataStore | property |
extendsDestination | property |
public var extendsDestination:String
Name of destination that the destination for this manager extends. Null if the managed destination does not extend any destination.
itemClassDynamicProperties | property |
typeProperty | property |
public var typeProperty:String
Property name of items being managed by this manager that specifies their owning destination.
checkImplementation | () | method |
override protected function checkImplementation():void
Queues a fault if this data manager has not yet been initialized.
initialize | () | method |
override public function initialize():mx.rpc:AsyncToken
Forces initialization of the DataStore.
Returnsmx.rpc:AsyncToken — AsyncToken reference to the token that will identify this
operation in a result or fault event dispatched from this service.
|
setItemClassDynamicProperties | () | method |
public function setItemClassDynamicProperties(newProperties:Array):void
Updates the list of dynamic properties that are associated with the itemClass. By default, the list can only be modified if the local cache is empty.
Parameters
newProperties:Array |
Throws
Error — error if the local cache is not empty
|
Related API Elements
Wed Nov 21 2018, 06:34 AM -08:00