de.grogra.persistence
public abstract class TransactionApplier extends java.lang.Object implements Transaction.Consumer
Transaction.Consumer.Adapter, Transaction.Consumer.Multicaster| Modifier and Type | Field and Description |
|---|---|
protected Transaction |
transaction |
| Constructor and Description |
|---|
TransactionApplier() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
end() |
void |
insertComponent(PersistenceCapable pc,
PersistenceField field,
int[] indices,
Transaction.Reader reader) |
void |
makePersistent(long id,
ManageableType type) |
void |
makeTransient(PersistenceCapable o,
ManageableType type) |
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) |
protected Transaction transaction
public void begin()
begin in interface Transaction.Consumerpublic void end()
end in interface Transaction.Consumerpublic void insertComponent(PersistenceCapable pc, PersistenceField field, int[] indices, Transaction.Reader reader)
insertComponent in interface Transaction.Consumerpublic void makePersistent(long id,
ManageableType type)
makePersistent in interface Transaction.Consumerpublic void makeTransient(PersistenceCapable o, ManageableType type)
makeTransient in interface Transaction.Consumerpublic void readData(PersistenceCapable o, Transaction.Reader reader)
readData in interface Transaction.Consumerpublic void removeComponent(PersistenceCapable pc, PersistenceField field, int[] indices, Transaction.Reader reader)
removeComponent in interface Transaction.Consumerpublic void setField(PersistenceCapable pc, PersistenceField field, int[] indices, Transaction.Reader reader)
setField in interface Transaction.Consumer