Uses of Interface
org.springframework.data.jpa.domain.UpdateSpecification
Packages that use UpdateSpecification
Package
Description
JPA specific support classes to implement domain classes.
Interfaces and annotations for JPA specific repositories.
JPA repository implementations.
-
Uses of UpdateSpecification in org.springframework.data.jpa.domain
Methods in org.springframework.data.jpa.domain that return UpdateSpecificationModifier and TypeMethodDescriptionstatic <T> UpdateSpecification<T>UpdateSpecification.allOf(Iterable<UpdateSpecification<T>> specifications) Applies an AND operation to all the givenUpdateSpecifications.static <T> UpdateSpecification<T>UpdateSpecification.allOf(UpdateSpecification<T>... specifications) Applies an AND operation to all the givenUpdateSpecifications.default UpdateSpecification<T>UpdateSpecification.and(PredicateSpecification<T> other) ANDs the givenUpdateSpecificationto the current one.default UpdateSpecification<T>UpdateSpecification.and(UpdateSpecification<T> other) ANDs the givenUpdateSpecificationto the current one.static <T> UpdateSpecification<T>UpdateSpecification.anyOf(Iterable<UpdateSpecification<T>> specifications) Applies an OR operation to all the givenUpdateSpecifications.static <T> UpdateSpecification<T>UpdateSpecification.anyOf(UpdateSpecification<T>... specifications) Applies an OR operation to all the givenUpdateSpecifications.static <T> UpdateSpecification<T>UpdateSpecification.not(UpdateSpecification<T> spec) Negates the givenUpdateSpecification.default UpdateSpecification<T>UpdateSpecification.or(PredicateSpecification<T> other) ORs the given specification to the current one.default UpdateSpecification<T>UpdateSpecification.or(UpdateSpecification<T> other) ORs the given specification to the current one.static <T> UpdateSpecification<T>UpdateSpecification.unrestricted()Simple static factory method to create a specification updating all objects.default UpdateSpecification<T>UpdateSpecification.UpdateOperation.where(PredicateSpecification<T> specification) Creates aUpdateSpecificationfrom this and the givenUpdateSpecification.default UpdateSpecification<T>UpdateSpecification.UpdateOperation.where(UpdateSpecification<T> specification) Creates aUpdateSpecificationfrom this and the givenUpdateSpecification.static <T> UpdateSpecification<T>UpdateSpecification.where(PredicateSpecification<T> spec) Simple static factory method to add some syntactic sugar translatingPredicateSpecificationtoUpdateSpecification.static <T> UpdateSpecification<T>UpdateSpecification.where(UpdateSpecification<T> spec) Simple static factory method to add some syntactic sugar around a UpdateSpecification.Methods in org.springframework.data.jpa.domain with parameters of type UpdateSpecificationModifier and TypeMethodDescriptionstatic <T> UpdateSpecification<T>UpdateSpecification.allOf(UpdateSpecification<T>... specifications) Applies an AND operation to all the givenUpdateSpecifications.default UpdateSpecification<T>UpdateSpecification.and(UpdateSpecification<T> other) ANDs the givenUpdateSpecificationto the current one.static <T> UpdateSpecification<T>UpdateSpecification.anyOf(UpdateSpecification<T>... specifications) Applies an OR operation to all the givenUpdateSpecifications.static <T> UpdateSpecification<T>UpdateSpecification.not(UpdateSpecification<T> spec) Negates the givenUpdateSpecification.default UpdateSpecification<T>UpdateSpecification.or(UpdateSpecification<T> other) ORs the given specification to the current one.default UpdateSpecification<T>UpdateSpecification.UpdateOperation.where(UpdateSpecification<T> specification) Creates aUpdateSpecificationfrom this and the givenUpdateSpecification.static <T> UpdateSpecification<T>UpdateSpecification.where(UpdateSpecification<T> spec) Simple static factory method to add some syntactic sugar around a UpdateSpecification.Method parameters in org.springframework.data.jpa.domain with type arguments of type UpdateSpecificationModifier and TypeMethodDescriptionstatic <T> UpdateSpecification<T>UpdateSpecification.allOf(Iterable<UpdateSpecification<T>> specifications) Applies an AND operation to all the givenUpdateSpecifications.static <T> UpdateSpecification<T>UpdateSpecification.anyOf(Iterable<UpdateSpecification<T>> specifications) Applies an OR operation to all the givenUpdateSpecifications. -
Uses of UpdateSpecification in org.springframework.data.jpa.repository
Methods in org.springframework.data.jpa.repository with parameters of type UpdateSpecificationModifier and TypeMethodDescriptionlongJpaSpecificationExecutor.update(UpdateSpecification<T> spec) Updates entities by theUpdateSpecificationand returns the number of rows updated. -
Uses of UpdateSpecification in org.springframework.data.jpa.repository.support
Methods in org.springframework.data.jpa.repository.support with parameters of type UpdateSpecificationModifier and TypeMethodDescriptionprotected <S> jakarta.persistence.QuerySimpleJpaRepository.getUpdate(UpdateSpecification<S> spec, Class<S> domainClass) Creates aQueryfor the givenUpdateSpecification.longSimpleJpaRepository.update(UpdateSpecification<T> spec)