Interface TurStoreVendorRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TurStoreVendor,,String> org.springframework.data.jpa.repository.JpaRepository<TurStoreVendor,,String> org.springframework.data.repository.ListCrudRepository<TurStoreVendor,,String> org.springframework.data.repository.ListPagingAndSortingRepository<TurStoreVendor,,String> org.springframework.data.repository.PagingAndSortingRepository<TurStoreVendor,,String> org.springframework.data.repository.query.QueryByExampleExecutor<TurStoreVendor>,org.springframework.data.repository.Repository<TurStoreVendor,String>
public interface TurStoreVendorRepository
extends org.springframework.data.jpa.repository.JpaRepository<TurStoreVendor,String>
-
Method Summary
Modifier and TypeMethodDescriptionvoid@NotNull List<TurStoreVendor> findAll()@NotNull Optional<TurStoreVendor> @NotNull TurStoreVendorsave(@NotNull TurStoreVendor turStoreVendor) 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<TurStoreVendor,String> - Specified by:
findAllin interfaceorg.springframework.data.repository.ListCrudRepository<TurStoreVendor,String>
-
findById
@Cacheable("turStoreVendorfindById") @NotNull @NotNull Optional<TurStoreVendor> findById(@NotNull @NotNull String id) - Specified by:
findByIdin interfaceorg.springframework.data.repository.CrudRepository<TurStoreVendor,String>
-
save
@CacheEvict(value={"turStoreVendorfindAll","turStoreVendorfindById"}, allEntries=true) @NotNull @NotNull TurStoreVendor save(@NotNull @NotNull TurStoreVendor turStoreVendor) - Specified by:
savein interfaceorg.springframework.data.repository.CrudRepository<TurStoreVendor,String>
-
delete
@Modifying @Query("delete from TurStoreVendor sv where sv.id = ?1") @CacheEvict(value={"turStoreVendorfindAll","turStoreVendorfindById"}, allEntries=true) void delete(String id)
-