Package org.nuxeo.ecm.csv.core
Class CSVImporterImpl
- java.lang.Object
-
- org.nuxeo.ecm.csv.core.CSVImporterImpl
-
- All Implemented Interfaces:
CSVImporter
public class CSVImporterImpl extends Object implements CSVImporter
- Since:
- 5.7
-
-
Constructor Summary
Constructors Constructor Description CSVImporterImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected List<CSVImportLog>
filterImportLogs(List<CSVImportLog> importLogs, CSVImportLog.Status... status)
List<CSVImportLog>
getImportLogs(String id)
List<CSVImportLog>
getImportLogs(String id, CSVImportLog.Status... status)
CSVImportResult
getImportResult(String id)
CSVImportStatus
getImportStatus(String id)
List<CSVImportLog>
getLastImportLogs(String id, int max)
List<CSVImportLog>
getLastImportLogs(String id, int max, CSVImportLog.Status... status)
String
launchImport(CoreSession session, String parentPath, File csvFile, String csvFileName, CSVImporterOptions options)
Deprecated.String
launchImport(CoreSession session, String parentPath, Blob blob, CSVImporterOptions options)
-
-
-
Method Detail
-
launchImport
@Deprecated public String launchImport(CoreSession session, String parentPath, File csvFile, String csvFileName, CSVImporterOptions options)
Deprecated.- Specified by:
launchImport
in interfaceCSVImporter
-
launchImport
public String launchImport(CoreSession session, String parentPath, Blob blob, CSVImporterOptions options)
- Specified by:
launchImport
in interfaceCSVImporter
-
getImportStatus
public CSVImportStatus getImportStatus(String id)
- Specified by:
getImportStatus
in interfaceCSVImporter
-
getImportLogs
public List<CSVImportLog> getImportLogs(String id)
- Specified by:
getImportLogs
in interfaceCSVImporter
-
getImportLogs
public List<CSVImportLog> getImportLogs(String id, CSVImportLog.Status... status)
- Specified by:
getImportLogs
in interfaceCSVImporter
-
getLastImportLogs
public List<CSVImportLog> getLastImportLogs(String id, int max)
- Specified by:
getLastImportLogs
in interfaceCSVImporter
-
getLastImportLogs
public List<CSVImportLog> getLastImportLogs(String id, int max, CSVImportLog.Status... status)
- Specified by:
getLastImportLogs
in interfaceCSVImporter
-
filterImportLogs
protected List<CSVImportLog> filterImportLogs(List<CSVImportLog> importLogs, CSVImportLog.Status... status)
-
getImportResult
public CSVImportResult getImportResult(String id)
- Specified by:
getImportResult
in interfaceCSVImporter
-
-