Class SystemEventAdvice

Object
com.liferay.portal.kernel.aop.ChainableMethodAdvice
com.liferay.portal.systemevent.SystemEventAdvice

public class SystemEventAdvice extends com.liferay.portal.kernel.aop.ChainableMethodAdvice
Author:
Zsolt Berentey
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.aop.ChainableMethodAdvice

    nullResult
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    afterReturning(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments, Object result)
     
    before(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments)
     
    createMethodContext(Class<?> targetClass, Method method, Map<Class<? extends Annotation>,Annotation> annotations)
     
    protected void
    duringFinally(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments)
     
    protected String
    getClassName(com.liferay.portal.kernel.model.ClassedModel classedModel)
     
    protected long
    getClassPK(com.liferay.portal.kernel.model.ClassedModel classedModel)
     
    protected long
    getCompanyId(com.liferay.portal.kernel.model.ClassedModel classedModel)
     
    protected long
    getGroupId(com.liferay.portal.kernel.model.ClassedModel classedModel)
     
    protected String
    getUuid(com.liferay.portal.kernel.model.ClassedModel classedModel)
     
    protected boolean
    isValid(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments, int phase)
     

    Methods inherited from class com.liferay.portal.kernel.aop.ChainableMethodAdvice

    afterThrowing, invoke

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SystemEventAdvice

      public SystemEventAdvice()
  • Method Details

    • before

      public Object before(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments) throws Throwable
      Overrides:
      before in class com.liferay.portal.kernel.aop.ChainableMethodAdvice
      Throws:
      Throwable
    • createMethodContext

      public Object createMethodContext(Class<?> targetClass, Method method, Map<Class<? extends Annotation>,Annotation> annotations)
      Specified by:
      createMethodContext in class com.liferay.portal.kernel.aop.ChainableMethodAdvice
    • afterReturning

      protected void afterReturning(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments, Object result) throws Throwable
      Overrides:
      afterReturning in class com.liferay.portal.kernel.aop.ChainableMethodAdvice
      Throws:
      Throwable
    • duringFinally

      protected void duringFinally(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments)
      Overrides:
      duringFinally in class com.liferay.portal.kernel.aop.ChainableMethodAdvice
    • getClassName

      protected String getClassName(com.liferay.portal.kernel.model.ClassedModel classedModel)
    • getClassPK

      protected long getClassPK(com.liferay.portal.kernel.model.ClassedModel classedModel)
    • getCompanyId

      protected long getCompanyId(com.liferay.portal.kernel.model.ClassedModel classedModel)
    • getGroupId

      protected long getGroupId(com.liferay.portal.kernel.model.ClassedModel classedModel)
    • getUuid

      protected String getUuid(com.liferay.portal.kernel.model.ClassedModel classedModel) throws Exception
      Throws:
      Exception
    • isValid

      protected boolean isValid(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments, int phase)