java.lang.Object
de.grogra.persistence.TransactionApplier
- All Implemented Interfaces:
Transaction.Consumer
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.persistence.Transaction.Consumer
Transaction.Consumer.Adapter, Transaction.Consumer.Multicaster
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
begin()
void
end()
void
insertComponent
(PersistenceCapable pc, PersistenceField field, int[] indices, Transaction.Reader reader) void
makePersistent
(long id, ManageableType type) void
void
readData
(PersistenceCapable o, Transaction.Reader reader) void
removeComponent
(PersistenceCapable pc, PersistenceField field, int[] indices, Transaction.Reader reader) void
setField
(PersistenceCapable pc, PersistenceField field, int[] indices, Transaction.Reader reader)
-
Field Details
-
transaction
-
-
Constructor Details
-
TransactionApplier
public TransactionApplier()
-
-
Method Details
-
begin
public void begin()- Specified by:
begin
in interfaceTransaction.Consumer
-
end
public void end()- Specified by:
end
in interfaceTransaction.Consumer
-
makePersistent
- Specified by:
makePersistent
in interfaceTransaction.Consumer
-
makeTransient
- Specified by:
makeTransient
in interfaceTransaction.Consumer
-
readData
- Specified by:
readData
in interfaceTransaction.Consumer
-
setField
public void setField(PersistenceCapable pc, PersistenceField field, int[] indices, Transaction.Reader reader) - Specified by:
setField
in interfaceTransaction.Consumer
-
insertComponent
public void insertComponent(PersistenceCapable pc, PersistenceField field, int[] indices, Transaction.Reader reader) - Specified by:
insertComponent
in interfaceTransaction.Consumer
-
removeComponent
public void removeComponent(PersistenceCapable pc, PersistenceField field, int[] indices, Transaction.Reader reader) - Specified by:
removeComponent
in interfaceTransaction.Consumer
-