All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tiogasolutions.push.plugins.smtp.SmtpEmailConfigStore Maven / Gradle / Ivy

There is a newer version: 5.0.2
Show newest version
package org.tiogasolutions.push.plugins.smtp;

import org.tiogasolutions.push.kernel.clients.DomainProfileEntity;
import org.tiogasolutions.push.kernel.execution.ExecutionManager;
import org.tiogasolutions.push.kernel.system.DomainSpecificStore;

public class SmtpEmailConfigStore extends DomainSpecificStore {

  public static final String SMTP_EMAIL_CONFIG_DESIGN_NAME = "smtp-email-config";


  public SmtpEmailConfigStore(ExecutionManager executionManager) {
    super(executionManager, SmtpEmailConfig.class);
  }

  @Override
  public String getDesignName() {
    return SMTP_EMAIL_CONFIG_DESIGN_NAME;
  }

  public static String toDocumentId(DomainProfileEntity domain) {
    return String.format("%s:smtp-email-config", domain.getDomainId());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy