Interface BaseCrudRepository<E,ID>
- Type Parameters:
E- tipo da entidadeID- tipo do identificador
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<E,,ID> org.springframework.data.jpa.repository.JpaRepository<E,,ID> org.springframework.data.jpa.repository.JpaSpecificationExecutor<E>,org.springframework.data.repository.ListCrudRepository<E,,ID> org.springframework.data.repository.ListPagingAndSortingRepository<E,,ID> org.springframework.data.repository.PagingAndSortingRepository<E,,ID> org.springframework.data.repository.query.QueryByExampleExecutor<E>,org.springframework.data.repository.Repository<E,ID>
@NoRepositoryBean
public interface BaseCrudRepository<E,ID>
extends org.springframework.data.jpa.repository.JpaRepository<E,ID>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<E>
Repositório base com suporte a CRUD e Specifications.
Marcado com NoRepositoryBean para evitar instanciação direta; deve ser
estendido por repositórios concretos nas aplicações.
- Since:
- 1.0.0
-
Method Summary
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findBy, findOneMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne