Package inha.git.question.api.service
Interface QuestionService
- All Known Implementing Classes:
QuestionServiceImpl
public interface QuestionService
-
Method Summary
Modifier and TypeMethodDescriptioncreateQuestion
(User user, CreateQuestionRequest createQuestionRequest) createQuestionLike
(User user, LikeRequest likeRequest) deleteQuestion
(User user, Integer questionIdx) org.springframework.data.domain.Page<SearchQuestionsResponse>
getCondQuestions
(SearchQuestionCond searchQuestionCond, Integer page, Integer size) getQuestion
(User user, Integer questionIdx) org.springframework.data.domain.Page<SearchQuestionsResponse>
getQuestions
(Integer page, Integer size) questionLikeCancel
(User user, LikeRequest likeRequest) updateQuestion
(User user, Integer questionIdx, UpdateQuestionRequest updateQuestionRequest)
-
Method Details
-
getQuestions
org.springframework.data.domain.Page<SearchQuestionsResponse> getQuestions(Integer page, Integer size) -
getCondQuestions
org.springframework.data.domain.Page<SearchQuestionsResponse> getCondQuestions(SearchQuestionCond searchQuestionCond, Integer page, Integer size) -
getQuestion
-
createQuestion
-
updateQuestion
QuestionResponse updateQuestion(User user, Integer questionIdx, UpdateQuestionRequest updateQuestionRequest) -
deleteQuestion
-
createQuestionLike
-
questionLikeCancel
-