de.grogra.persistence
Class Transaction.Consumer.Adapter
java.lang.Object
de.grogra.persistence.Transaction.Consumer.Adapter
- All Implemented Interfaces:
- Transaction.Consumer
- Direct Known Subclasses:
- GraphTransaction.Consumer.Adapter
- Enclosing interface:
- Transaction.Consumer
public static class Transaction.Consumer.Adapter
- extends java.lang.Object
- implements Transaction.Consumer
Method Summary |
void |
begin()
|
void |
end()
|
void |
insertComponent(PersistenceCapable o,
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 o,
PersistenceField field,
int[] indices,
Transaction.Reader reader)
|
void |
setField(PersistenceCapable o,
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.Consumer.Adapter
public Transaction.Consumer.Adapter()
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 o,
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 o,
PersistenceField field,
int[] indices,
Transaction.Reader reader)
- Specified by:
removeComponent
in interface Transaction.Consumer
setField
public void setField(PersistenceCapable o,
PersistenceField field,
int[] indices,
Transaction.Reader reader)
- Specified by:
setField
in interface Transaction.Consumer