Interface TurConfigVarRepository

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

public interface TurConfigVarRepository extends JpaRepository<TurConfigVar,String>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(@NotNull TurConfigVar turConfigVar)
     
    @NotNull List<TurConfigVar>
     
    findById(@NotNull String id)
     
    @NotNull TurConfigVar
    save(@NotNull TurConfigVar turConfigVar)
     

    Methods inherited from interface CrudRepository

    count, 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("turConfigVarfindAll") @NotNull @NotNull List<TurConfigVar> findAll()
      Specified by:
      findAll in interface CrudRepository<TurConfigVar,String>
      Specified by:
      findAll in interface ListCrudRepository<TurConfigVar,String>
    • findById

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

      @CacheEvict(value={"turConfigVarfindAll","turConfigVarfindById"}, allEntries=true) @NotNull @NotNull TurConfigVar save(@NotNull @NotNull TurConfigVar turConfigVar)
      Specified by:
      save in interface CrudRepository<TurConfigVar,String>
    • delete

      @CacheEvict(value={"turConfigVarfindAll","turConfigVarfindById"}, allEntries=true) void delete(@NotNull @NotNull TurConfigVar turConfigVar)
      Specified by:
      delete in interface CrudRepository<TurConfigVar,String>