Interface TurStoreVendorRepository
- All Superinterfaces:
CrudRepository<TurStoreVendor,
,String> JpaRepository<TurStoreVendor,
,String> ListCrudRepository<TurStoreVendor,
,String> ListPagingAndSortingRepository<TurStoreVendor,
,String> PagingAndSortingRepository<TurStoreVendor,
,String> QueryByExampleExecutor<TurStoreVendor>
,Repository<TurStoreVendor,
String>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
@NotNull List
<TurStoreVendor> findAll()
@NotNull Optional
<TurStoreVendor> @NotNull TurStoreVendor
save
(@NotNull TurStoreVendor turStoreVendor) 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<TurStoreVendor,
String> - Specified by:
findAll
in interfaceListCrudRepository<TurStoreVendor,
String>
-
findById
@Cacheable("turStoreVendorfindById") @NotNull @NotNull Optional<TurStoreVendor> findById(@NotNull @NotNull String id) - Specified by:
findById
in interfaceCrudRepository<TurStoreVendor,
String>
-
save
@CacheEvict(value={"turStoreVendorfindAll","turStoreVendorfindById"}, allEntries=true) @NotNull @NotNull TurStoreVendor save(@NotNull @NotNull TurStoreVendor turStoreVendor) - Specified by:
save
in interfaceCrudRepository<TurStoreVendor,
String>
-
delete
@Modifying @Query("delete from TurStoreVendor sv where sv.id = ?1") @CacheEvict(value={"turStoreVendorfindAll","turStoreVendorfindById"}, allEntries=true) void delete(String id)
-