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