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

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

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

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

@Named(ReferendumVorlageImGebietSearchMenu.COMPONENT_NAME)
public class ReferendumVorlageImGebietSearchMenu extends AbstractMenuModelBuilder {

  private static final long serialVersionUID = 1L;

  public static final String COMPONENT_NAME = "referendumVorlageImGebietSearchMenu";

  @Inject
  private transient ReferendumVorlageImGebietCreateMenuItemEntry referendumVorlageImGebietCreateMenuItemEntry;

  public ReferendumVorlageImGebietSearchMenu() {
    super();
  }

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

    result.add(referendumVorlageImGebietCreateMenuItemEntry);

    return result;
  }
}
