| Previous | Next | Frames | No Frames |
| Summary: Field | Property | Contructor | Method | Detail: Field | Property | Contructor | Method |
Object | +--xp.data.DeltaPacket
Field Summary | |
| public | deleteItems |
| Associative array of deleted items indexed by itemId | |
| public | hasDelta: Boolean |
| Do we have delta items | |
| public | insertItems |
| Associative array of insered items indexed by itemId | |
| public | logChanges: Boolean |
| Indicates whether the consumer of the delta packet should log the changes it specifies. | |
| public | schema: Object |
| Get or set the schema associated with the delta items | |
| public | transactionId: String |
| The delta packets tx number | |
| public | updateItems |
| Associative array of updated items indexed by itemId | |
Constructor | |
| public | DeltaPacket ( ) |
| Creates a new DeltaPacket instance | |
Method Summary | |
| public | addDeleteItem ( oldItem: Object ) |
| Adds the currentItem as a deleted item to the deltaPacket | |
| public | addInsertItem ( newItem: Object ) |
| Adds the currentItem as an insert item to the deltaPacket | |
| public | addUpdateItem ( oldItem, newItem: Object ) |
| Adds the currentItem as an update item to the deltaPacket | |
| public var deleteItems |
| Associative array of deleted items indexed by itemId |
| public var hasDelta: Boolean |
| Do we have delta items |
| public var insertItems |
| Associative array of insered items indexed by itemId |
| public var logChanges: Boolean |
| Indicates whether the consumer of the delta packet should log the changes it specifies. True if the consumer of this delta packet should log the changes it specifies |
| public var schema: Object |
| Get or set the schema associated with the delta items |
| public var transactionId: String |
| The delta packets tx number |
| public var updateItems |
| Associative array of updated items indexed by itemId |
|
| Creates a new DeltaPacket instance |
|
| Adds the currentItem as a deleted item to the deltaPacket |
|
| Adds the currentItem as an insert item to the deltaPacket |
|
| Adds the currentItem as an update item to the deltaPacket |