Package com.totvs.tjf.api.jpa.repository
Interface JpaSpecificationExecutorWithoutPageable<T>
- Type Parameters:
T
-
- All Superinterfaces:
org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>
,JpaSpecificationProjectionExecutor<T>
@Deprecated(since="3.0.0-RELEASE",
forRemoval=true)
public interface JpaSpecificationExecutorWithoutPageable<T>
extends org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>, JpaSpecificationProjectionExecutor<T>
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
Modifier and TypeMethodDescriptiondefault <P> List<P>
findAllProjected
(org.springframework.data.jpa.domain.Specification<T> specs, Class<P> projectionClass, Collection<String> fields) Deprecated, for removal: This API element is subject to removal in a future version.default <P> List<P>
findAllProjected
(org.springframework.data.jpa.domain.Specification<T> specs, Class<P> projectionClass, Collection<String> fields, org.springframework.data.domain.Sort sort) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, exists, findAll, findAll, findAll, findOne
Methods inherited from interface com.totvs.tjf.api.jpa.data.repository.JpaSpecificationProjectionExecutor
findAllProjectedBy, findAllProjectedBy, findAllProjectedBy, findOneProjectedBy
-
Method Details
-
findAllProjected
@Deprecated(since="3.0.0-RELEASE", forRemoval=true) default <P> List<P> findAllProjected(@Nullable org.springframework.data.jpa.domain.Specification<T> specs, Class<P> projectionClass, @Nullable Collection<String> fields, @Nullable org.springframework.data.domain.Sort sort) Deprecated, for removal: This API element is subject to removal in a future version.Returns all entities matching the givenSpecification
.- Parameters:
specs
- can be null.projectionClass
- the projection to be used, must not be null.fields
- the 'fields' to be restricted in the SQL, can be null.sort
- sort specification, can be null.- Returns:
- a
List
with the entities found, otherwiseCollections.emptyList()
-
findAllProjected
@Deprecated(since="3.0.0-RELEASE", forRemoval=true) default <P> List<P> findAllProjected(@Nullable org.springframework.data.jpa.domain.Specification<T> specs, Class<P> projectionClass, @Nullable Collection<String> fields) Deprecated, for removal: This API element is subject to removal in a future version.
-