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

import de.ivu.elect.business.security.UseCasePermission;
import de.ivu.elect.presentation.staat.StaatSearchView;

public class StaatSearchMenuItemEntry extends AbstractStaatMenuItemEntry {

  private static final long serialVersionUID = 1L;

  public StaatSearchMenuItemEntry() {
    super();
  }

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

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

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

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

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