
package de.ivu.elect.presentation;

import java.util.List;

import org.primefaces.event.FileUploadEvent;

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

public interface ViewHavingFileUpload {

  String FILE_UPLOAD_ALLOW_TYPES_ALL = FileTypeResolver.FILE_TYPE_HTML_REG_EX_ALL;

  String FILE_UPLOAD_ACCEPT_ALL = FileTypeResolver.FILE_TYPE_HTML_ACCEPT_ALL;

  String getFileUploadAllowTypes();

  String getFileUploadAccept(); // ELECTVAPP-1274

  String getFileUploadLabel();

  List<FileType> getFileUploadFileTypes();

  void handleFileUpload(FileUploadEvent event);
}
