com.liferay.portal.model
Interface ModelListener<T>

All Known Implementing Classes:
BaseModelListener, InvokerModelListener

public interface ModelListener<T>

View Source

Author:
Brian Wing Shun Chan, Raymond Augé

Method Summary
 void onAfterCreate(T model)
           
 void onAfterRemove(T model)
           
 void onAfterUpdate(T model)
           
 void onBeforeCreate(T model)
           
 void onBeforeRemove(T model)
           
 void onBeforeUpdate(T model)
           
 

Method Detail

onAfterCreate

void onAfterCreate(T model)
                   throws ModelListenerException
Throws:
ModelListenerException

onAfterRemove

void onAfterRemove(T model)
                   throws ModelListenerException
Throws:
ModelListenerException

onAfterUpdate

void onAfterUpdate(T model)
                   throws ModelListenerException
Throws:
ModelListenerException

onBeforeCreate

void onBeforeCreate(T model)
                    throws ModelListenerException
Throws:
ModelListenerException

onBeforeRemove

void onBeforeRemove(T model)
                    throws ModelListenerException
Throws:
ModelListenerException

onBeforeUpdate

void onBeforeUpdate(T model)
                    throws ModelListenerException
Throws:
ModelListenerException