Package | Description |
---|---|
inix.controller | |
inix.mapper | |
inix.service |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<java.util.List<CommentsDto>> |
CommentsController.getAllCommentsByUser(java.lang.String userName) |
org.springframework.http.ResponseEntity<java.util.List<CommentsDto>> |
CommentsController.getAllCommentsForPost(java.lang.Long postId) |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<java.lang.Void> |
CommentsController.createComment(CommentsDto commentsDto) |
Modifier and Type | Method and Description |
---|---|
CommentsDto |
CommentMapper.mapToDto(Comment comment) |
Modifier and Type | Method and Description |
---|---|
Comment |
CommentMapper.map(CommentsDto commentsDto,
Post post,
User user) |
Modifier and Type | Method and Description |
---|---|
java.util.List<CommentsDto> |
CommentService.getCommentByPost(java.lang.Long postId) |
java.util.List<CommentsDto> |
CommentService.getCommentsByUser(java.lang.String userName) |
Modifier and Type | Method and Description |
---|---|
void |
CommentService.createComment(CommentsDto commentsDto) |