fr.paris.lutece.plugins.mydashboard.web
Class MyDashboardApp

java.lang.Object
  extended by fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
      extended by 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")
public class MyDashboardApp
extends fr.paris.lutece.portal.util.mvc.xpage.MVCApplication

My Dashboard application

See Also:
Serialized Form

Constructor Summary
MyDashboardApp()
           
 
Method Summary
 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 getUrlDefaultView(String strBaseUrl)
          Get the URL of the default view of this application
 
Methods inherited from class fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
addError, addError, addInfo, addInfo, download, download, fillCommons, getActionFullUrl, getActionUrl, getDefaultPagePath, getDefaultPageTitle, getLocale, getModel, getPage, getViewFullUrl, getViewUrl, getXPage, getXPage, getXPage, getXPage, getXPageName, populate, redirect, redirect, redirect, redirect, redirectMessageBox, redirectView, responseJSON, responseXML, validateBean, validateBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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(value="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(value="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(value="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


Copyright © 2014 Mairie de Paris. All Rights Reserved.