public interface ModelListener<T>
Modifier and Type | Method and Description |
---|---|
void |
onAfterAddAssociation(Object classPK,
String associationClassName,
Object associationClassPK) |
void |
onAfterCreate(T model) |
void |
onAfterRemove(T model) |
void |
onAfterRemoveAssociation(Object classPK,
String associationClassName,
Object associationClassPK) |
void |
onAfterUpdate(T model) |
void |
onBeforeAddAssociation(Object classPK,
String associationClassName,
Object associationClassPK) |
void |
onBeforeCreate(T model) |
void |
onBeforeRemove(T model) |
void |
onBeforeRemoveAssociation(Object classPK,
String associationClassName,
Object associationClassPK) |
void |
onBeforeUpdate(T model) |
void onAfterAddAssociation(Object classPK, String associationClassName, Object associationClassPK) throws ModelListenerException
ModelListenerException
void onAfterCreate(T model) throws ModelListenerException
ModelListenerException
void onAfterRemove(T model) throws ModelListenerException
ModelListenerException
void onAfterRemoveAssociation(Object classPK, String associationClassName, Object associationClassPK) throws ModelListenerException
ModelListenerException
void onAfterUpdate(T model) throws ModelListenerException
ModelListenerException
void onBeforeAddAssociation(Object classPK, String associationClassName, Object associationClassPK) throws ModelListenerException
ModelListenerException
void onBeforeCreate(T model) throws ModelListenerException
ModelListenerException
void onBeforeRemove(T model) throws ModelListenerException
ModelListenerException
void onBeforeRemoveAssociation(Object classPK, String associationClassName, Object associationClassPK) throws ModelListenerException
ModelListenerException
void onBeforeUpdate(T model) throws ModelListenerException
ModelListenerException