static class ItemList.DelayedAdditionManager extends java.lang.Object implements TransactionalAction
Modifier and Type | Field and Description |
---|---|
private ItemListData |
list |
private java.util.Set<Listable> |
queue |
Constructor and Description |
---|
DelayedAdditionManager(ItemListData list) |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
add(Listable item) |
(package private) int |
addAll(ItemList.DelayedAdditionManager other) |
void |
onAfterCommit()
Called after a successful commit.
|
void |
onBeforeCommit()
This method is called before the commit is about to happen.
|
void |
onRollback()
Called after an unsuccessful commit.
|
(package private) java.util.Set<Listable> |
queue() |
(package private) boolean |
remove(Listable item) |
(package private) int |
removeAll(ItemList.DelayedAdditionManager other) |
(package private) int |
retainAll(ItemList.DelayedAdditionManager other) |
private final ItemListData list
private final java.util.Set<Listable> queue
DelayedAdditionManager(ItemListData list)
boolean add(Listable item)
boolean remove(Listable item)
int addAll(ItemList.DelayedAdditionManager other)
int removeAll(ItemList.DelayedAdditionManager other)
int retainAll(ItemList.DelayedAdditionManager other)
java.util.Set<Listable> queue()
public void onBeforeCommit()
TransactionalAction
onBeforeCommit
in interface TransactionalAction
public void onAfterCommit()
TransactionalAction
onAfterCommit
in interface TransactionalAction
public void onRollback()
TransactionalAction
onRollback
in interface TransactionalAction