Interface TurSEVendorRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<TurSEVendor,String>, org.springframework.data.jpa.repository.JpaRepository<TurSEVendor,String>, org.springframework.data.repository.ListCrudRepository<TurSEVendor,String>, org.springframework.data.repository.ListPagingAndSortingRepository<TurSEVendor,String>, org.springframework.data.repository.PagingAndSortingRepository<TurSEVendor,String>, org.springframework.data.repository.query.QueryByExampleExecutor<TurSEVendor>, org.springframework.data.repository.Repository<TurSEVendor,String>

public interface TurSEVendorRepository extends org.springframework.data.jpa.repository.JpaRepository<TurSEVendor,String>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    @NotNull List<TurSEVendor>
     
    findById(@NotNull String id)
     
    @NotNull TurSEVendor
    save(@NotNull TurSEVendor turSEVendor)
     

    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

      @Cacheable("turSEVendorfindAll") @NotNull @NotNull List<TurSEVendor> findAll()
      Specified by:
      findAll in interface org.springframework.data.repository.CrudRepository<TurSEVendor,String>
      Specified by:
      findAll in interface org.springframework.data.repository.ListCrudRepository<TurSEVendor,String>
    • findById

      @Cacheable("turSEVendorfindById") @NotNull @NotNull Optional<TurSEVendor> findById(@NotNull @NotNull String id)
      Specified by:
      findById in interface org.springframework.data.repository.CrudRepository<TurSEVendor,String>
    • save

      @CacheEvict(value={"turSEVendorfindAll","turSEVendorfindById"}, allEntries=true) @NotNull @NotNull TurSEVendor save(@NotNull @NotNull TurSEVendor turSEVendor)
      Specified by:
      save in interface org.springframework.data.repository.CrudRepository<TurSEVendor,String>
    • delete

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