Pakket | mx.data |
Interface | public interface IChangeObject |
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Conflicts represent an error that has occurred due to an update operation. Conflicts are generated for many reasons. For example, another client has updated the same property of an item.
Conflicts are determined by both the remote destination and the local DataService. A conflict detected by the DataService is considered a local conflict. A conflict detected by the remote destination is a remote conflict.
This interface is used when detecting local conflicts.
Local conflicts are determined by the ConflictDetector
object.
To customize local conflict detection the ConflictDetector
can be extended and assigned to the DataService.conflictDetector
property.
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
changedPropertyNames : Array [alleen-lezen]
The list of property names which changed as part of an
update. | IChangeObject | ||
currentVersion : Object [alleen-lezen]
Current version of the item. | IChangeObject | ||
identity : Object [alleen-lezen]
Identity of the item being changed. | IChangeObject | ||
message : DataMessage [alleen-lezen]
Provides access to the local DataMessage object corresponding
to the local changes. | IChangeObject | ||
newVersion : Object [alleen-lezen]
Remote destinations new version of the item. | IChangeObject | ||
previousVersion : Object [alleen-lezen]
Previous version of the item. | IChangeObject |
Methode | Gedefinieerd door | ||
---|---|---|---|
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 | eigenschap |
changedPropertyNames:Array
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
The list of property names which changed as part of an update. If this property contains null, it is in indication that all properties may have changed.
Implementatie
public function get changedPropertyNames():Array
currentVersion | eigenschap |
identity | eigenschap |
message | eigenschap |
message:DataMessage
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Provides access to the local DataMessage object corresponding to the local changes.
Implementatie
public function get message():DataMessage
newVersion | eigenschap |
previousVersion | eigenschap |
conflict | () | methode |
public function conflict(description:String, properties:Array):void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Declares that a conflict occurred while processing this change. The conflict is dispatched as a ConflictEvent event on the DataService object.
Parameters
description:String — A String available on the
faultString property of the event's message
property.
| |
properties:Array — Indicate which properites are in
conflict.
|
getConflict | () | methode |
public function getConflict():DataErrorMessage
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns the conflict created with a previous call to the
conflict()
method.
DataErrorMessage — DataErrorMessage object describing the conflict.
|
isCreate | () | methode |
isDelete | () | methode |
isUpdate | () | methode |
Wed Jun 13 2018, 11:42 AM Z