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 TurLLMVendorsave(@NotNull TurLLMVendor turLLMVendor) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsByIdMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findAll
- Specified by:
findAllin interfaceorg.springframework.data.repository.CrudRepository<TurLLMVendor,String> - Specified by:
findAllin interfaceorg.springframework.data.repository.ListCrudRepository<TurLLMVendor,String>
-
findById
@Cacheable("turLLMVendorfindById") @NotNull @NotNull Optional<TurLLMVendor> findById(@NotNull @NotNull String id) - Specified by:
findByIdin interfaceorg.springframework.data.repository.CrudRepository<TurLLMVendor,String>
-
save
@CacheEvict(value={"turLLMVendorfindAll","turLLMVendorfindById"}, allEntries=true) @NotNull @NotNull TurLLMVendor save(@NotNull @NotNull TurLLMVendor turLLMVendor) - Specified by:
savein 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)
-