Class DeclinedCallTemplateBuilder

java.lang.Object
org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
org.exoplatform.webconferencing.notification.provider.DeclinedCallTemplateBuilder

public class DeclinedCallTemplateBuilder extends org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
Builds the email of a declined call, sent once its incoming call alert closed: who declined it when only one participant did, with their avatar; how many did otherwise, naming nobody, with the avatar of the call's group. A notification of a single decline builds no email.
  • Constructor Summary

    Constructors
    Constructor
    Description
    DeclinedCallTemplateBuilder(org.exoplatform.commons.api.notification.model.ChannelKey channelKey)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.exoplatform.commons.api.notification.model.MessageInfo
    makeMessage(org.exoplatform.commons.api.notification.NotificationContext ctx)
     

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

    buildMessage, getLanguage, getNotificationToStore, getOrganizationService, getTemplateEngine, setTemplateEngine

    Methods inherited from class Object

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

    • DeclinedCallTemplateBuilder

      public DeclinedCallTemplateBuilder(org.exoplatform.commons.api.notification.model.ChannelKey channelKey)
  • Method Details

    • makeMessage

      protected org.exoplatform.commons.api.notification.model.MessageInfo makeMessage(org.exoplatform.commons.api.notification.NotificationContext ctx)
      Specified by:
      makeMessage in class org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder