Interface ProblemRequestJpaRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ProblemRequest,,Integer> org.springframework.data.jpa.repository.JpaRepository<ProblemRequest,,Integer> org.springframework.data.repository.ListCrudRepository<ProblemRequest,,Integer> org.springframework.data.repository.ListPagingAndSortingRepository<ProblemRequest,,Integer> org.springframework.data.repository.PagingAndSortingRepository<ProblemRequest,,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<ProblemRequest>,org.springframework.data.repository.Repository<ProblemRequest,Integer>
public interface ProblemRequestJpaRepository
extends org.springframework.data.jpa.repository.JpaRepository<ProblemRequest,Integer>
ProblemRequestJpaRepository는 Problem 신청 엔티티에 대한 데이터 액세스 기능을 제공.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanexistsByProblemAndUserAndState(Problem problem, User user, BaseEntity.State state) findByIdAndState(Integer integer, BaseEntity.State state) org.springframework.data.domain.Page<ProblemRequest>findByProblemAndState(Problem problem, BaseEntity.State state, org.springframework.data.domain.Pageable pageable) org.springframework.data.domain.Page<ProblemRequest>findByProblemAndStateAndProblemRequestStatus(Problem problem, BaseEntity.State state, ProblemRequestStatus problemRequestStatus, org.springframework.data.domain.Pageable pageable) findByProblemIdAndUserAndState(Integer problemIdx, User user, 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
-
findByIdAndState
-
existsByProblemAndUserAndState
-
findByProblemAndState
org.springframework.data.domain.Page<ProblemRequest> findByProblemAndState(Problem problem, BaseEntity.State state, org.springframework.data.domain.Pageable pageable) -
findByProblemAndStateAndProblemRequestStatus
org.springframework.data.domain.Page<ProblemRequest> findByProblemAndStateAndProblemRequestStatus(Problem problem, BaseEntity.State state, ProblemRequestStatus problemRequestStatus, org.springframework.data.domain.Pageable pageable) -
findByProblemIdAndUserAndState
Optional<ProblemRequest> findByProblemIdAndUserAndState(Integer problemIdx, User user, BaseEntity.State state)
-