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

import de.ivu.elect.business.exchange.entity.DateiImportArt;
import de.ivu.elect.business.security.UseCasePermission;
import de.ivu.elect.jee.exchange.ImportOptions;
import de.ivu.elect.presentation.exchange.ImportDescription;
import de.ivu.elect.presentation.wahlrechtspruefung.menu.PruefkriteriumPageMenu;

public class PruefkriteriumImportDescription implements ImportDescription {

  private static final long serialVersionUID = 1L;

  @Override
  public String getImportSearchViewId() {
    return PruefkriteriumImportSearchView.VIEW_ID;
  }

  @Override
  public String getImportFormatFestlegenViewId() {
    return PruefkriteriumImportFormatFestlegenView.VIEW_ID;
  }

  @Override
  public String getImportBestaetigenViewId() {
    return PruefkriteriumImportBestaetigenView.VIEW_ID;
  }

  @Override
  public DateiImportArt getDateiImportArt() {
    return DateiImportArt.PRUEFKRITERIUM_IMPORT;
  }

  @Override
  public boolean isConfirmationForImportNeeded() {
    return true;
  }

  @Override
  public UseCasePermission getUseCasePermission() {
    return UseCasePermission.PRUEFKRITERIUM_IMPORT;
  }

  @Override
  public boolean isSpecificPerWahlOrWahltermin() {
    return true;
  }

  @Override
  public String getPageMenuComponentName() {
    return PruefkriteriumPageMenu.COMPONENT_NAME;
  }

  @Override
  public ImportOptions getDefaultImportOptions() {
    return ImportOptions.IMPORT_VOLLSTAENDIG_UEBERNEHMEN;
  }
}
