public class CSVImporterImpl extends Object implements CSVImporter
Constructor and Description |
---|
CSVImporterImpl() |
Modifier and Type | Method and Description |
---|---|
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 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
public CSVImportResult getImportResult(String id)
getImportResult
in interface CSVImporter
Copyright © 2014 Nuxeo SA. All Rights Reserved.