static class ItemList.DelayedAdditionManager extends Object implements TransactionalAction
Modifier and Type | Field and Description |
---|---|
private ItemListData |
list |
private Set<Listable> |
queue |
Constructor and Description |
---|
ItemList.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) 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
ItemList.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)
public void onBeforeCommit()
TransactionalAction
onBeforeCommit
in interface TransactionalAction
public void onAfterCommit()
TransactionalAction
onAfterCommit
in interface TransactionalAction
public void onRollback()
TransactionalAction
onRollback
in interface TransactionalAction