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