Interface TurSEVendorRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TurSEVendor, String>, org.springframework.data.jpa.repository.JpaRepository<TurSEVendor, String>, org.springframework.data.repository.ListCrudRepository<TurSEVendor, String>, org.springframework.data.repository.ListPagingAndSortingRepository<TurSEVendor, String>, org.springframework.data.repository.PagingAndSortingRepository<TurSEVendor, String>, org.springframework.data.repository.query.QueryByExampleExecutor<TurSEVendor>, org.springframework.data.repository.Repository<TurSEVendor, String>
public interface TurSEVendorRepository
extends org.springframework.data.jpa.repository.JpaRepository<TurSEVendor, String>
-
Method Summary
Modifier and TypeMethodDescriptionvoid@NotNull List<TurSEVendor> findAll()@NotNull Optional<TurSEVendor> <S extends TurSEVendor>
Ssave(S entity) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsByIdMethods 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.repository.ListCrudRepository
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
-
Method Details
-
findAll
- Specified by:
findAllin interfaceorg.springframework.data.repository.CrudRepository<TurSEVendor, String>- Specified by:
findAllin interfaceorg.springframework.data.repository.ListCrudRepository<TurSEVendor, String>
-
findById
@Cacheable("turSEVendorfindById") @NotNull @NotNull Optional<TurSEVendor> findById(@NotNull @NotNull String id) - Specified by:
findByIdin interfaceorg.springframework.data.repository.CrudRepository<TurSEVendor, String>
-
save
@CacheEvict(value={"turSEVendorfindAll","turSEVendorfindById"}, allEntries=true) @NotNull <S extends TurSEVendor> S save(@NotNull S entity) - Specified by:
savein interfaceorg.springframework.data.repository.CrudRepository<TurSEVendor, String>
-
delete
@Modifying @Query("delete from TurSEVendor sv where sv.id = ?1") @CacheEvict(value={"turSEVendorfindAll","turSEVendorfindById"}, allEntries=true) void delete(String id)
-