Class ProjectReplyCommentCommandServiceImpl
java.lang.Object
inha.git.project.api.service.comment.reply.ProjectReplyCommentCommandServiceImpl
- All Implemented Interfaces:
ProjectReplyCommentCommandService
@Service
@Transactional
public class ProjectReplyCommentCommandServiceImpl
extends Object
implements ProjectReplyCommentCommandService
ProjectReplyCommentCommandServiceImpl은 프로젝트 대댓글 관련 비즈니스 로직을 처리합니다.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateReply(User user, CreateReplyCommentRequest createReplyCommentRequest) 답글 생성deleteReply(User user, Integer replyCommentIdx) 답글 삭제updateReply(User user, Integer replyCommentIdx, UpdateCommentRequest updateCommentRequest) 답글 수정
-
Constructor Details
-
ProjectReplyCommentCommandServiceImpl
public ProjectReplyCommentCommandServiceImpl()
-
-
Method Details
-
createReply
public ReplyCommentResponse createReply(User user, CreateReplyCommentRequest createReplyCommentRequest) 답글 생성- Specified by:
createReplyin interfaceProjectReplyCommentCommandService- Parameters:
user- 사용자 정보createReplyCommentRequest- 답글 생성 요청- Returns:
- CreateReplyCommentResponse
-
updateReply
public ReplyCommentResponse updateReply(User user, Integer replyCommentIdx, UpdateCommentRequest updateCommentRequest) 답글 수정- Specified by:
updateReplyin interfaceProjectReplyCommentCommandService- Parameters:
user- 사용자 정보replyCommentIdx- 답글 식별자updateCommentRequest- 답글 수정 요청- Returns:
- UpdateCommentResponse
-
deleteReply
답글 삭제- Specified by:
deleteReplyin interfaceProjectReplyCommentCommandService- Parameters:
user- 사용자 정보replyCommentIdx- 답글 식별자- Returns:
- DeleteCommentResponse
-