Interface TurLLMVendorRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TurLLMVendor,
,String> org.springframework.data.jpa.repository.JpaRepository<TurLLMVendor,
,String> org.springframework.data.repository.ListCrudRepository<TurLLMVendor,
,String> org.springframework.data.repository.ListPagingAndSortingRepository<TurLLMVendor,
,String> org.springframework.data.repository.PagingAndSortingRepository<TurLLMVendor,
,String> org.springframework.data.repository.query.QueryByExampleExecutor<TurLLMVendor>
,org.springframework.data.repository.Repository<TurLLMVendor,
String>
public interface TurLLMVendorRepository
extends org.springframework.data.jpa.repository.JpaRepository<TurLLMVendor,String>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
@NotNull List
<TurLLMVendor> findAll()
@NotNull Optional
<TurLLMVendor> @NotNull TurLLMVendor
save
(@NotNull TurLLMVendor turLLMVendor) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findAll
- Specified by:
findAll
in interfaceorg.springframework.data.repository.CrudRepository<TurLLMVendor,
String> - Specified by:
findAll
in interfaceorg.springframework.data.repository.ListCrudRepository<TurLLMVendor,
String>
-
findById
@Cacheable("turLLMVendorfindById") @NotNull @NotNull Optional<TurLLMVendor> findById(@NotNull @NotNull String id) - Specified by:
findById
in interfaceorg.springframework.data.repository.CrudRepository<TurLLMVendor,
String>
-
save
@CacheEvict(value={"turLLMVendorfindAll","turLLMVendorfindById"}, allEntries=true) @NotNull @NotNull TurLLMVendor save(@NotNull @NotNull TurLLMVendor turLLMVendor) - Specified by:
save
in interfaceorg.springframework.data.repository.CrudRepository<TurLLMVendor,
String>
-
delete
@Modifying @Query("delete from TurStoreVendor sv where sv.id = ?1") @CacheEvict(value={"turLLMVendorfindAll","turLLMVendorfindById"}, allEntries=true) void delete(String id)
-