public class DefaultFileImporter extends AbstractFileImporter
| Modifier and Type | Field and Description | 
|---|---|
static String | 
TYPE_NAME  | 
DISABLE_AUDIT_LOGGER, docType, enabled, fileManagerService, filters, name, order, patterns, SKIP_UPDATE_AUDIT_LOGGING| Constructor and Description | 
|---|
DefaultFileImporter()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected static UITypesConfiguration | 
getConfiguration(DocumentModel currentDoc)  | 
String | 
getDocType(DocumentModel container)
Gets the doc type to use in the given container. 
 | 
static String | 
getTypeName(DocumentModel currentDoc)  | 
boolean | 
isOverwriteByTitle()
Whether document overwrite is detected by checking title or filename. 
 | 
checkIn, checkInAfterAdd, compareTo, create, createDocument, createOrUpdate, doSecurityCheck, doSecurityCheck, getBlob, getDefaultDocType, getDocType, getFileManagerService, getFilters, getName, getNearestContainerPath, getOrder, isEnabled, isOneToMany, matches, setDocType, setEnabled, setFileManagerService, setFilters, setName, setOrder, skipCheckInForBlob, updateDocument, updateDocumentIfPossiblepublic static final String TYPE_NAME
public DefaultFileImporter()
public boolean isOverwriteByTitle()
AbstractFileImporter
 To implement when the default AbstractFileImporter.createOrUpdate(FileImporterContext) method is used.
isOverwriteByTitle in class AbstractFileImporterpublic String getDocType(DocumentModel container)
AbstractFileImportergetDocType in class AbstractFileImporterpublic static String getTypeName(DocumentModel currentDoc)
protected static UITypesConfiguration getConfiguration(DocumentModel currentDoc)
Copyright © 2019 Nuxeo. All rights reserved.