Uses of Class
com.example.demo.reply.Reply

Packages that use Reply
Package Description
com.example.demo.reply  
  • Uses of Reply in com.example.demo.reply

    Methods in com.example.demo.reply that return Reply
    Modifier and Type Method Description
    Reply RepService.getReply​(int num)
    원하는 번호에 해당하는 댓글을 받아오는 기능을 재공합니다.
    Reply RepMapper.select​(int num)  
    Methods in com.example.demo.reply that return types with arguments of type Reply
    Modifier and Type Method Description
    org.springframework.http.ResponseEntity<Reply> ReplyController.get​(int num)
    번호에 해당하는 댓글 가져오기 댓글을 눌렀을때 해당 데이터를 모달창에 띄우게 하기 위해 사용
    java.util.ArrayList<Reply> RepMapper.getReplyById​(java.lang.String writer)  
    java.util.ArrayList<Reply> RepService.getReplyById​(java.lang.String writer)
    해당 writer가 작성한 댓글리스트를 받아오는 기능을 제공합니다.
    java.util.ArrayList<Reply> RepMapper.getReplyByQnaNum​(int qna_num)  
    java.util.ArrayList<Reply> RepService.getReplyByQnaNum​(int qna_num)
    해당 문의게시판의 댓글 리스트를 받아오는 기능을 제공합니다.
    org.springframework.http.ResponseEntity<java.util.List<Reply>> ReplyController.list​(int qna_num)
    댓글의 목록을 JSON으로 반환하는 기능
    Methods in com.example.demo.reply with parameters of type Reply
    Modifier and Type Method Description
    int RepService.addReply​(Reply r)
    댓글 추가
    org.springframework.http.ResponseEntity<java.lang.String> ReplyController.edit​(Reply r, int num)
    PUT 또는 PATCH 방식으로 요청을 받아 댓글을 수정하는 기능 제공
    int RepService.editReply​(Reply rep)
    댓글 수정
    int RepMapper.insert​(Reply r)  
    int RepMapper.update​(Reply rep)  
    org.springframework.http.ResponseEntity<java.lang.String> ReplyController.write​(Reply r)
    JSON방식의 데이터만 처리하고, 문자열을 반환