Liferay 6.1.2-ce-ga3

com.liferay.portal.model
Class BaseModelListener<T extends BaseModel<T>>

java.lang.Object
  extended by com.liferay.portal.model.BaseModelListener<T>
All Implemented Interfaces:
ModelListener<T>
Direct Known Subclasses:
ContactListener, JournalArticleListener, JournalTemplateListener, LayoutListener, LayoutSetListener, LayoutSetPrototypeLayoutListener, LayoutSetPrototypeLayoutSetListener, PortletPreferencesListener, UserGroupListener, UserListener

public class BaseModelListener<T extends BaseModel<T>>
extends Object
implements ModelListener<T>


Constructor Summary
BaseModelListener()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseModelListener

public BaseModelListener()
Method Detail

onAfterAddAssociation

public void onAfterAddAssociation(Object classPK,
                                  String associationClassName,
                                  Object associationClassPK)
                           throws ModelListenerException
Specified by:
onAfterAddAssociation in interface ModelListener<T extends BaseModel<T>>
Throws:
ModelListenerException

onAfterCreate

public void onAfterCreate(T model)
                   throws ModelListenerException
Specified by:
onAfterCreate in interface ModelListener<T extends BaseModel<T>>
Throws:
ModelListenerException

onAfterRemove

public void onAfterRemove(T model)
                   throws ModelListenerException
Specified by:
onAfterRemove in interface ModelListener<T extends BaseModel<T>>
Throws:
ModelListenerException

onAfterRemoveAssociation

public void onAfterRemoveAssociation(Object classPK,
                                     String associationClassName,
                                     Object associationClassPK)
                              throws ModelListenerException
Specified by:
onAfterRemoveAssociation in interface ModelListener<T extends BaseModel<T>>
Throws:
ModelListenerException

onAfterUpdate

public void onAfterUpdate(T model)
                   throws ModelListenerException
Specified by:
onAfterUpdate in interface ModelListener<T extends BaseModel<T>>
Throws:
ModelListenerException

onBeforeAddAssociation

public void onBeforeAddAssociation(Object classPK,
                                   String associationClassName,
                                   Object associationClassPK)
                            throws ModelListenerException
Specified by:
onBeforeAddAssociation in interface ModelListener<T extends BaseModel<T>>
Throws:
ModelListenerException

onBeforeCreate

public void onBeforeCreate(T model)
                    throws ModelListenerException
Specified by:
onBeforeCreate in interface ModelListener<T extends BaseModel<T>>
Throws:
ModelListenerException

onBeforeRemove

public void onBeforeRemove(T model)
                    throws ModelListenerException
Specified by:
onBeforeRemove in interface ModelListener<T extends BaseModel<T>>
Throws:
ModelListenerException

onBeforeRemoveAssociation

public void onBeforeRemoveAssociation(Object classPK,
                                      String associationClassName,
                                      Object associationClassPK)
                               throws ModelListenerException
Specified by:
onBeforeRemoveAssociation in interface ModelListener<T extends BaseModel<T>>
Throws:
ModelListenerException

onBeforeUpdate

public void onBeforeUpdate(T model)
                    throws ModelListenerException
Specified by:
onBeforeUpdate in interface ModelListener<T extends BaseModel<T>>
Throws:
ModelListenerException

Liferay 6.1.2-ce-ga3