Interface TurSEVendorRepository
- All Superinterfaces:
CrudRepository<TurSEVendor,,String> JpaRepository<TurSEVendor,,String> ListCrudRepository<TurSEVendor,,String> ListPagingAndSortingRepository<TurSEVendor,,String> PagingAndSortingRepository<TurSEVendor,,String> QueryByExampleExecutor<TurSEVendor>,Repository<TurSEVendor,String>
-
Method Summary
Modifier and TypeMethodDescriptionvoid@NotNull List<TurSEVendor> findAll()@NotNull Optional<TurSEVendor> @NotNull TurSEVendorsave(@NotNull TurSEVendor turSEVendor) Methods inherited from interface CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsByIdMethods inherited from interface JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface ListCrudRepository
findAllById, saveAllMethods inherited from interface ListPagingAndSortingRepository
findAllMethods inherited from interface PagingAndSortingRepository
findAllMethods inherited from interface QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findAll
- Specified by:
findAllin interfaceCrudRepository<TurSEVendor,String> - Specified by:
findAllin interfaceListCrudRepository<TurSEVendor,String>
-
findById
@Cacheable("turSEVendorfindById") @NotNull @NotNull Optional<TurSEVendor> findById(@NotNull @NotNull String id) - Specified by:
findByIdin interfaceCrudRepository<TurSEVendor,String>
-
save
@CacheEvict(value={"turSEVendorfindAll","turSEVendorfindById"}, allEntries=true) @NotNull @NotNull TurSEVendor save(@NotNull @NotNull TurSEVendor turSEVendor) - Specified by:
savein interfaceCrudRepository<TurSEVendor,String>
-
delete
@Modifying @Query("delete from TurSEVendor sv where sv.id = ?1") @CacheEvict(value={"turSEVendorfindAll","turSEVendorfindById"}, allEntries=true) void delete(String id)
-