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")
@RequestScoped
@Named("mydashboard.xpage.mydashboard")
public class MyDashboardApp
extends fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
My Dashboard application
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfr.paris.lutece.portal.web.xpages.XPagedoModifyDashboards(jakarta.servlet.http.HttpServletRequest request) Do the modification of front office dash boardsfr.paris.lutece.portal.web.xpages.XPagedoMoveDashboard(jakarta.servlet.http.HttpServletRequest request) Do move a dash board up or downfr.paris.lutece.portal.web.xpages.XPagegetDashboards(jakarta.servlet.http.HttpServletRequest request) Get the list of dash boards of the current userfr.paris.lutece.portal.web.xpages.XPagegetModifyDashboards(jakarta.servlet.http.HttpServletRequest request) Get the XPage to modify front office dash boards of the current userstatic StringgetUrlDefaultView(String strBaseUrl) Get the URL of the default view of this applicationMethods inherited from class fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
getPage, getRealClass
-
Constructor Details
-
MyDashboardApp
public MyDashboardApp()
-
-
Method Details
-
getDashboards
@View(value="getDashboards", defaultView=true) public fr.paris.lutece.portal.web.xpages.XPage getDashboards(jakarta.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(jakarta.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(jakarta.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(jakarta.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
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
-