Class RemoveCommentAction

java.lang.Object
org.apache.struts2.ActionSupport
All Implemented Interfaces:
PageAware, WebInterface, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable

public class RemoveCommentAction extends AbstractPageAwareAction
See Also:
  • Constructor Details

    • RemoveCommentAction

      public RemoveCommentAction()
  • Method Details

    • getCommentId

      public long getCommentId()
    • validate

      public void validate()
      Specified by:
      validate in interface MessageHolderAware
      Specified by:
      validate in interface org.apache.struts2.Validateable
      Overrides:
      validate in class org.apache.struts2.ActionSupport
    • setCommentId

      public void setCommentId(long commentId)
    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
      Throws:
      Exception
    • isPermitted

      public boolean isPermitted()
      Description copied from class: ConfluenceActionSupport
      Overrides:
      isPermitted in class AbstractPageAwareAction
    • getConfirm

      public String getConfirm()
    • setConfirm

      public void setConfirm(String confirm)
    • setApiContentService

      public void setApiContentService(ContentService contentService)