Class QuestionQueryRepository
java.lang.Object
inha.git.question.domain.repository.QuestionQueryRepository
질문 조회 관련 레포지토리
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<SearchQuestionsResponse>
getCondQuestions
(SearchQuestionCond searchQuestionCond, org.springframework.data.domain.Pageable pageable) 질문 조건 조회org.springframework.data.domain.Page<SearchQuestionsResponse>
getQuestions
(org.springframework.data.domain.Pageable pageable) 질문 목록 조회org.springframework.data.domain.Page<SearchQuestionsResponse>
getUserQuestions
(Integer id, org.springframework.data.domain.Pageable pageable) 사용자의 질문 목록 조회
-
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:
- 질문 페이지
-