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 TurSEVendor
save
(@NotNull TurSEVendor turSEVendor) Methods inherited from interface CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById
Methods inherited from interface JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface ListCrudRepository
findAllById, saveAll
Methods inherited from interface ListPagingAndSortingRepository
findAll
Methods inherited from interface PagingAndSortingRepository
findAll
Methods inherited from interface QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findAll
- Specified by:
findAll
in interfaceCrudRepository<TurSEVendor,
String> - Specified by:
findAll
in interfaceListCrudRepository<TurSEVendor,
String>
-
findById
@Cacheable("turSEVendorfindById") @NotNull @NotNull Optional<TurSEVendor> findById(@NotNull @NotNull String id) - Specified by:
findById
in interfaceCrudRepository<TurSEVendor,
String>
-
save
@CacheEvict(value={"turSEVendorfindAll","turSEVendorfindById"}, allEntries=true) @NotNull @NotNull TurSEVendor save(@NotNull @NotNull TurSEVendor turSEVendor) - Specified by:
save
in interfaceCrudRepository<TurSEVendor,
String>
-
delete
@Modifying @Query("delete from TurSEVendor sv where sv.id = ?1") @CacheEvict(value={"turSEVendorfindAll","turSEVendorfindById"}, allEntries=true) void delete(String id)
-