
package de.ivu.elect.presentation.dokumente.action;

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

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

import de.ivu.elect.jee.presentation.action.AbstractActionMenuModelBuilder;
import de.ivu.elect.jee.presentation.action.ActionEntry;
import de.ivu.elect.presentation.dokumente.exchange.DokumentBulkExportSearchEntry;

@Named(DokumentBulkExportSearchEntryActionMenu.COMPONENT_NAME)
public class DokumentBulkExportSearchEntryActionMenu extends AbstractActionMenuModelBuilder<DokumentBulkExportSearchEntry> {

  private static final long serialVersionUID = 1L;

  public static final String COMPONENT_NAME = "dokumentBulkExportSearchEntryActionMenu";

  @Inject
  private transient DokumentBulkExportSearchEntryExportAction dokumentBulkExportSearchEntryExportAction;

  @Inject
  private transient DokumentBulkExportSearchEntryExportDocxAction dokumentBulkExportSearchEntryExportDocxAction;

  @Inject
  private transient DokumentBulkExportSearchEntryExportPdfAction dokumentBulkExportSearchEntryExportPdfAction;

  @Inject
  private transient DokumentBulkExportSearchEntryDokumentVorlageCreateAction dokumentBulkExportSearchEntryDokumentVorlageCreateAction;

  @Inject
  private transient DokumentBulkExportSearchEntryDokumentVorlageEditAction dokumentBulkExportSearchEntryDokumentVorlageEditAction;

  @Inject
  private transient DokumentBulkExportSearchEntryDokumentVorlageSearchAction dokumentBulkExportSearchEntryDokumentVorlageSearchAction;

  public DokumentBulkExportSearchEntryActionMenu() {
    super();
  }

  @Override
  protected List<ActionEntry<DokumentBulkExportSearchEntry>> getActionEntriesSorted() {
    List<ActionEntry<DokumentBulkExportSearchEntry>> result = new ArrayList<>();

    result.add(dokumentBulkExportSearchEntryExportAction);
    result.add(dokumentBulkExportSearchEntryExportDocxAction);
    result.add(dokumentBulkExportSearchEntryExportPdfAction);

    result.add(dokumentBulkExportSearchEntryDokumentVorlageCreateAction);
    result.add(dokumentBulkExportSearchEntryDokumentVorlageEditAction);
    result.add(dokumentBulkExportSearchEntryDokumentVorlageSearchAction);

    return result;
  }
}
