Class 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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      fr.paris.lutece.portal.web.xpages.XPage doGetUserSubscriptions​(javax.servlet.http.HttpServletRequest request)
      Do get user subscriptions using the AJAX mode
      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"]
      • Methods inherited from class fr.paris.lutece.portal.util.mvc.xpage.MVCApplication

        getPage
    • Field Detail

      • PAGE_BROADCAST_MYDASHBOARD

        public static final String PAGE_BROADCAST_MYDASHBOARD
        Name of this application
        See Also:
        Constant Field Values
    • Constructor Detail

      • BroadcastproxyXPage

        public BroadcastproxyXPage()
    • 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: