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, invoke
public void afterReturning(AopMethodInvocation aopMethodInvocation, Object[] arguments, Object result) throws Throwable
afterReturning
in class ChainableMethodAdvice
Throwable
public Object before(AopMethodInvocation aopMethodInvocation, Object[] arguments) throws Throwable
before
in class ChainableMethodAdvice
Throwable
public Object createMethodContext(Class<?> targetClass, Method method, Map<Class<? extends Annotation>,Annotation> annotations)
createMethodContext
in class ChainableMethodAdvice
public void duringFinally(AopMethodInvocation aopMethodInvocation, Object[] arguments)
duringFinally
in class 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(AopMethodInvocation aopMethodInvocation, Object[] arguments, int phase)