de.grogra.persistence
Class TransactionApplier
java.lang.Object
de.grogra.persistence.TransactionApplier
- All Implemented Interfaces:
- Transaction.Consumer
public abstract class TransactionApplier
- extends java.lang.Object
- implements Transaction.Consumer
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transaction
protected Transaction transaction
TransactionApplier
public TransactionApplier()
begin
public void begin()
- Specified by:
begin
in interface Transaction.Consumer
end
public void end()
- Specified by:
end
in interface Transaction.Consumer
insertComponent
public void insertComponent(PersistenceCapable pc,
PersistenceField field,
int[] indices,
Transaction.Reader reader)
- Specified by:
insertComponent
in interface Transaction.Consumer
makePersistent
public void makePersistent(long id,
ManageableType type)
- Specified by:
makePersistent
in interface Transaction.Consumer
makeTransient
public void makeTransient(PersistenceCapable o,
ManageableType type)
- Specified by:
makeTransient
in interface Transaction.Consumer
readData
public void readData(PersistenceCapable o,
Transaction.Reader reader)
- Specified by:
readData
in interface Transaction.Consumer
removeComponent
public void removeComponent(PersistenceCapable pc,
PersistenceField field,
int[] indices,
Transaction.Reader reader)
- Specified by:
removeComponent
in interface Transaction.Consumer
setField
public void setField(PersistenceCapable pc,
PersistenceField field,
int[] indices,
Transaction.Reader reader)
- Specified by:
setField
in interface Transaction.Consumer