com.caucho.amber.entity
Interface EntityListener


public interface EntityListener

Represents an object dependent on the creation/deletion of entities.


Method Summary
 void afterEntityDelete(Entity entity)
          Notification after an entity is deleted.
 void beforeEntityDelete(AmberConnection aConn, Entity entity)
          Notification before an entity is deleted.
 

Method Detail

beforeEntityDelete

void beforeEntityDelete(AmberConnection aConn,
                        Entity entity)
                        throws java.sql.SQLException
Notification before an entity is deleted.

Throws:
java.sql.SQLException

afterEntityDelete

void afterEntityDelete(Entity entity)
Notification after an entity is deleted.