public class DataSourceImporter extends Object
Constructor and Description |
---|
DataSourceImporter(Mandant client) |
Modifier and Type | Method and Description |
---|---|
EContentType |
getContentType() |
CSVImportOptions |
getCsvImportOptions() |
StringDataSheet |
getDataSheet() |
Datenquelle |
getDataSource() |
EDatenquellenTyp |
getDataSourceType() |
ExcelImportOptions |
getExcelImportOptions() |
EWizardStepCSVImport |
getImportStep() |
Integer |
getStartAtLine() |
byte[] |
getUploadedBytes() |
org.primefaces.model.file.UploadedFile |
getUploadedFile() |
String |
getUploadedFileName() |
void |
importStepBackward() |
void |
importStepForward() |
void |
reset() |
void |
setImportStep(EWizardStepCSVImport importStep) |
void |
setStartAtLine(Integer startAtLine) |
void |
setUploadedFile(org.primefaces.model.file.UploadedFile uploadedFile) |
void |
upload(org.primefaces.event.FileUploadEvent event)
uploads file to bean
|
public DataSourceImporter(Mandant client)
public EWizardStepCSVImport getImportStep()
public void setImportStep(EWizardStepCSVImport importStep)
public EDatenquellenTyp getDataSourceType()
public EContentType getContentType()
public CSVImportOptions getCsvImportOptions()
public ExcelImportOptions getExcelImportOptions()
public org.primefaces.model.file.UploadedFile getUploadedFile()
public void setUploadedFile(org.primefaces.model.file.UploadedFile uploadedFile)
public byte[] getUploadedBytes()
public String getUploadedFileName()
public Integer getStartAtLine()
public void setStartAtLine(Integer startAtLine)
public void upload(org.primefaces.event.FileUploadEvent event) throws Exception
event
- that holds the UploadedFile
Exception
- on errors while reading the upload or if the file type is not valid for datasourcespublic Datenquelle getDataSource() throws Exception
Exception
public StringDataSheet getDataSheet() throws Exception
Exception
public void importStepForward()
public void importStepBackward()
public void reset()
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.