Class DeleteSpecificationInterceptor

All Implemented Interfaces:
DataInterceptor<Object,Number>
Direct Known Subclasses:
DeleteSpecificationInterceptor

@Internal public class DeleteSpecificationInterceptor extends AbstractSpecificationInterceptor<Object,Number>
Interceptor that supports delete specifications.
Since:
4.0.0
Author:
radovanradic
  • Constructor Details

    • DeleteSpecificationInterceptor

      public DeleteSpecificationInterceptor(@NonNull @NonNull RepositoryOperations operations)
      Default constructor.
      Parameters:
      operations - The operations
  • Method Details

    • intercept

      public Number intercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<Object,Number> context)
      Description copied from interface: DataInterceptor
      Intercepts a data method execution.
      Parameters:
      methodKey - The method key
      context - The context
      Returns:
      The result