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