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, doSecurityCheck, getBlob, getDefaultDocType, getDocType, getFileManagerService, getFilters, getName, getNearestContainerPath, getOrder, isEnabled, matches, setDocType, setEnabled, setFileManagerService, setFilters, setName, setOrder, skipCheckInForBlob, updateDocument, updateDocumentIfPossible
public static final String TYPE_NAME
public DefaultFileImporter()
public boolean isOverwriteByTitle()
AbstractFileImporter
To implement when the default AbstractFileImporter.create(org.nuxeo.ecm.core.api.CoreSession, org.nuxeo.ecm.core.api.Blob, java.lang.String, boolean, java.lang.String, org.nuxeo.ecm.platform.types.TypeManager)
method is used.
isOverwriteByTitle
in class AbstractFileImporter
public String getDocType(DocumentModel container)
AbstractFileImporter
getDocType
in class AbstractFileImporter
public static String getTypeName(DocumentModel currentDoc)
protected static UITypesConfiguration getConfiguration(DocumentModel currentDoc)
Copyright © 2018 Nuxeo. All rights reserved.