Class EditCommentAction

    • Field Detail

      • comment

        protected Comment comment
    • Constructor Detail

      • EditCommentAction

        public EditCommentAction()
    • Method Detail

      • getJsonObject

        @NotNull
        public @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject()
                                                                                   throws com.opensymphony.webwork.dispatcher.json.JSONException
        Description copied from class: BambooActionSupport
        This is default property read by webwork for webwork's result type "json".
        Overrides:
        getJsonObject in class BambooActionSupport
        Returns:
        Throws:
        com.opensymphony.webwork.dispatcher.json.JSONException
        See Also:
        JSON Result

        If descending classes need to add anything to JSON response these should override #buildJsonObject() method.

      • create

        public String create()
      • delete

        public String delete()
      • getCommentContent

        public String getCommentContent()
      • setCommentContent

        public void setCommentContent​(String commentContent)
      • setCommentId

        public void setCommentId​(long commentId)
      • getComment

        public Comment getComment()
      • setComment

        public void setComment​(Comment comment)
      • setCommentService

        public void setCommentService​(CommentService commentService)