com.liferay.portal.systemevent
Class SystemEventAdvice
java.lang.Object
com.liferay.portal.spring.aop.ChainableMethodAdvice
com.liferay.portal.spring.aop.AnnotationChainableMethodAdvice<com.liferay.portal.kernel.systemevent.SystemEvent>
com.liferay.portal.systemevent.SystemEventAdvice
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
public class SystemEventAdvice
- extends AnnotationChainableMethodAdvice<com.liferay.portal.kernel.systemevent.SystemEvent>
Method Summary |
void |
afterReturning(org.aopalliance.intercept.MethodInvocation methodInvocation,
Object result)
|
Object |
before(org.aopalliance.intercept.MethodInvocation methodInvocation)
|
void |
duringFinally(org.aopalliance.intercept.MethodInvocation methodInvocation)
|
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)
|
com.liferay.portal.kernel.systemevent.SystemEvent |
getNullAnnotation()
|
protected String |
getUuid(com.liferay.portal.kernel.model.ClassedModel classedModel)
|
protected boolean |
isValid(org.aopalliance.intercept.MethodInvocation methodInvocation,
int phase)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemEventAdvice
public SystemEventAdvice()
afterReturning
public void afterReturning(org.aopalliance.intercept.MethodInvocation methodInvocation,
Object result)
throws Throwable
- Overrides:
afterReturning
in class ChainableMethodAdvice
- Throws:
Throwable
before
public Object before(org.aopalliance.intercept.MethodInvocation methodInvocation)
throws Throwable
- Overrides:
before
in class ChainableMethodAdvice
- Throws:
Throwable
duringFinally
public void duringFinally(org.aopalliance.intercept.MethodInvocation methodInvocation)
- Overrides:
duringFinally
in class ChainableMethodAdvice
getNullAnnotation
public com.liferay.portal.kernel.systemevent.SystemEvent getNullAnnotation()
- Specified by:
getNullAnnotation
in class AnnotationChainableMethodAdvice<com.liferay.portal.kernel.systemevent.SystemEvent>
getClassName
protected String getClassName(com.liferay.portal.kernel.model.ClassedModel classedModel)
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(org.aopalliance.intercept.MethodInvocation methodInvocation,
int phase)