com.liferay.portal.model
Interface ModelListener<T>
- All Known Implementing Classes:
- BaseModelListener, ContactListener, JournalArticleListener, JournalTemplateListener, LayoutListener, LayoutSetListener, PortletPreferencesListener, UserGroupListener, UserListener
public interface ModelListener<T>
onAfterAddAssociation
void onAfterAddAssociation(Object classPK,
String associationClassName,
Object associationClassPK)
throws ModelListenerException
- Throws:
ModelListenerException
onAfterCreate
void onAfterCreate(T model)
throws ModelListenerException
- Throws:
ModelListenerException
onAfterRemove
void onAfterRemove(T model)
throws ModelListenerException
- Throws:
ModelListenerException
onAfterRemoveAssociation
void onAfterRemoveAssociation(Object classPK,
String associationClassName,
Object associationClassPK)
throws ModelListenerException
- Throws:
ModelListenerException
onAfterUpdate
void onAfterUpdate(T model)
throws ModelListenerException
- Throws:
ModelListenerException
onBeforeAddAssociation
void onBeforeAddAssociation(Object classPK,
String associationClassName,
Object associationClassPK)
throws ModelListenerException
- Throws:
ModelListenerException
onBeforeCreate
void onBeforeCreate(T model)
throws ModelListenerException
- Throws:
ModelListenerException
onBeforeRemove
void onBeforeRemove(T model)
throws ModelListenerException
- Throws:
ModelListenerException
onBeforeRemoveAssociation
void onBeforeRemoveAssociation(Object classPK,
String associationClassName,
Object associationClassPK)
throws ModelListenerException
- Throws:
ModelListenerException
onBeforeUpdate
void onBeforeUpdate(T model)
throws ModelListenerException
- Throws:
ModelListenerException