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

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(VeranstaltungPageMenu.COMPONENT_NAME)
public class VeranstaltungPageMenu extends AbstractPageMenuModelBuilder {

  private static final long serialVersionUID = 1L;

  public static final String COMPONENT_NAME = "veranstaltungPageMenu";

  @Inject
  private transient VeranstaltungMainMenuEntry veranstaltungMainMenuEntry;

  public VeranstaltungPageMenu() {
    super();
  }

  @Override
  protected List<MenuEntry> getMenuEntriesSorted() {
    return veranstaltungMainMenuEntry.getSubMenuEntries();
  }
}
