package de.ivu.elect.presentation.dashboard.entries;

import java.util.List;

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

@Specializes
public class WasDashboardEntryBuilder extends CoreDashboardEntryBuilder {
  private static final long serialVersionUID = 1L;

  @Inject
  private transient ErfassungDashboardEntry erfassungDashboardEntry;

  @Inject
  private transient ErgebnisseDashboardEntry ergebnisseDashboardEntry;

  @Inject
  private transient PraesentationDashboardEntry praesentationDashboardEntry;

  @Override
  public List<AbstractDashboardEntry> getEntriesInternal() {
    List<AbstractDashboardEntry> entries = super.getEntriesInternal();
    entries.add(erfassungDashboardEntry);
    entries.add(ergebnisseDashboardEntry);
    entries.add(praesentationDashboardEntry);
    return entries;
  }
}
