java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
fr.paris.lutece.plugins.workflow.modules.comment.web.CommentJspBean
All Implemented Interfaces:
Serializable

@RequestScoped @Named public class CommentJspBean extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
Controller for Comments
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    doRemoveComment(jakarta.servlet.http.HttpServletRequest request)
    Removes a comment
    getConfirmRemoveComment(jakarta.servlet.http.HttpServletRequest request)
    Gets the confirmation page to remove a comment

    Methods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean

    processController

    Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean

    getPlugin, init

    Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean

    getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getSecurityTokenService, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CommentJspBean

      public CommentJspBean()
  • Method Details

    • getConfirmRemoveComment

      public String getConfirmRemoveComment(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException, UnsupportedEncodingException
      Gets the confirmation page to remove a comment
      Parameters:
      request - The HTTP request
      Returns:
      the confirmation page to remove the comment
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException
      UnsupportedEncodingException - if there is an exception during the encoding of the return_url parameter
    • doRemoveComment

      public String doRemoveComment(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException, UnsupportedEncodingException
      Removes a comment
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException
      UnsupportedEncodingException - if there is an exception during the decoding of the return_url parameter