package de.ivu.elect.presentation.dashboard.entries;

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

import javax.inject.Inject;

import de.ivu.elect.jee.presentation.menu.AbstractMenuModelBuilder;
import de.ivu.elect.jee.presentation.menu.MenuEntry;
import de.ivu.elect.presentation.wahl.menu.WahlterminMainMenuEntry;

public class WahlterminDashboardSplitModelBuilder extends AbstractMenuModelBuilder {

  private static final long serialVersionUID = 1L;

  @Inject
  private transient WahlterminMainMenuEntry wahlterminMainMenuEntry;

  @Override
  protected List<MenuEntry> getMenuEntriesSorted() {
    List<MenuEntry> result = new ArrayList<>();
    wahlterminMainMenuEntry.addAuszuwaehlendeWahltermineMenuEntries(result, false);
    return result;
  }
}

