Referencia de ActionScript® 3.0 para la plataforma de Adobe® Flash®
Inicio  |  Ocultar lista de paquetes y clases |  Paquetes  |  Clases  |  Novedades  |  Índice  |  Apéndices  |  ¿Por qué hay texto en inglés?
Filtros: Recuperando datos del servidor...
Recuperando datos del servidor...
mx.data 

IChangeObject  - AS3 ADEP Data Services

Paquetemx.data
Interfazpublic interface IChangeObject

Versión del lenguaje: ActionScript 3.0
Versión de producto: Adobe Digital Enterprise Platform Data Services for Java EE 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Provides the methods and properties needed when detecting local conflicts.

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.



Propiedades públicas
 PropiedadDefinido por
  changedPropertyNames : Array
[solo lectura] The list of property names which changed as part of an update.
IChangeObject
  currentVersion : Object
[solo lectura] Current version of the item.
IChangeObject
  identity : Object
[solo lectura] Identity of the item being changed.
IChangeObject
  message : DataMessage
[solo lectura] Provides access to the local DataMessage object corresponding to the local changes.
IChangeObject
  newVersion : Object
[solo lectura] Remote destinations new version of the item.
IChangeObject
  previousVersion : Object
[solo lectura] Previous version of the item.
IChangeObject
Métodos públicos
 MétodoDefinido por
  
conflict(description:String, properties:Array):void
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
Información sobre propiedades

changedPropertyNames

propiedad
changedPropertyNames:Array  [solo lectura]

Versión del lenguaje: ActionScript 3.0
Versión de producto: Adobe Digital Enterprise Platform Data Services for Java EE 3
Versiones de motor de ejecución: 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.



Implementación
    public function get changedPropertyNames():Array

currentVersion

propiedad 
currentVersion:Object  [solo lectura]

Versión del lenguaje: ActionScript 3.0
Versión de producto: Adobe Digital Enterprise Platform Data Services for Java EE 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Current version of the item.



Implementación
    public function get currentVersion():Object

identity

propiedad 
identity:Object  [solo lectura]

Versión del lenguaje: ActionScript 3.0
Versión de producto: Adobe Digital Enterprise Platform Data Services for Java EE 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Identity of the item being changed.



Implementación
    public function get identity():Object

message

propiedad 
message:DataMessage  [solo lectura]

Versión del lenguaje: ActionScript 3.0
Versión de producto: Adobe Digital Enterprise Platform Data Services for Java EE 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Provides access to the local DataMessage object corresponding to the local changes.



Implementación
    public function get message():DataMessage

newVersion

propiedad 
newVersion:Object  [solo lectura]

Versión del lenguaje: ActionScript 3.0
Versión de producto: Adobe Digital Enterprise Platform Data Services for Java EE 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Remote destinations new version of the item.



Implementación
    public function get newVersion():Object

previousVersion

propiedad 
previousVersion:Object  [solo lectura]

Versión del lenguaje: ActionScript 3.0
Versión de producto: Adobe Digital Enterprise Platform Data Services for Java EE 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Previous version of the item.



Implementación
    public function get previousVersion():Object
Información sobre métodos

conflict

()método
public function conflict(description:String, properties:Array):void

Versión del lenguaje: ActionScript 3.0
Versión de producto: Adobe Digital Enterprise Platform Data Services for Java EE 3
Versiones de motor de ejecución: 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.

Parámetros

description:String — A String available on the faultString property of the event's message property.
 
properties:Array — Indicate which properites are in conflict.

getConflict

()método 
public function getConflict():DataErrorMessage

Versión del lenguaje: ActionScript 3.0
Versión de producto: Adobe Digital Enterprise Platform Data Services for Java EE 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Returns the conflict created with a previous call to the conflict() method.

Valor devuelto
DataErrorMessage — DataErrorMessage object describing the conflict.

isCreate

()método 
public function isCreate():Boolean

Versión del lenguaje: ActionScript 3.0
Versión de producto: Adobe Digital Enterprise Platform Data Services for Java EE 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Indicates if the change is due to a new item.

Valor devuelto
Booleantrue if the change is due to a new item.

isDelete

()método 
public function isDelete():Boolean

Versión del lenguaje: ActionScript 3.0
Versión de producto: Adobe Digital Enterprise Platform Data Services for Java EE 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Indicates if the item was deleted.

Valor devuelto
Booleantrue if the item was deleted.

isUpdate

()método 
public function isUpdate():Boolean

Versión del lenguaje: ActionScript 3.0
Versión de producto: Adobe Digital Enterprise Platform Data Services for Java EE 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Indicates if the change is due to an update.

Valor devuelto
Booleantrue if the change is due to an update.




[ X ]¿Por qué hay texto en inglés?
Cierto contenido de la Referencia de ActionScript 3.0 se muestra en inglés

No todo el contenido de la Referencia de ActionScript 3.0 se traduce a todos los idiomas. Si un elemento del lenguaje no se traduce, aparecerá en inglés. Por ejemplo, la clase ga.controls.HelpBox no está traducida en ningún idioma. Por lo tanto, en la versión en español de la referencia, la clase ga.controls.HelpBox aparecerá en inglés.