package de.ivu.elect.exchange.email;

import de.ivu.elect.business.email.control.EmailVorlageExchangeContext;
import de.ivu.elect.business.email.control.EmailVorlageExportExchange;
import de.ivu.elect.business.email.entity.EmailVorlage;
import de.ivu.elect.exchange.AbstractExportExchange;
import de.ivu.elect.exchange.ExportMapper;

import javax.enterprise.inject.Instance;
import javax.inject.Inject;
import java.util.List;

public class DefaultEmailVorlageExportExchange extends AbstractExportExchange<List<EmailVorlage>, EmailVorlageExchangeContext>
    implements EmailVorlageExportExchange {

  @Inject
  transient Instance<EmailVorlageMapper> mapper;

  @Override
  protected Iterable<? extends ExportMapper<List<EmailVorlage>, EmailVorlageExchangeContext>> getAllSupportedMapper() {
    return mapper;
  }
}
