public class AfterSaveEventUtils
extends java.lang.Object
| Constructor and Description |
|---|
AfterSaveEventUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Collection<AfterSaveEvent> |
createEventsFromChanges(byte[][] changes)
Creates the effective set of
AfterSaveEvent objects from a array of encoded changes ( which are byte
arrays as well). |
static java.util.Collection<AfterSaveEvent> |
createEventsFromChanges(byte[][] changes,
boolean removeUnnecessaryTypes)
Creates the effective set of
AfterSaveEvent objects from a array of encoded changes ( which are byte
arrays as well). |
static int |
decodeChangeTypes(byte[] encodedChanges)
Decoded changes from encoded changes byte array.
|
static PK |
decodePK(byte[] encodedChanges)
Decoded PK from encoded changes byte array.
|
static byte[] |
encodeChanges(PK pk,
int types)
Encodes several changes of one PK into a byte array.
|
public static byte[] encodeChanges(PK pk, int types)
decodeChangeTypes(byte[]),
decodePK(byte[])public static PK decodePK(byte[] encodedChanges)
encodeChanges(PK, int)public static int decodeChangeTypes(byte[] encodedChanges)
encodeChanges(PK, int)public static java.util.Collection<AfterSaveEvent> createEventsFromChanges(byte[][] changes)
AfterSaveEvent objects from a array of encoded changes ( which are byte
arrays as well).
Please note that unnecessary change types are silently removed.AfterSaveEventspublic static java.util.Collection<AfterSaveEvent> createEventsFromChanges(byte[][] changes, boolean removeUnnecessaryTypes)
AfterSaveEvent objects from a array of encoded changes ( which are byte
arrays as well).removeUnnecessaryTypes - if true change types that are considered unnecessary are not translated into events. These
are: any UPDATE which has a matching REMOVE; any UPDATE that has a matching CREATE and no REMOVE.AfterSaveEventsCopyright © 2018 SAP SE. All Rights Reserved.