Interface ReportJpaRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Report,,Integer> org.springframework.data.jpa.repository.JpaRepository<Report,,Integer> org.springframework.data.repository.ListCrudRepository<Report,,Integer> org.springframework.data.repository.ListPagingAndSortingRepository<Report,,Integer> org.springframework.data.repository.PagingAndSortingRepository<Report,,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<Report>,org.springframework.data.repository.Repository<Report,Integer>
public interface ReportJpaRepository
extends org.springframework.data.jpa.repository.JpaRepository<Report,Integer>
ReportJpaRepository는 Report 엔티티에 대한 데이터 액세스 기능을 제공.
-
Method Summary
Modifier and TypeMethodDescriptionexistsByReporterIdAndReportedUserIdAndReportedIdAndReportTypeAndState(Integer reporterId, Integer reportedUserId, Integer reportedId, ReportType reportType, BaseEntity.State state) findByIdAndState(Integer reportId, BaseEntity.State state) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods 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.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
-
existsByReporterIdAndReportedUserIdAndReportedIdAndReportTypeAndState
Boolean existsByReporterIdAndReportedUserIdAndReportedIdAndReportTypeAndState(Integer reporterId, Integer reportedUserId, Integer reportedId, ReportType reportType, BaseEntity.State state) -
findByIdAndState
-