public abstract class EventHelper extends Object
| Constructor and Description |
|---|
EventHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected static Map<EntryEvent.Type,Set<BinaryEntry>> |
getEntryEventsMap(Set<BinaryEntry> setEntries, boolean fPreEvent)
Converts the provided set of
entries into a map keyed by EntryEvent and with a value of a Set of entries. |
static Map<EntryEvent.Type,Set<BinaryEntry>> |
getEntryEventsMap(TransactionEvent event)
Converts the provided
TransactionEvent into a map keyed by EntryEvent and with a value of a Set of entries. |
static Map<EntryEvent.Type,Set<BinaryEntry>> |
getEntryEventsMap(UnsolicitedCommitEvent event)
Converts the provided
UnsolicitedCommitEvent into a map keyed by EntryEvent and with a value of a Set of entries. |
public static Map<EntryEvent.Type,Set<BinaryEntry>> getEntryEventsMap(TransactionEvent event)
TransactionEvent into a map keyed by EntryEvent and with a value of a Set of entries.event - the TransactionEvent to converttypes to a set of entriespublic static Map<EntryEvent.Type,Set<BinaryEntry>> getEntryEventsMap(UnsolicitedCommitEvent event)
UnsolicitedCommitEvent into a map keyed by EntryEvent and with a value of a Set of entries.event - the UnsolicitedCommitEvent to converttypes to a set of entriesprotected static Map<EntryEvent.Type,Set<BinaryEntry>> getEntryEventsMap(Set<BinaryEntry> setEntries, boolean fPreEvent)
entries into a map keyed by EntryEvent and with a value of a Set of entries.setEntries - the set of entries to categorize into EntryEvent.TypesfPreEvent - whether the entries are part of a pre-eventtypes to a set of entries