public class AfterSaveEventChangesCollector
extends java.lang.Object
AfterSaveEvents for each entity change.| Modifier and Type | Field and Description |
|---|---|
protected int |
CREATE_DELETE_MASK |
| Constructor and Description |
|---|
AfterSaveEventChangesCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the collected events.
|
void |
collect(PK pk,
int type)
Collects the information when an item is created, updated, or removed.
|
byte[][] |
getEncodedChanges()
Retrieves all collected
AfterSaveEvents. |
protected int |
mergeChanges(int changesMask) |
protected boolean |
skipChanges(int changesMask) |
protected final int CREATE_DELETE_MASK
public void collect(PK pk, int type)
pk - the pk of the itemtype - the operation on the item, must be either AfterSaveEvent.UPDATE, AfterSaveEvent.REMOVE,
or AfterSaveEvent.CREATEpublic byte[][] getEncodedChanges()
AfterSaveEvents. NOTE: for a certain item, only one type is valid.
AfterSaveEvents.protected int mergeChanges(int changesMask)
protected boolean skipChanges(int changesMask)
public void clear()
Copyright © 2018 SAP SE. All Rights Reserved.