
package de.ivu.elect.presentation.dokumente;

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

import javax.enterprise.inject.Specializes;

import de.ivu.elect.business.datei.entity.FileType;

@Specializes
public class WasDokumentVorlageCreateAllowedFileTypes extends DokumentVorlageCreateAllowedFileTypes {

  private static final long serialVersionUID = 1L;

  public WasDokumentVorlageCreateAllowedFileTypes() {
    super();
  }

  @Override
  public List<FileType> getAllowedFileTypes() {
    List<FileType> result = new ArrayList<>(super.getAllowedFileTypes());
    result.add(FileType.DVZ); // ELECT-5759
    result.add(FileType.ZIP); // Internet-Präsentation Velocity-Teplates

    return result;
  }
}
