package de.ivu.elect.presentation.wahl.exchange;

import javax.inject.Inject;
import javax.inject.Named;

import de.ivu.elect.business.exchange.control.AbstractImporter;
import de.ivu.elect.business.security.UseCasePermission;
import de.ivu.elect.business.wahl.boundary.WasWahlImporter;
import de.ivu.elect.presentation.View;

@Named(AbstractWahlImportFormatFestlegenView.COMPONENT_NAME)
@View(viewId = AbstractWahlImportFormatFestlegenView.VIEW_ID, useCase = UseCasePermission.WAHL_IMPORTIEREN)
public class WasWahlImportFormatFestlegenView extends AbstractWahlImportFormatFestlegenView {
  @Inject
  WasWahlImporter importer;

  @Override
  protected AbstractImporter getImporter() {
    return importer;
  }
  // DUMMY muss bleiben, wegen Weld-Bug
  public void setImporter(WasWahlImporter importer) {
    this.importer = importer;
  }
}
