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
    Modifier and Type
    Field
    Description
    static final String
    Name of this application
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • PAGE_BROADCAST_MYDASHBOARD

      public static final String 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: