public class CSVImporterImpl extends Object implements CSVImporter
Constructor and Description |
---|
CSVImporterImpl() |
Modifier and Type | Method and 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) |
public CSVImporterImpl()
public String launchImport(CoreSession session, String parentPath, File csvFile, String csvFileName, CSVImporterOptions options)
launchImport
in interface CSVImporter
public CSVImportStatus getImportStatus(String id)
getImportStatus
in interface CSVImporter
public List<CSVImportLog> getImportLogs(String id)
getImportLogs
in interface CSVImporter
public List<CSVImportLog> getImportLogs(String id, CSVImportLog.Status... status)
getImportLogs
in interface CSVImporter
public List<CSVImportLog> getLastImportLogs(String id, int max)
getLastImportLogs
in interface CSVImporter
public List<CSVImportLog> getLastImportLogs(String id, int max, CSVImportLog.Status... status)
getLastImportLogs
in interface CSVImporter
protected List<CSVImportLog> filterImportLogs(List<CSVImportLog> importLogs, CSVImportLog.Status... status)
public CSVImportResult getImportResult(String id)
getImportResult
in interface CSVImporter
Copyright © 2015 Nuxeo SA. All rights reserved.