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,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.MVCApplicationMy 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.XPagedoModifyDashboards(javax.servlet.http.HttpServletRequest request)Do the modification of front office dash boardsfr.paris.lutece.portal.web.xpages.XPagedoMoveDashboard(javax.servlet.http.HttpServletRequest request)Do move a dash board up or downfr.paris.lutece.portal.web.xpages.XPagegetDashboards(javax.servlet.http.HttpServletRequest request)Get the list of dash boards of the current userfr.paris.lutece.portal.web.xpages.XPagegetModifyDashboards(javax.servlet.http.HttpServletRequest request)Get the XPage to modify front office dash boards of the current userstatic java.lang.StringgetUrlDefaultView(java.lang.String strBaseUrl)Get the URL of the default view of this application
-
-
-
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.UserNotSignedExceptionGet 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.UserNotSignedExceptionGet 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.UserNotSignedExceptionDo 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.UserNotSignedExceptionDo 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
-
-