ActionScript 2.0 Components Language Reference |
|
|
|
| Delta interface | |||
ActionScript Interface Name mx.data.components.datasetclasses.Delta
The Delta interface provides access to the transfer object, collection, and transfer object-level changes. With this interface you can access the new and previous values in a transfer object. For example, if the delta packet was obtained from a data set, each delta would represent an added, edited, or deleted row.
|
NOTE |
The Delta interface is supported only if you are working in a document that specifies ActionScript 2.0 in its Publish Settings. |
The Delta interface also provides access to messages returned by the associated server-side process. For more information on client-server interactions, see RDBMSResolver component.
Use the Delta interface to examine the delta packet before sending changes to the server and to review messages returned from server-side processing.
The following table lists the methods of the Delta interface.
|
Method |
Description |
|---|---|
|
Adds the specified DeltaItem instance. |
|
|
Returns an array of changes made to the current item. |
|
|
Returns the delta packet that contains the delta. |
|
|
Returns the unique ID of the current item within the DeltaPacket collection. |
|
|
Returns the specified DeltaItem object. |
|
|
Returns the message associated with the current item. |
|
|
Returns the operation that was performed on the current item within the original collection. |
|
|
Returns the transfer object on which the changes were performed. |
|
|
|
|