public class ExcelImportHandler extends ExcelWithoutValidationImportHandler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
XLSX_EXTENSION
Deprecated.
since 6.7 no longer used
|
static java.lang.String |
ZIP_EXTENSION
Deprecated.
since 6.7 no longer used
|
| Constructor and Description |
|---|
ExcelImportHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected Workbook |
createWorkbook(byte[] fileContent) |
protected FileContent |
findUploadedFileWithExtension(java.util.Set<FileUploadResult> uploadedFiles,
java.lang.String extension)
Deprecated.
since 6.7 no longer used. Use
ExcelWithoutValidationImportHandler.toFileContent(FileUploadResult) to map upload result and
ExcelImportWizardForm.getExcelFile() or ExcelImportWizardForm.getZipFile() to obtain file
for extension |
ExcelImportService |
getExcelImportService() |
ExcelImportWorkbookPostProcessor |
getExcelImportWorkbookPostProcessor() |
MimeService |
getMimeService() |
protected boolean |
hasValidationErrors(java.util.Collection<ExcelValidationResult> excelValidationResults) |
protected void |
importExcel(FileContent foundExcelFile,
FileContent foundZipFile) |
protected java.util.Optional<java.util.Set<java.lang.String>> |
listZipEntries(FileContent foundZipFile) |
void |
perform(CustomType customType,
FlowActionHandlerAdapter adapter,
java.util.Map<java.lang.String,java.lang.String> parameters) |
void |
setExcelImportService(ExcelImportService excelImportService) |
void |
setExcelImportWorkbookPostProcessor(ExcelImportWorkbookPostProcessor excelImportWorkbookPostProcessor) |
void |
setMimeService(MimeService mimeService) |
protected java.util.List<ExcelValidationResult> |
validateExcel(FileContent excelFileContent)
Deprecated.
since 6.7 please use
validateExcel(FileContent, FileContent) |
protected java.util.List<ExcelValidationResult> |
validateExcel(FileContent excelFileContent,
FileContent zipFileContent) |
getCockpitEventQueue, getCronJobService, getExcelCronJobService, getNotificationService, setCockpitEventQueue, setCronJobService, setExcelCronJobService, setNotificationService, toFileContent@Deprecated public static final java.lang.String ZIP_EXTENSION
@Deprecated public static final java.lang.String XLSX_EXTENSION
public void perform(CustomType customType,
FlowActionHandlerAdapter adapter,
java.util.Map<java.lang.String,java.lang.String> parameters)
perform in class ExcelWithoutValidationImportHandlerprotected boolean hasValidationErrors(java.util.Collection<ExcelValidationResult> excelValidationResults)
@Deprecated protected java.util.List<ExcelValidationResult> validateExcel(FileContent excelFileContent)
validateExcel(FileContent, FileContent)protected java.util.List<ExcelValidationResult> validateExcel(FileContent excelFileContent, FileContent zipFileContent)
protected void importExcel(FileContent foundExcelFile, FileContent foundZipFile)
importExcel in class ExcelWithoutValidationImportHandler@Deprecated protected FileContent findUploadedFileWithExtension(java.util.Set<FileUploadResult> uploadedFiles, java.lang.String extension)
ExcelWithoutValidationImportHandler.toFileContent(FileUploadResult) to map upload result and
ExcelImportWizardForm.getExcelFile() or ExcelImportWizardForm.getZipFile() to obtain file
for extensionprotected Workbook createWorkbook(byte[] fileContent)
protected java.util.Optional<java.util.Set<java.lang.String>> listZipEntries(FileContent foundZipFile)
public ExcelImportService getExcelImportService()
public void setExcelImportService(ExcelImportService excelImportService)
public MimeService getMimeService()
public void setMimeService(MimeService mimeService)
public ExcelImportWorkbookPostProcessor getExcelImportWorkbookPostProcessor()
public void setExcelImportWorkbookPostProcessor(ExcelImportWorkbookPostProcessor excelImportWorkbookPostProcessor)
Copyright © 2018 SAP SE. All Rights Reserved.