|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MementoCollector | |
---|---|
org.prevayler.demos.memento | |
org.prevayler.demos.memento.commands | |
org.prevayler.util.memento |
Uses of MementoCollector in org.prevayler.demos.memento |
---|
Methods in org.prevayler.demos.memento with parameters of type MementoCollector | |
---|---|
void |
Bank.createMemento(MementoCollector collector)
Create a memento of the current state. |
void |
Account.createMemento(MementoCollector collector)
Create a memento of the current state. |
Uses of MementoCollector in org.prevayler.demos.memento.commands |
---|
Methods in org.prevayler.demos.memento.commands with parameters of type MementoCollector | |
---|---|
protected void |
Withdrawal.createMementos(MementoCollector collector)
|
protected void |
Transfer.createMementos(MementoCollector collector)
|
protected void |
Deposit.createMementos(MementoCollector collector)
|
protected void |
AccountDeletion.createMementos(MementoCollector collector)
|
protected void |
AccountCreation.createMementos(MementoCollector collector)
|
protected Account |
Withdrawal.execute(MementoCollector collector)
|
protected Account |
Transfer.execute(MementoCollector collector)
|
protected Account |
Deposit.execute(MementoCollector collector)
|
protected Account |
AccountDeletion.execute(MementoCollector collector)
|
protected Account |
AccountCreation.execute(MementoCollector collector)
|
Uses of MementoCollector in org.prevayler.util.memento |
---|
Classes in org.prevayler.util.memento that implement MementoCollector | |
---|---|
class |
MementoManagerCommand
This transaction manages the mementos and restores them in case of a failure. |
Methods in org.prevayler.util.memento with parameters of type MementoCollector | |
---|---|
protected abstract void |
MementoTransaction.createMementos(MementoCollector collector)
Create mementos for all objects which (possibly) get modified. |
protected abstract Account |
MementoTransaction.execute(MementoCollector collector)
Execute the actual command. |
Account |
MementoTransaction.execute(MementoCollector collector,
Bank prevalentSystem)
Executes this command on the received system. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |