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

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

import de.ivu.elect.business.ergebnis.boundary.NlWasModelP2aBulkExporter;
import de.ivu.elect.business.security.UseCasePermission;
import de.ivu.elect.presentation.View;
import de.ivu.elect.presentation.hilfe.OnlineHilfeId;

@OnlineHilfeId("TODO")
@Named(NlWasModelP2aBulkExportView.COMPONENT_NAME)
@View(viewId = NlWasModelP2aBulkExportView.VIEW_ID, useCase = /* ELECTVAPP-2052 */ UseCasePermission.GEBIET_ERGEBNISEINGABESTATUS_SETZEN_ABGESCHLOSSEN)
public class NlWasModelP2aBulkExportView extends AbstractNlWasErgebnisArtefaktNachGebietErgebniseingabestatusBulkExportView {

  private static final long serialVersionUID = 1L;

  public static final String COMPONENT_NAME = "nlWasModelP2aBulkExportView";

  public static final String VIEW_ID = "/ergebnis/nl-was-model-p2-a-bulk-export.xhtml";

  @Inject
  private transient NlWasModelP2aBulkExporter nlWasModelP2aBulkExporter;

  @Inject
  private transient NlWasModelP2aBulkExportDescription nlWasModelP2aBulkExportDescription;

  public NlWasModelP2aBulkExportView() {
    super();
  }

  @Override
  public NlWasModelP2aBulkExportDescription getExportDescription() {
    return nlWasModelP2aBulkExportDescription;
  }

  @Override
  protected NlWasModelP2aBulkExporter getExporter() {
    return nlWasModelP2aBulkExporter;
  }
}
