Package com.liferay.portal.systemevent
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidafterReturning(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments, Object result) createMethodContext(Class<?> targetClass, Method method, Map<Class<? extends Annotation>, Annotation> annotations) protected voidduringFinally(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments) protected StringgetClassName(com.liferay.portal.kernel.model.ClassedModel classedModel) protected longgetClassPK(com.liferay.portal.kernel.model.ClassedModel classedModel) protected longgetCompanyId(com.liferay.portal.kernel.model.ClassedModel classedModel) protected longgetGroupId(com.liferay.portal.kernel.model.ClassedModel classedModel) protected StringgetUuid(com.liferay.portal.kernel.model.ClassedModel classedModel) protected booleanisValid(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments, int phase) Methods inherited from class com.liferay.portal.kernel.aop.ChainableMethodAdvice
afterThrowing, invoke
-
Constructor Details
-
SystemEventAdvice
public SystemEventAdvice()
-
-
Method Details
-
before
public Object before(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments) throws Throwable - Overrides:
beforein classcom.liferay.portal.kernel.aop.ChainableMethodAdvice- Throws:
Throwable
-
createMethodContext
public Object createMethodContext(Class<?> targetClass, Method method, Map<Class<? extends Annotation>, Annotation> annotations) - Specified by:
createMethodContextin classcom.liferay.portal.kernel.aop.ChainableMethodAdvice
-
afterReturning
protected void afterReturning(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments, Object result) throws Throwable - Overrides:
afterReturningin classcom.liferay.portal.kernel.aop.ChainableMethodAdvice- Throws:
Throwable
-
duringFinally
protected void duringFinally(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments) - Overrides:
duringFinallyin classcom.liferay.portal.kernel.aop.ChainableMethodAdvice
-
getClassName
-
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)
-