Delta interface (Flash Professional only)

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.

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 (Flash Professional only).

Use the Delta interface to examine the delta packet before sending changes to the server and to review messages returned from server-side processing.

Method summary for the Delta interface

The following table lists the methods of the Delta interface.

Method

Description

Delta.addDeltaItem()

Adds the specified DeltaItem instance.

Delta.getChangeList()

Returns an array of changes made to the current item.

Delta.getDeltaPacket()

Returns the delta packet that contains the delta.

Delta.getId()

Returns the unique ID of the current item within the DeltaPacket collection.

Delta.getItemByName()

Returns the specified DeltaItem object.

Delta.getMessage()

Returns the message associated with the current item.

Delta.getOperation()

Returns the operation that was performed on the current item within the original collection.

Delta.getSource()

Returns the transfer object on which the changes were performed.


Version 8

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/8/main/00003441.html