Class QuestionQueryRepository

java.lang.Object
inha.git.question.domain.repository.QuestionQueryRepository

@Repository public class QuestionQueryRepository extends Object
질문 조회 관련 레포지토리
  • Constructor Details

    • QuestionQueryRepository

      public QuestionQueryRepository()
  • Method Details

    • getQuestions

      public org.springframework.data.domain.Page<SearchQuestionsResponse> getQuestions(org.springframework.data.domain.Pageable pageable)
      질문 목록 조회
      Parameters:
      pageable - 페이지 정보
      Returns:
      질문 페이지
    • getUserQuestions

      public org.springframework.data.domain.Page<SearchQuestionsResponse> getUserQuestions(Integer id, org.springframework.data.domain.Pageable pageable)
      사용자의 질문 목록 조회
      Parameters:
      id - 사용자 번호
      pageable - 페이지 정보
      Returns:
      질문 페이지
    • getCondQuestions

      public org.springframework.data.domain.Page<SearchQuestionsResponse> getCondQuestions(SearchQuestionCond searchQuestionCond, org.springframework.data.domain.Pageable pageable)
      질문 조건 조회
      Parameters:
      searchQuestionCond - 질문 검색 조건
      pageable - 페이지 정보
      Returns:
      질문 페이지