Class MyDashboardApp

java.lang.Object
fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
fr.paris.lutece.plugins.mydashboard.web.MyDashboardApp
All Implemented Interfaces:
fr.paris.lutece.portal.web.xpages.XPageApplication, 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:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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 String
    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 Details

    • MyDashboardApp

      public MyDashboardApp()
  • Method Details

    • 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 String getUrlDefaultView(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