Uses of Interface
org.springframework.data.jpa.domain.DeleteSpecification
Packages that use DeleteSpecification
Package
Description
JPA specific support classes to implement domain classes.
Interfaces and annotations for JPA specific repositories.
JPA repository implementations.
-
Uses of DeleteSpecification in org.springframework.data.jpa.domain
Methods in org.springframework.data.jpa.domain that return DeleteSpecificationModifier and TypeMethodDescriptionstatic <T> DeleteSpecification<T> DeleteSpecification.allOf(Iterable<DeleteSpecification<T>> specifications) Applies an AND operation to all the givenDeleteSpecifications.static <T> DeleteSpecification<T> DeleteSpecification.allOf(DeleteSpecification<T>... specifications) Applies an AND operation to all the givenDeleteSpecifications.default DeleteSpecification<T> DeleteSpecification.and(DeleteSpecification<T> other) ANDs the givenDeleteSpecificationto the current one.default DeleteSpecification<T> DeleteSpecification.and(PredicateSpecification<T> other) ANDs the givenDeleteSpecificationto the current one.static <T> DeleteSpecification<T> DeleteSpecification.anyOf(Iterable<DeleteSpecification<T>> specifications) Applies an OR operation to all the givenDeleteSpecifications.static <T> DeleteSpecification<T> DeleteSpecification.anyOf(DeleteSpecification<T>... specifications) Applies an OR operation to all the givenDeleteSpecifications.static <T> DeleteSpecification<T> DeleteSpecification.not(DeleteSpecification<T> spec) Negates the givenDeleteSpecification.default DeleteSpecification<T> DeleteSpecification.or(DeleteSpecification<T> other) ORs the given specification to the current one.default DeleteSpecification<T> DeleteSpecification.or(PredicateSpecification<T> other) ORs the given specification to the current one.static <T> DeleteSpecification<T> DeleteSpecification.unrestricted()Simple static factory method to create a specification deleting all objects.static <T> DeleteSpecification<T> DeleteSpecification.where(DeleteSpecification<T> spec) Simple static factory method to add some syntactic sugar around a DeleteSpecification.static <T> DeleteSpecification<T> DeleteSpecification.where(PredicateSpecification<T> spec) Simple static factory method to add some syntactic sugar translatingPredicateSpecificationtoDeleteSpecification.Methods in org.springframework.data.jpa.domain with parameters of type DeleteSpecificationModifier and TypeMethodDescriptionstatic <T> DeleteSpecification<T> DeleteSpecification.allOf(DeleteSpecification<T>... specifications) Applies an AND operation to all the givenDeleteSpecifications.default DeleteSpecification<T> DeleteSpecification.and(DeleteSpecification<T> other) ANDs the givenDeleteSpecificationto the current one.static <T> DeleteSpecification<T> DeleteSpecification.anyOf(DeleteSpecification<T>... specifications) Applies an OR operation to all the givenDeleteSpecifications.static <T> DeleteSpecification<T> DeleteSpecification.not(DeleteSpecification<T> spec) Negates the givenDeleteSpecification.default DeleteSpecification<T> DeleteSpecification.or(DeleteSpecification<T> other) ORs the given specification to the current one.static <T> DeleteSpecification<T> DeleteSpecification.where(DeleteSpecification<T> spec) Simple static factory method to add some syntactic sugar around a DeleteSpecification.Method parameters in org.springframework.data.jpa.domain with type arguments of type DeleteSpecificationModifier and TypeMethodDescriptionstatic <T> DeleteSpecification<T> DeleteSpecification.allOf(Iterable<DeleteSpecification<T>> specifications) Applies an AND operation to all the givenDeleteSpecifications.static <T> DeleteSpecification<T> DeleteSpecification.anyOf(Iterable<DeleteSpecification<T>> specifications) Applies an OR operation to all the givenDeleteSpecifications. -
Uses of DeleteSpecification in org.springframework.data.jpa.repository
Methods in org.springframework.data.jpa.repository with parameters of type DeleteSpecificationModifier and TypeMethodDescriptionlongJpaSpecificationExecutor.delete(DeleteSpecification<T> spec) Deletes by theUpdateSpecificationand returns the number of rows deleted. -
Uses of DeleteSpecification in org.springframework.data.jpa.repository.support
Methods in org.springframework.data.jpa.repository.support with parameters of type DeleteSpecificationModifier and TypeMethodDescriptionlongSimpleJpaRepository.delete(DeleteSpecification<T> spec) protected <S> jakarta.persistence.QuerySimpleJpaRepository.getDelete(DeleteSpecification<S> spec, Class<S> domainClass) Creates aQueryfor the givenDeleteSpecification.