package de.ivu.elect.presentation.statistik.menu;

import de.ivu.elect.business.security.UseCasePermission;
import de.ivu.elect.presentation.statistik.exchange.StatistikLaufImportSearchView;

public class StatistikLaufImportMenuItemEntry extends AbstractStatistikLaufMenuItemEntry{
  private static final long serialVersionUID = 1L;

  @Override
  protected UseCasePermission getUseCasePermission() {
    return UseCasePermission.STATISTIK_LAUF_IMPORTIEREN;
  }

  @Override
  public String getTargetViewId() {
    return StatistikLaufImportSearchView.VIEW_ID;
  }

  @Override
  protected String getLabel() {
    return getMessage(getLabelKey(), getMeta().getMehrzahlMessage());
  }

  @Override
  public String getLabelKey() {
    return "entity.import.menu.item.label";
  }

  @Override
  public String getIcon() {
    return getIcons().getIconImport();
  }
}
