package de.ivu.elect.exchange.email;

import de.ivu.elect.business.email.control.EmailVorlageExchangeContext;
import de.ivu.elect.business.email.control.EmailVorlageImportExchange;
import de.ivu.elect.business.email.entity.EmailVorlage;
import de.ivu.elect.exchange.AbstractImportExchange;
import de.ivu.elect.exchange.ImportMapper;

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

public class DefaultEmailVorlageImportExchange extends AbstractImportExchange<List<EmailVorlage>, EmailVorlageExchangeContext>
    implements EmailVorlageImportExchange {

  @Inject
  transient Instance<EmailVorlageMapper> mapper;

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