
package de.ivu.elect.presentation.wahlvorschlag.table;

import java.util.List;

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

import de.ivu.elect.business.wahlvorschlag.entity.Liste;
import de.ivu.elect.jee.presentation.dynamictable.AbstractColumnBuilder;
import de.ivu.elect.jee.presentation.dynamictable.ColumnEntry;

@Named(ListeColumnBuilder.COMPONENT_NAME)
public class ListeColumnBuilder extends AbstractColumnBuilder<Liste> {

  private static final long serialVersionUID = 1L;

  public static final String COMPONENT_NAME = "listeColumnBuilder";

  @Inject
  private transient BasisListeColumnBuilder basisListeColumnBuilder;

  public ListeColumnBuilder() {
    super();
  }

  @Override
  protected void initColumns() {
    basisListeColumnBuilder.initColumns();
  }

  @Override
  protected List<ColumnEntry< ? super Liste>> getColumnEntriesSorted() {
    return basisListeColumnBuilder.getColumnEntriesSorted();
  }
}
