
package de.ivu.elect.presentation.admin.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.geodata.menu.GeodataOrtMenuItemEntry;
import de.ivu.elect.presentation.person.menu.BerufMenuItemEntry;

@Specializes
public class CommonAdminMainMenuEntry extends AdminMainMenuEntry {

  private static final long serialVersionUID = 1L;

  @Inject
  protected transient GeodataOrtMenuItemEntry geodataOrtMenuItemEntry;

  @Inject
  protected transient BerufMenuItemEntry berufMenuItemEntry;

  public CommonAdminMainMenuEntry() {
    super();
  }

  @Override
  protected void addDataEntries(List<MenuEntry> result) {
    super.addDataEntries(result);

    result.add(geodataOrtMenuItemEntry);
    result.add(berufMenuItemEntry);
  }
}
