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  | 
protected CSVImporterOptions | 
importerOptions  | 
| 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,
      Map<String,Serializable> values)  | 
boolean | 
exists(CoreSession session,
      String parentPath,
      String name,
      String type,
      Map<String,Serializable> values)
Deprecated.  
 | 
protected Map<String,Serializable> | 
prepareValues(Map<String,Serializable> values)  | 
void | 
setImporterOptions(CSVImporterOptions importerOptions)  | 
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
protected CSVImporterOptions importerOptions
public DefaultCSVImporterDocumentFactory()
public void createDocument(CoreSession session, String parentPath, String name, String type, Map<String,Serializable> values)
createDocument in interface CSVImporterDocumentFactoryprotected Map<String,Serializable> prepareValues(Map<String,Serializable> values)
public void updateDocument(CoreSession session, DocumentRef docRef, Map<String,Serializable> values)
updateDocument in interface CSVImporterDocumentFactorypublic boolean exists(CoreSession session, String parentPath, String name, Map<String,Serializable> values)
exists in interface CSVImporterDocumentFactorytrue if document with the specified parentPath, name, and values exists. false otherwise.@Deprecated public boolean exists(CoreSession session, String parentPath, String name, String type, Map<String,Serializable> values)
exists in interface CSVImporterDocumentFactorypublic void setImporterOptions(CSVImporterOptions importerOptions)
setImporterOptions in interface CSVImporterDocumentFactoryCopyright © 2019 Nuxeo. All rights reserved.