Interface TurSEVendorRepository

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

public interface TurSEVendorRepository extends 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 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("turSEVendorfindAll") @NotNull @NotNull List<TurSEVendor> findAll()
      Specified by:
      findAll in interface CrudRepository<TurSEVendor,String>
      Specified by:
      findAll in interface ListCrudRepository<TurSEVendor,String>
    • findById

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

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

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