Interface TurSNSiteRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TurSNSite,,String> org.springframework.data.jpa.repository.JpaRepository<TurSNSite,,String> org.springframework.data.repository.ListCrudRepository<TurSNSite,,String> org.springframework.data.repository.ListPagingAndSortingRepository<TurSNSite,,String> org.springframework.data.repository.PagingAndSortingRepository<TurSNSite,,String> org.springframework.data.repository.query.QueryByExampleExecutor<TurSNSite>,org.springframework.data.repository.Repository<TurSNSite,String>
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidfindAll(@NotNull org.springframework.data.domain.Sort name) findByCreatedBy(org.springframework.data.domain.Sort name, String createdBy) findByName(String name) @NotNull TurSNSiteMethods 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
findAll, findAllById, saveAllMethods 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
-
findByCreatedBy
-
findById
-
findByName
-
save
-
delete
@CacheEvict(value={"turSNSitefindAll","turSNSitefindById","turSNSitefindByName"}, allEntries=true) void delete(@NotNull @NotNull TurSNSite turSNSite) -
delete
@Modifying @Query("delete from TurSNSite ss where ss.id = ?1") @CacheEvict(value={"turSNSitefindAll","turSNSitefindById","turSNSitefindByName"}, allEntries=true) void delete(String id)
-