Class MyDashboardApp

  • All Implemented Interfaces:
    fr.paris.lutece.portal.web.xpages.XPageApplication, java.io.Serializable

    @Controller(xpageName="mydashboard",
                pageTitleI18nKey="mydashboard.getDashboard.pageTitle",
                pagePathI18nKey="mydashboard.getDashboard.pagePath")
    public class MyDashboardApp
    extends fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
    My Dashboard application
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MyDashboardApp()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      fr.paris.lutece.portal.web.xpages.XPage doModifyDashboards​(javax.servlet.http.HttpServletRequest request)
      Do the modification of front office dash boards
      fr.paris.lutece.portal.web.xpages.XPage doMoveDashboard​(javax.servlet.http.HttpServletRequest request)
      Do move a dash board up or down
      fr.paris.lutece.portal.web.xpages.XPage getDashboards​(javax.servlet.http.HttpServletRequest request)
      Get the list of dash boards of the current user
      fr.paris.lutece.portal.web.xpages.XPage getModifyDashboards​(javax.servlet.http.HttpServletRequest request)
      Get the XPage to modify front office dash boards of the current user
      static java.lang.String getUrlDefaultView​(java.lang.String strBaseUrl)
      Get the URL of the default view of this application
      • Methods inherited from class fr.paris.lutece.portal.util.mvc.xpage.MVCApplication

        getPage
      • Methods inherited from class java.lang.Object

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

      • MyDashboardApp

        public MyDashboardApp()
    • Method Detail

      • getDashboards

        @View(value="getDashboards",
              defaultView=true)
        public fr.paris.lutece.portal.web.xpages.XPage getDashboards​(javax.servlet.http.HttpServletRequest request)
                                                              throws fr.paris.lutece.portal.service.security.UserNotSignedException
        Get the list of dash boards of the current user
        Parameters:
        request - The request, with the user logged in
        Returns:
        The XPage to display the list of dash boards of the user
        Throws:
        fr.paris.lutece.portal.service.security.UserNotSignedException - If the user is not logged in
      • getModifyDashboards

        @View("getModifyDashboards")
        public fr.paris.lutece.portal.web.xpages.XPage getModifyDashboards​(javax.servlet.http.HttpServletRequest request)
                                                                    throws fr.paris.lutece.portal.service.security.UserNotSignedException
        Get the XPage to modify front office dash boards of the current user
        Parameters:
        request - The request
        Returns:
        The XPage to display
        Throws:
        fr.paris.lutece.portal.service.security.UserNotSignedException - If the user has not signed in
      • doModifyDashboards

        @Action("doModifyDashboards")
        public fr.paris.lutece.portal.web.xpages.XPage doModifyDashboards​(javax.servlet.http.HttpServletRequest request)
                                                                   throws fr.paris.lutece.portal.service.security.UserNotSignedException
        Do the modification of front office dash boards
        Parameters:
        request - The request
        Returns:
        The next view to redirect to
        Throws:
        fr.paris.lutece.portal.service.security.UserNotSignedException - If the user has not signed in
      • doMoveDashboard

        @Action("doMoveDashboard")
        public fr.paris.lutece.portal.web.xpages.XPage doMoveDashboard​(javax.servlet.http.HttpServletRequest request)
                                                                throws fr.paris.lutece.portal.service.security.UserNotSignedException
        Do move a dash board up or down
        Parameters:
        request - The request
        Returns:
        The next view to redirect to
        Throws:
        fr.paris.lutece.portal.service.security.UserNotSignedException - If the user has not signed in
      • getUrlDefaultView

        public static java.lang.String getUrlDefaultView​(java.lang.String strBaseUrl)
        Get the URL of the default view of this application
        Parameters:
        strBaseUrl - The base URL to use
        Returns:
        The URL of the default view of this application