Interface TurConfigVarRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TurConfigVar, String>, org.springframework.data.jpa.repository.JpaRepository<TurConfigVar, String>, org.springframework.data.repository.ListCrudRepository<TurConfigVar, String>, org.springframework.data.repository.ListPagingAndSortingRepository<TurConfigVar, String>, org.springframework.data.repository.PagingAndSortingRepository<TurConfigVar, String>, org.springframework.data.repository.query.QueryByExampleExecutor<TurConfigVar>, org.springframework.data.repository.Repository<TurConfigVar, String>
public interface TurConfigVarRepository
extends org.springframework.data.jpa.repository.JpaRepository<TurConfigVar, String>
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(@NotNull TurConfigVar turConfigVar) @NotNull List<TurConfigVar> findAll()@NotNull Optional<TurConfigVar> <S extends TurConfigVar>
Ssave(S entity) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, 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<TurConfigVar, String>- Specified by:
findAllin interfaceorg.springframework.data.repository.ListCrudRepository<TurConfigVar, String>
-
findById
@Cacheable("turConfigVarfindById") @NotNull @NotNull Optional<TurConfigVar> findById(@NotNull @NotNull String id) - Specified by:
findByIdin interfaceorg.springframework.data.repository.CrudRepository<TurConfigVar, String>
-
save
@CacheEvict(value={"turConfigVarfindAll","turConfigVarfindById"}, allEntries=true) @NotNull <S extends TurConfigVar> S save(@NotNull S entity) - Specified by:
savein interfaceorg.springframework.data.repository.CrudRepository<TurConfigVar, String>
-
delete
@CacheEvict(value={"turConfigVarfindAll","turConfigVarfindById"}, allEntries=true) void delete(@NotNull @NotNull TurConfigVar turConfigVar) - Specified by:
deletein interfaceorg.springframework.data.repository.CrudRepository<TurConfigVar, String>
-