Class CommentJspBean

  • All Implemented Interfaces:
    java.io.Serializable

    public class CommentJspBean
    extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
    CommentJspBean
    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 doCreateComment​(javax.servlet.http.HttpServletRequest request)
      Do create a comment
      java.lang.String doFlagImportantComment​(javax.servlet.http.HttpServletRequest request, boolean cancelFlag)
      Do flag comment as important
      java.lang.String doPinned​(javax.servlet.http.HttpServletRequest request, boolean cancelPinned)
      Do pinned a comment.
      java.lang.String doProcessWorkflowAction​(javax.servlet.http.HttpServletRequest request)
      Do process a workflow action over an comment
      java.lang.String doPublishUnpublishComment​(javax.servlet.http.HttpServletRequest request)
      Do publish unpublish comment.
      java.lang.String doRemoveComment​(javax.servlet.http.HttpServletRequest request)
      Do remove comment.
      java.lang.String doSaveTaskForm​(javax.servlet.http.HttpServletRequest request)
      Do save task form
      java.lang.String getConfirmRemoveComment​(javax.servlet.http.HttpServletRequest request)
      Gets the confirm remove comment.
      java.lang.String getCreateComment​(javax.servlet.http.HttpServletRequest request)
      Get the comment creation page
      java.lang.String getTasksFormWorkflow​(javax.servlet.http.HttpServletRequest request)
      Get tasks form workflow
      • 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

      • doPublishUnpublishComment

        public java.lang.String doPublishUnpublishComment​(javax.servlet.http.HttpServletRequest request)
        Do publish unpublish comment.
        Parameters:
        request - the request
        Returns:
        the string
      • doFlagImportantComment

        public java.lang.String doFlagImportantComment​(javax.servlet.http.HttpServletRequest request,
                                                       boolean cancelFlag)
        Do flag comment as important
        Parameters:
        request - the request
        cancelFlag - true if the flag important of the comment must be cancel
        Returns:
        the string
      • doPinned

        public java.lang.String doPinned​(javax.servlet.http.HttpServletRequest request,
                                         boolean cancelPinned)
        Do pinned a comment.
        Parameters:
        request - the request
        cancelPinned - true if the comment must be unpinned
        Returns:
        the string
      • getConfirmRemoveComment

        public java.lang.String getConfirmRemoveComment​(javax.servlet.http.HttpServletRequest request)
        Gets the confirm remove comment.
        Parameters:
        request - the request
        Returns:
        the confirm remove comment
      • doRemoveComment

        public java.lang.String doRemoveComment​(javax.servlet.http.HttpServletRequest request)
        Do remove comment.
        Parameters:
        request - the request
        Returns:
        the string
      • getCreateComment

        public java.lang.String getCreateComment​(javax.servlet.http.HttpServletRequest request)
        Get the comment creation page
        Parameters:
        request - The request
        Returns:
        The HTML content to display
      • doCreateComment

        public java.lang.String doCreateComment​(javax.servlet.http.HttpServletRequest request)
        Do create a comment
        Parameters:
        request - The request
        Returns:
        The URL to redirect to
      • doProcessWorkflowAction

        public java.lang.String doProcessWorkflowAction​(javax.servlet.http.HttpServletRequest request)
        Do process a workflow action over an comment
        Parameters:
        request - The request
        Returns:
        The next URL to redirect to
      • getTasksFormWorkflow

        public java.lang.String getTasksFormWorkflow​(javax.servlet.http.HttpServletRequest request)
        Get tasks form workflow
        Parameters:
        request -
        Returns:
      • doSaveTaskForm

        public java.lang.String doSaveTaskForm​(javax.servlet.http.HttpServletRequest request)
        Do save task form
        Parameters:
        request -
        Returns:
        The next URL to redirect to