Class ManageMydashboardPanelJspBean

  • All Implemented Interfaces:
    java.io.Serializable

    @Controller(controllerJsp="ManageMyDashboardPanel.jsp",
                controllerPath="jsp/admin/plugins/mydashboard/",
                right="MYDASHBOARD_PANEL_MANAGEMENT")
    public class ManageMydashboardPanelJspBean
    extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
    This class provides the user interface to manage Panel features ( manage, create, modify, remove )
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String doAddComponent​(javax.servlet.http.HttpServletRequest request)
      Add component in the panel
      java.lang.String doCreatePanel​(javax.servlet.http.HttpServletRequest request)
      Process the data capture form of a new panel
      java.lang.String doCreatePanelManageAssociations​(javax.servlet.http.HttpServletRequest request)
      Process the data capture form of a new panel and redirect to modify view
      java.lang.String doModifyPanel​(javax.servlet.http.HttpServletRequest request)
      Process the change form of a panel
      java.lang.String doMoveDownComponent​(javax.servlet.http.HttpServletRequest request)
      move down component
      java.lang.String doMoveUpComponent​(javax.servlet.http.HttpServletRequest request)
      Move up component
      java.lang.String doRemoveComponent​(javax.servlet.http.HttpServletRequest request)
      remove component
      java.lang.String doRemovePanel​(javax.servlet.http.HttpServletRequest request)
      Handles the removal form of a panel
      java.lang.String getConfirmRemovePanel​(javax.servlet.http.HttpServletRequest request)
      Manages the removal form of a panel whose identifier is in the http request
      java.lang.String getCreatePanel​(javax.servlet.http.HttpServletRequest request)
      Returns the form to create a panel
      java.lang.String getManagePanels​(javax.servlet.http.HttpServletRequest request)
      Build the Manage View
      java.lang.String getModifyPanel​(javax.servlet.http.HttpServletRequest request)
      Returns the form to update info about a panel
      • 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
      • Methods inherited from class java.lang.Object

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

      • ManageMydashboardPanelJspBean

        public ManageMydashboardPanelJspBean()
    • Method Detail

      • getManagePanels

        @View(value="managePanels",
              defaultView=true)
        public java.lang.String getManagePanels​(javax.servlet.http.HttpServletRequest request)
        Build the Manage View
        Parameters:
        request - The HTTP request
        Returns:
        The page
      • getCreatePanel

        @View("createPanel")
        public java.lang.String getCreatePanel​(javax.servlet.http.HttpServletRequest request)
        Returns the form to create a panel
        Parameters:
        request - The Http request
        Returns:
        the html code of the panel form
      • doCreatePanel

        @Action("createPanel")
        public java.lang.String doCreatePanel​(javax.servlet.http.HttpServletRequest request)
        Process the data capture form of a new panel
        Parameters:
        request - The Http Request
        Returns:
        The Jsp URL of the process result
      • doCreatePanelManageAssociations

        @Action("createPanelAndManageAssociations")
        public java.lang.String doCreatePanelManageAssociations​(javax.servlet.http.HttpServletRequest request)
        Process the data capture form of a new panel and redirect to modify view
        Parameters:
        request - The Http Request
        Returns:
        The Jsp URL of the process result
      • getConfirmRemovePanel

        @Action("confirmRemovePanel")
        public java.lang.String getConfirmRemovePanel​(javax.servlet.http.HttpServletRequest request)
        Manages the removal form of a panel whose identifier is in the http request
        Parameters:
        request - The Http request
        Returns:
        the html code to confirm
      • doRemovePanel

        @Action("removePanel")
        public java.lang.String doRemovePanel​(javax.servlet.http.HttpServletRequest request)
        Handles the removal form of a panel
        Parameters:
        request - The Http request
        Returns:
        the jsp URL to display the form to manage panels
      • getModifyPanel

        @View("modifyPanel")
        public java.lang.String getModifyPanel​(javax.servlet.http.HttpServletRequest request)
        Returns the form to update info about a panel
        Parameters:
        request - The Http request
        Returns:
        The HTML form to update info
      • doModifyPanel

        @Action("modifyPanel")
        public java.lang.String doModifyPanel​(javax.servlet.http.HttpServletRequest request)
        Process the change form of a panel
        Parameters:
        request - The Http request
        Returns:
        The Jsp URL of the process result
      • doAddComponent

        @Action("addComponent")
        public java.lang.String doAddComponent​(javax.servlet.http.HttpServletRequest request)
        Add component in the panel
        Parameters:
        request - The Http request
        Returns:
        the jsp URL to display modify panel
      • doMoveUpComponent

        @Action("moveUpComponent")
        public java.lang.String doMoveUpComponent​(javax.servlet.http.HttpServletRequest request)
        Move up component
        Parameters:
        request - The Http request
        Returns:
        the jsp URL to display modify panel
      • doMoveDownComponent

        @Action("moveDownComponent")
        public java.lang.String doMoveDownComponent​(javax.servlet.http.HttpServletRequest request)
        move down component
        Parameters:
        request - The Http request
        Returns:
        The jsp URL to display modify panel
      • doRemoveComponent

        @Action("removeComponent")
        public java.lang.String doRemoveComponent​(javax.servlet.http.HttpServletRequest request)
        remove component
        Parameters:
        request - The Http request
        Returns:
        The jsp URL to display modify panel