Class CommentJspBean

  • All Implemented Interfaces:
    java.io.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
      java.lang.String doRemoveComment​(javax.servlet.http.HttpServletRequest request)
      Removes a comment
      java.lang.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, getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
      • Methods inherited from class java.lang.Object

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

      • CommentJspBean

        public CommentJspBean()
    • Method Detail

      • getConfirmRemoveComment

        public java.lang.String getConfirmRemoveComment​(javax.servlet.http.HttpServletRequest request)
                                                 throws fr.paris.lutece.portal.service.admin.AccessDeniedException,
                                                        java.io.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
        java.io.UnsupportedEncodingException - if there is an exception during the encoding of the return_url parameter
      • doRemoveComment

        public java.lang.String doRemoveComment​(javax.servlet.http.HttpServletRequest request)
                                         throws fr.paris.lutece.portal.service.admin.AccessDeniedException,
                                                java.io.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
        java.io.UnsupportedEncodingException - if there is an exception during the decoding of the return_url parameter