public class SystemEventAdvice extends ChainableMethodAdvice
nullResult| Constructor and Description |
|---|
SystemEventAdvice() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterReturning(AopMethodInvocation aopMethodInvocation,
Object[] arguments,
Object result) |
Object |
before(AopMethodInvocation aopMethodInvocation,
Object[] arguments) |
Object |
createMethodContext(Class<?> targetClass,
Method method,
Map<Class<? extends Annotation>,Annotation> annotations) |
void |
duringFinally(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(AopMethodInvocation aopMethodInvocation,
Object[] arguments,
int phase) |
afterThrowing, invokepublic void afterReturning(AopMethodInvocation aopMethodInvocation, Object[] arguments, Object result) throws Throwable
afterReturning in class ChainableMethodAdviceThrowablepublic Object before(AopMethodInvocation aopMethodInvocation, Object[] arguments) throws Throwable
before in class ChainableMethodAdviceThrowablepublic Object createMethodContext(Class<?> targetClass,
Method method,
Map<Class<? extends Annotation>,Annotation> annotations)
createMethodContext in class ChainableMethodAdvicepublic void duringFinally(AopMethodInvocation aopMethodInvocation, Object[] arguments)
duringFinally in class ChainableMethodAdviceprotected 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
Exceptionprotected boolean isValid(AopMethodInvocation aopMethodInvocation, Object[] arguments, int phase)