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

import java.util.ArrayList;
import java.util.List;

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

import de.ivu.elect.jee.presentation.menu.MenuEntry;
import de.ivu.elect.presentation.ui.AbstractPageMenuModelBuilder;

@Named(StatistikPageMenu.COMPONENT_NAME)
public class StatistikPageMenu extends AbstractPageMenuModelBuilder {

  private static final long serialVersionUID = 1L;

  public static final String COMPONENT_NAME = "statistikPageMenu";

  @Inject
  private transient StatistikLaufSearchMenuItemEntry statistikLaufSearchMenuItemEntry;

  @Inject
  private transient StatistikLaufImportMenuItemEntry statistikLaufImportMenuItemEntry;

  public StatistikPageMenu() {
    super();
  }

  @Override
  protected List<MenuEntry> getMenuEntriesSorted() {
    List<MenuEntry> result = new ArrayList<>();

    result.add(statistikLaufSearchMenuItemEntry);
    result.add(statistikLaufImportMenuItemEntry);

    return result;
  }
}
