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

import de.ivu.elect.business.security.UseCasePermission;
import de.ivu.elect.presentation.statistik.StatistikLaufCreateView;

public class StatistikLaufCreateMenuItemEntry extends AbstractStatistikLaufMenuItemEntry {

  private static final long serialVersionUID = 1L;

  public StatistikLaufCreateMenuItemEntry() {
    super();
  }

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

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

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

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

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