public class ExcelImportHandler
extends java.lang.Object
| 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
toFileContent(FileUploadResult) to map upload result and
ExcelImportWizardForm.getExcelFile() or ExcelImportWizardForm.getZipFile() to obtain
file for extension |
CockpitEventQueue |
getCockpitEventQueue() |
CronJobService |
getCronJobService() |
ExcelCronJobService |
getExcelCronJobService() |
ExcelImportService |
getExcelImportService() |
MimeService |
getMimeService() |
protected NotificationService |
getNotificationService() |
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 |
setCockpitEventQueue(CockpitEventQueue cockpitEventQueue) |
void |
setCronJobService(CronJobService cronJobService) |
void |
setExcelCronJobService(ExcelCronJobService excelCronJobService) |
void |
setExcelImportService(ExcelImportService excelImportService) |
void |
setMimeService(MimeService mimeService) |
void |
setNotificationService(NotificationService notificationService) |
protected FileContent |
toFileContent(FileUploadResult uploadResult) |
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) |
@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)
@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)
@Deprecated protected FileContent findUploadedFileWithExtension(java.util.Set<FileUploadResult> uploadedFiles, java.lang.String extension)
toFileContent(FileUploadResult) to map upload result and
ExcelImportWizardForm.getExcelFile() or ExcelImportWizardForm.getZipFile() to obtain
file for extensionprotected FileContent toFileContent(FileUploadResult uploadResult)
protected Workbook createWorkbook(byte[] fileContent)
protected java.util.Optional<java.util.Set<java.lang.String>> listZipEntries(FileContent foundZipFile)
public ExcelCronJobService getExcelCronJobService()
public void setExcelCronJobService(ExcelCronJobService excelCronJobService)
public CronJobService getCronJobService()
public void setCronJobService(CronJobService cronJobService)
public CockpitEventQueue getCockpitEventQueue()
public void setCockpitEventQueue(CockpitEventQueue cockpitEventQueue)
public ExcelImportService getExcelImportService()
public void setExcelImportService(ExcelImportService excelImportService)
public MimeService getMimeService()
public void setMimeService(MimeService mimeService)
protected NotificationService getNotificationService()
public void setNotificationService(NotificationService notificationService)
Copyright © 2018 SAP SE. All Rights Reserved.