Class CommentJspBean

  • All Implemented Interfaces:
    Serializable

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

      Constructors 
      Constructor Description
      CommentJspBean()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String doRemoveComment​(javax.servlet.http.HttpServletRequest request)
      Removes a comment
      String getConfirmRemoveComment​(javax.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, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
    • Constructor Detail

      • CommentJspBean

        public CommentJspBean()
    • Method Detail

      • getConfirmRemoveComment

        public String getConfirmRemoveComment​(javax.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​(javax.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