public class DefaultCSVImporterDocumentFactory extends Object implements CSVImporterDocumentFactory
Modifier and Type | Field and Description |
---|---|
static String |
DC_CONTRIBUTORS |
static String |
DC_CREATOR |
static List<String> |
IGNORE_FIELDS_ON_UPDATE |
Constructor and Description |
---|
DefaultCSVImporterDocumentFactory() |
Modifier and Type | Method and Description |
---|---|
void |
createDocument(CoreSession session,
String parentPath,
String name,
String type,
Map<String,Serializable> values) |
boolean |
exists(CoreSession session,
String parentPath,
String name,
String type,
Map<String,Serializable> values) |
protected Map<String,Serializable> |
prepareValues(Map<String,Serializable> values) |
void |
updateDocument(CoreSession session,
DocumentRef docRef,
Map<String,Serializable> values) |
public static final String DC_CREATOR
public static final String DC_CONTRIBUTORS
public static final List<String> IGNORE_FIELDS_ON_UPDATE
public DefaultCSVImporterDocumentFactory()
public void createDocument(CoreSession session, String parentPath, String name, String type, Map<String,Serializable> values)
createDocument
in interface CSVImporterDocumentFactory
protected Map<String,Serializable> prepareValues(Map<String,Serializable> values)
public void updateDocument(CoreSession session, DocumentRef docRef, Map<String,Serializable> values)
updateDocument
in interface CSVImporterDocumentFactory
public boolean exists(CoreSession session, String parentPath, String name, String type, Map<String,Serializable> values)
exists
in interface CSVImporterDocumentFactory
Copyright © 2016 Nuxeo SA. All rights reserved.