Class BroadcastproxyXPage
java.lang.Object
fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
fr.paris.lutece.plugins.broadcastproxy.web.BroadcastproxyXPage
- All Implemented Interfaces:
fr.paris.lutece.portal.web.xpages.XPageApplication,Serializable
@Controller(xpageName="broadcastproxyMyDashboard",
pageTitleI18nKey="broadcastproxy.xpage.pageTitle",
pagePathI18nKey="broadcastproxy.xpage.pagePathLabel")
public class BroadcastproxyXPage
extends fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
MyLuteceParisConnectXPage
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfr.paris.lutece.portal.web.xpages.XPagedoGetUserSubscriptions(javax.servlet.http.HttpServletRequest request) Do get user subscriptions using the AJAX modefr.paris.lutece.portal.web.xpages.XPagedoUpdateUserSubscriptions(javax.servlet.http.HttpServletRequest request) Do update user subscriptions using the AJAX mode json data should be like : { "userSubscriptions": {"typeName": "ALERT", "groupName": "Alertes", "subscriptionsList": [ {"id": "", "active": true} ] } } IF there is not "groupName" (exemple for newsletter), do ["groupName": "NONE"]Methods inherited from class fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
getPage
-
Field Details
-
PAGE_BROADCAST_MYDASHBOARD
Name of this application- See Also:
-
-
Constructor Details
-
BroadcastproxyXPage
public BroadcastproxyXPage()
-
-
Method Details
-
doGetUserSubscriptions
@Action("getUserSubscriptions") public fr.paris.lutece.portal.web.xpages.XPage doGetUserSubscriptions(javax.servlet.http.HttpServletRequest request) Do get user subscriptions using the AJAX mode- Parameters:
request- The request- Returns:
-
doUpdateUserSubscriptions
@Action("updateUserSubscriptions") public fr.paris.lutece.portal.web.xpages.XPage doUpdateUserSubscriptions(javax.servlet.http.HttpServletRequest request) Do update user subscriptions using the AJAX mode json data should be like : { "userSubscriptions": {"typeName": "ALERT", "groupName": "Alertes", "subscriptionsList": [ {"id": "", "active": true} ] } } IF there is not "groupName" (exemple for newsletter), do ["groupName": "NONE"]- Parameters:
request- The request- Returns:
-