public class SystemEventAdvice
extends com.liferay.portal.kernel.aop.ChainableMethodAdvice
Constructor and Description |
---|
SystemEventAdvice() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterReturning(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation,
Object[] arguments,
Object result) |
Object |
before(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation,
Object[] arguments) |
Object |
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) |
public Object before(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments) throws Throwable
before
in class com.liferay.portal.kernel.aop.ChainableMethodAdvice
Throwable
public Object createMethodContext(Class<?> targetClass, Method method, Map<Class<? extends Annotation>,Annotation> annotations)
createMethodContext
in class com.liferay.portal.kernel.aop.ChainableMethodAdvice
protected void afterReturning(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments, Object result) throws Throwable
afterReturning
in class com.liferay.portal.kernel.aop.ChainableMethodAdvice
Throwable
protected void duringFinally(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments)
duringFinally
in class com.liferay.portal.kernel.aop.ChainableMethodAdvice
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) throws Exception
Exception
protected boolean isValid(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments, int phase)