Class DeletableAdvice<E>
- java.lang.Object
-
- com.alpha.mongodb.entitymanager.proxy.advice.AbstractDelegatedAdvice<Deletable,E>
-
- com.alpha.mongodb.entitymanager.proxy.advice.DeletableAdvice<E>
-
- Type Parameters:
E
- Entity Type
- All Implemented Interfaces:
DelegatedAdvice<Deletable>
,org.aopalliance.aop.Advice
,org.aopalliance.intercept.Interceptor
,org.aopalliance.intercept.MethodInterceptor
public class DeletableAdvice<E> extends AbstractDelegatedAdvice<Deletable,E>
Deletable Advice that implementsDeletable.delete()
method- Author:
- Shashank Sharma
-
-
Constructor Summary
Constructors Constructor Description DeletableAdvice(E entity, org.springframework.data.mongodb.core.MongoTemplate mongoTemplate, String collectionName, ManageableAdvice<E> manageableAdvice)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends Deletable>
getAdvisedClass()
Method[]
getAdvisedMethods()
Object
invoke(org.aopalliance.intercept.MethodInvocation invocation)
-
Methods inherited from class com.alpha.mongodb.entitymanager.proxy.advice.AbstractDelegatedAdvice
detach, validateEntity
-
-
-
-
Constructor Detail
-
DeletableAdvice
public DeletableAdvice(E entity, org.springframework.data.mongodb.core.MongoTemplate mongoTemplate, String collectionName, ManageableAdvice<E> manageableAdvice)
-
-