Class DeleteAllSpecificationInterceptor
java.lang.Object
io.micronaut.data.runtime.intercept.AbstractQueryInterceptor<Object,Object>
io.micronaut.data.runtime.intercept.criteria.AbstractSpecificationInterceptor<Object,Object>
io.micronaut.data.runtime.intercept.criteria.DeleteAllSpecificationInterceptor
- All Implemented Interfaces:
DataInterceptor<Object,Object>
@Internal
public class DeleteAllSpecificationInterceptor
extends AbstractSpecificationInterceptor<Object,Object>
Implementation of
deleteAll(Specification).- Since:
- 3.2
- Author:
- Denis Stepanov
-
Field Summary
Fields inherited from class AbstractSpecificationInterceptor
criteriaBuilder, criteriaRepositoryOperations, PREPARED_QUERY_KEYFields inherited from class AbstractQueryInterceptor
conversionService, operations, preparedQueryResolver -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor. -
Method Summary
Modifier and TypeMethodDescription@Nullable Objectintercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<Object, Object> context) Intercepts a data method execution.Methods inherited from class AbstractSpecificationInterceptor
applyPaginationAndSort, buildCountQuery, buildDeleteQuery, buildExistsQuery, buildIdsQuery, buildQuery, buildUpdateQuery, findAll, getCountCriteriaQueryBuilder, getCriteriaDeleteBuilder, getCriteriaQueryBuilder, getCriteriaUpdateBuilder, getDeleteSpecification, getIdExpression, getIdsCriteriaQueryBuilder, getMethodJoinPaths, getPageable, getQueryBuilder, getQuerySpecification, getUpdateSpecificationMethods inherited from class AbstractQueryInterceptor
convertOne, convertOne, count, findEntitiesParameter, findEntityParameter, getDeleteAllBatchOperation, getDeleteBatchOperation, getDeleteBatchOperation, getDeleteOperation, getDeleteReturningBatchOperation, getDeleteReturningOperation, getEntitiesParameter, getEntityParameter, getInsertBatchOperation, getInsertBatchOperation, getInsertOperation, getInsertOperation, getLimit, getOffset, getPageableInRole, getPagedQuery, getParameterInRole, getParameterInRole, getParametersInRole, getParametersInRole, getParameterValueMap, getRequiredEntity, getRequiredParameterInRole, getRequiredRootEntity, getReturnType, getUpdateAllBatchOperation, getUpdateOperation, getUpdateOperation, hasReturnTypeInRole, instantiateEntity, isNumber, prepareCountQuery, prepareQuery, validateNullArguments
-
Constructor Details
-
DeleteAllSpecificationInterceptor
Default constructor.- Parameters:
operations- The operations
-
-
Method Details
-
intercept
public @Nullable Object intercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<Object, Object> context) Description copied from interface:DataInterceptorIntercepts a data method execution.- Parameters:
methodKey- The method keycontext- The context- Returns:
- The result
-