Interface TurLLMVendorRepository

All Superinterfaces:
CrudRepository<TurLLMVendor,String>, JpaRepository<TurLLMVendor,String>, ListCrudRepository<TurLLMVendor,String>, ListPagingAndSortingRepository<TurLLMVendor,String>, PagingAndSortingRepository<TurLLMVendor,String>, QueryByExampleExecutor<TurLLMVendor>, Repository<TurLLMVendor,String>

public interface TurLLMVendorRepository extends JpaRepository<TurLLMVendor,String>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    @NotNull List<TurLLMVendor>
     
    findById(@NotNull String id)
     
    @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

      @Cacheable("turLLMVendorfindAll") @NotNull @NotNull List<TurLLMVendor> findAll()
      Specified by:
      findAll in interface CrudRepository<TurLLMVendor,String>
      Specified by:
      findAll in interface ListCrudRepository<TurLLMVendor,String>
    • findById

      @Cacheable("turLLMVendorfindById") @NotNull @NotNull Optional<TurLLMVendor> findById(@NotNull @NotNull String id)
      Specified by:
      findById in interface CrudRepository<TurLLMVendor,String>
    • save

      @CacheEvict(value={"turLLMVendorfindAll","turLLMVendorfindById"}, allEntries=true) @NotNull @NotNull TurLLMVendor save(@NotNull @NotNull TurLLMVendor turLLMVendor)
      Specified by:
      save in interface CrudRepository<TurLLMVendor,String>
    • delete

      @Modifying @Query("delete from TurStoreVendor sv where sv.id = ?1") @CacheEvict(value={"turLLMVendorfindAll","turLLMVendorfindById"}, allEntries=true) void delete(String id)