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 void
afterReturning
(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments, Object result) 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
-
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 classcom.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 classcom.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 classcom.liferay.portal.kernel.aop.ChainableMethodAdvice
- Throws:
Throwable
-
duringFinally
protected void duringFinally(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments) - Overrides:
duringFinally
in 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)
-