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

import java.util.List;

import javax.enterprise.inject.Specializes;
import javax.inject.Inject;

import de.ivu.elect.jee.presentation.menu.MenuEntry;
import de.ivu.elect.presentation.personenregister.menu.PersonenregisterZertifikatUploadMenuItemEntry;

@Specializes
public class CommonInterfacesPageMenu extends InterfacesPageMenu{
  private static final long serialVersionUID = 1L;

  @Inject
  private transient PersonenregisterZertifikatUploadMenuItemEntry personenregisterZertifikatUploadMenuItemEntry;

  @Override
  protected List<MenuEntry> getMenuEntriesSorted() {
    List<MenuEntry> menuEntriesSorted = super.getMenuEntriesSorted();
    menuEntriesSorted.add(separator);
    menuEntriesSorted.add(personenregisterZertifikatUploadMenuItemEntry);
    return menuEntriesSorted;
  }
}
