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

import static java.util.Collections.emptyList;

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

import javax.inject.Inject;

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

public class NlExportArtefaktNachSystemExportstatusMainMenuEntry extends AbstractSubMenuEntry {

  private static final long serialVersionUID = 1L;

  @Inject
  private transient NlExportArtefaktNachSystemExportstatusSearchExportMenuItemEntry nlExportArtefaktNachSystemExportstatusSearchExportMenuItemEntry;

  public NlExportArtefaktNachSystemExportstatusMainMenuEntry() {
    super();
  }

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

    result.add(nlExportArtefaktNachSystemExportstatusSearchExportMenuItemEntry); // ELECT-10276

    result.add(separator);
    result.addAll(getSubMenuEntriesEinzeldokument());

    result.add(separator);
    result.addAll(getSubMenuEntriesEml());

    result.add(separator);
    result.addAll(getSubMenuEntriesDokumentPakete());

    return result;
  }

  protected List<MenuEntry> getSubMenuEntriesEinzeldokument() {
    return emptyList();
  }

  protected List<MenuEntry> getSubMenuEntriesEml() {
    return emptyList();
  }

  protected List<MenuEntry> getSubMenuEntriesDokumentPakete() {
    return emptyList();
  }

  @Override
  public String getLabelKey() {
    return "dokument.nach.system.exportstatus.main.menu.item.label";
  }
}
