de.grogra.persistence
Class Transaction.Consumer.Multicaster

java.lang.Object
  extended by de.grogra.persistence.Transaction.Consumer.Multicaster
All Implemented Interfaces:
Transaction.Consumer
Direct Known Subclasses:
GraphTransaction.Consumer.Multicaster
Enclosing interface:
Transaction.Consumer

public static class Transaction.Consumer.Multicaster
extends java.lang.Object
implements Transaction.Consumer


Nested Class Summary
 
Nested classes/interfaces inherited from interface de.grogra.persistence.Transaction.Consumer
Transaction.Consumer.Adapter, Transaction.Consumer.Multicaster
 
Constructor Summary
Transaction.Consumer.Multicaster()
           
 
Method Summary
 void addConsumer(java.lang.Object c)
           
 void begin()
           
 void end()
           
protected  ObjectList getConsumers()
           
 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 removeAllConsumers()
           
 void removeComponent(PersistenceCapable o, PersistenceField field, int[] indices, Transaction.Reader reader)
           
 void removeConsumer(java.lang.Object c)
           
 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
 

Constructor Detail

Transaction.Consumer.Multicaster

public Transaction.Consumer.Multicaster()
Method Detail

addConsumer

public void addConsumer(java.lang.Object c)

begin

public void begin()
Specified by:
begin in interface Transaction.Consumer

end

public void end()
Specified by:
end in interface Transaction.Consumer

getConsumers

protected ObjectList getConsumers()

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

removeAllConsumers

public void removeAllConsumers()

removeComponent

public void removeComponent(PersistenceCapable o,
                            PersistenceField field,
                            int[] indices,
                            Transaction.Reader reader)
Specified by:
removeComponent in interface Transaction.Consumer

removeConsumer

public void removeConsumer(java.lang.Object c)

setField

public void setField(PersistenceCapable o,
                     PersistenceField field,
                     int[] indices,
                     Transaction.Reader reader)
Specified by:
setField in interface Transaction.Consumer