Class PushTemplateProvider

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.api.notification.channel.template.TemplateProvider
org.exoplatform.push.channel.template.PushTemplateProvider
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class PushTemplateProvider extends org.exoplatform.commons.api.notification.channel.template.TemplateProvider
Templates for Push Notifications. It extends WebTemplateProvider since we want the same information for web notifications, but it re-calculate target URL in order to pass it as a standalone data to the push notifications manager. The target URL is passed in the field "subject" of the MessageInfo object since there is no field to pass custom data. TODO Improve MessageInfo to allow to pass custom data
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
     
  • Field Summary

    Fields inherited from class org.exoplatform.commons.api.notification.channel.template.TemplateProvider

    CHANNEL_ID_KEY, templateBuilders, templateFilePaths

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    PushTemplateProvider(org.exoplatform.container.xml.InitParams initParams)
     
  • Method Summary

    Methods inherited from class org.exoplatform.commons.api.notification.channel.template.TemplateProvider

    getChannelKey, getTemplateBuilder, getTemplateFilePathConfigs

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PushTemplateProvider

      public PushTemplateProvider(org.exoplatform.container.xml.InitParams initParams)