Package com.dianping.cat.home.alert.config.entity

Examples of com.dianping.cat.home.alert.config.entity.Receiver


  @Override
  public List<String> queryEmailContactors(String id) {
    List<String> mailReceivers = new ArrayList<String>();

    Receiver receiver = m_alertConfigManager.queryReceiverById(getId());

    if (receiver != null && !receiver.isEnable()) {
      return mailReceivers;
    } else {
      mailReceivers.addAll(buildDefaultMailReceivers(receiver));

      String domain = queryDomainByCommand(id);
View Full Code Here


  }

  @Override
  public List<String> queryWeiXinContactors(String id) {
    List<String> weixinReceivers = new ArrayList<String>();
    Receiver receiver = m_alertConfigManager.queryReceiverById(getId());

    if (receiver != null && !receiver.isEnable()) {
      return weixinReceivers;
    } else {
      weixinReceivers.addAll(buildDefaultWeixinReceivers(receiver));

      String domain = queryDomainByCommand(id);
View Full Code Here

  }

  @Override
  public List<String> querySmsContactors(String id) {
    List<String> smsReceivers = new ArrayList<String>();
    Receiver receiver = m_alertConfigManager.queryReceiverById(getId());

    if (receiver != null && !receiver.isEnable()) {
      return smsReceivers;
    } else {
      smsReceivers.addAll(buildDefaultSMSReceivers(receiver));

      String domain = queryDomainByCommand(id);
View Full Code Here

  @Override
  public List<String> queryEmailContactors(String id) {
    List<String> mailReceivers = new ArrayList<String>();

    Receiver receiver = m_alertConfigManager.queryReceiverById(getId());

    if (receiver != null && !receiver.isEnable()) {
      return mailReceivers;
    } else {
      mailReceivers.addAll(buildDefaultMailReceivers(receiver));

      AggregationRule rule = m_aggConfigManager.queryAggration(id);
View Full Code Here

  }

  @Override
  public List<String> queryWeiXinContactors(String id) {
    List<String> weixinReceivers = new ArrayList<String>();
    Receiver receiver = m_alertConfigManager.queryReceiverById(getId());

    if (receiver != null && !receiver.isEnable()) {
      return weixinReceivers;
    } else {
      weixinReceivers.addAll(buildDefaultWeixinReceivers(receiver));

      return weixinReceivers;
View Full Code Here

  }

  @Override
  public List<String> querySmsContactors(String id) {
    List<String> smsReceivers = new ArrayList<String>();
    Receiver receiver = m_alertConfigManager.queryReceiverById(getId());

    if (receiver != null && !receiver.isEnable()) {
      return smsReceivers;
    } else {
      smsReceivers.addAll(buildDefaultSMSReceivers(receiver));

      return smsReceivers;
View Full Code Here

  @Override
  public List<String> queryEmailContactors(String id) {
    List<String> mailReceivers = new ArrayList<String>();

    Receiver receiver = m_alertConfigManager.queryReceiverById(getId());

    if (receiver != null && !receiver.isEnable()) {
      return mailReceivers;
    } else {
      mailReceivers.addAll(buildDefaultMailReceivers(receiver));

      String domain = queryDomainByUrl(id);
View Full Code Here

  }

  @Override
  public List<String> queryWeiXinContactors(String id) {
    List<String> weixinReceivers = new ArrayList<String>();
    Receiver receiver = m_alertConfigManager.queryReceiverById(getId());

    if (receiver != null && !receiver.isEnable()) {
      return weixinReceivers;
    } else {
      weixinReceivers.addAll(buildDefaultWeixinReceivers(receiver));

      String domain = queryDomainByUrl(id);
View Full Code Here

  }

  @Override
  public List<String> querySmsContactors(String id) {
    List<String> smsReceivers = new ArrayList<String>();
    Receiver receiver = m_alertConfigManager.queryReceiverById(getId());

    if (receiver != null && !receiver.isEnable()) {
      return smsReceivers;
    } else {
      smsReceivers.addAll(buildDefaultSMSReceivers(receiver));

      String domain = queryDomainByUrl(id);
View Full Code Here

  @Override
  public List<String> queryEmailContactors(String id) {
    ProductLine productline = queryProductline(id);
    List<String> mailReceivers = new ArrayList<String>();
    Receiver receiver = m_configManager.queryReceiverById(getId());

    if (receiver != null && !receiver.isEnable()) {
      return mailReceivers;
    } else {
      mailReceivers.addAll(buildDefaultMailReceivers(receiver));
      mailReceivers.addAll(split(productline.getEmail()));
View Full Code Here

TOP

Related Classes of com.dianping.cat.home.alert.config.entity.Receiver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.