DeltaPacket interface (Flash Professional only)

ActionScript Interface Name mx.data.components.datasetclasses.DeltaPacket

The DeltaPacket interface is provided by the deltaPacket property of the DataSet component, which is part of the data management functionality in Flash MX Professional 2004. (For more information, see Data Integration (Flash Professional Only) in Using Flash). Typically the delta packet is used internally by resolver components.The DeltaPacket interface and the related Delta interface and DeltaItem class let you manage changes made to the data. These components have no visual appearance at runtime.

A delta packet is an optimized set of instructions that describe all changes that have been made to the data in a data set. When the DataSet.applyUpdates() method is called, the DataSet component populates the DataSet.deltaPacket property. Typically, this property is connected (by data binding) to a resolver component such as RDBMSResolver. The resolver converts the delta packet into an update packet in the appropriate format.

NOTE

 

Unless you are writing your own custom resolver, it is unlikely you will ever need to know about or write code that accesses methods or properties of a delta packet.

A delta packet contains one or more deltas (see Delta interface (Flash Professional only)), and each delta contains zero or more delta items (see DeltaItem class (Flash Professional only)).

Method summary for the DeltaPacket interface

The following table lists the methods of the DeltaPacket interface.

Method

Description

DeltaPacket.getConfigInfo()

Returns configuration information that is specific to the implementation of the DeltaPacket interface.

DeltaPacket.getIterator()

Returns the iterator for the delta packet that iterates through the delta packet's list of deltas.

DeltaPacket.getSource()

Returns the source of the delta packet. This is the component that has exposed this delta packet.

DeltaPacket.getTimestamp()

Returns the date and time at which the delta packet was instantiated.

DeltaPacket.getTransactionId()

Returns the transaction ID for this delta packet.

DeltaPacket.logChanges()

Indicates whether the consumer of the delta packet should log the changes it specifies.


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/00003450.html