| Package | mx.data |
| Interface | public interface IChangeObject |
ConflictDetector object.
To customize local conflict detection the ConflictDetector
can be extended and assigned to the DataService.conflictDetector
property.
| Property | Defined by | ||
|---|---|---|---|
| changedPropertyNames : Array
[read-only]
Returns the list of property names which changed as part of an
update.
| IChangeObject | ||
| currentVersion : Object
[read-only]
New version of the item.
| IChangeObject | ||
| identity : Object
[read-only]
Identity of the item being changed.
| IChangeObject | ||
| message : DataMessage
[read-only]
Provides access to the local
DataMessage corresponding
to the local changes. | IChangeObject | ||
| newVersion : Object
[read-only]
Remote destinations current version of the item.
| IChangeObject | ||
| previousVersion : Object
[read-only]
Previous version of the item.
| IChangeObject | ||
| Method | Defined by | ||
|---|---|---|---|
|
Declares that a conflict occurred while processing this change.
| IChangeObject | ||
|
Returns the conflict created with a previous call to the
conflict() method. | IChangeObject | ||
|
Indicates if the change is due to a new item.
| IChangeObject | ||
|
Indicates if the item was deleted.
| IChangeObject | ||
|
Indicates if the change is due to an update.
| IChangeObject | ||
| changedPropertyNames | property |
changedPropertyNames:Array [read-only]Returns the list of property names which changed as part of an update. If this method returns null, it is in indication that all properties may have changed.
Implementation public function get changedPropertyNames():Array
| currentVersion | property |
currentVersion:Object [read-only]New version of the item.
Implementation public function get currentVersion():Object
| identity | property |
identity:Object [read-only]Identity of the item being changed.
Implementation public function get identity():Object
| message | property |
message:DataMessage [read-only]
Provides access to the local DataMessage corresponding
to the local changes.
public function get message():DataMessage
| newVersion | property |
newVersion:Object [read-only]Remote destinations current version of the item.
Implementation public function get newVersion():Object
| previousVersion | property |
previousVersion:Object [read-only]Previous version of the item.
Implementation public function get previousVersion():Object
| conflict | () | method |
public function conflict(description:String, properties:Array):void
Declares that a conflict occurred while processing this change.
The conflict will be dispatched as a ConflictEvent on the
DataService.
The specified properites list will indicate which properites are in
conflict.
The specified description will be available on the
faultString property of the event's message
property.
description:String |
|
properties:Array |
| getConflict | () | method |
public function getConflict():DataErrorMessage
Returns the conflict created with a previous call to the
conflict() method.
DataErrorMessage |
| isCreate | () | method |
| isDelete | () | method |
| isUpdate | () | method |
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flex/2/langref/mx/data/IChangeObject.html
Comments
Brian Mantuano said on Apr 23, 2008 at 11:32 AM :