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.MVCApplicationMyLuteceParisConnectXPage- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPAGE_BROADCAST_MYDASHBOARDName of this application
-
Constructor Summary
Constructors Constructor Description BroadcastproxyXPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description fr.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"]
-
-
-
Field Detail
-
PAGE_BROADCAST_MYDASHBOARD
public static final String PAGE_BROADCAST_MYDASHBOARD
Name of this application- See Also:
- Constant Field Values
-
-
Method Detail
-
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:
-
-