public class DefaultFileImporter extends AbstractFileImporter
Modifier and Type | Field and Description |
---|---|
static String |
TYPE_NAME |
DISABLE_AUDIT_LOGGER, SKIP_UPDATE_AUDIT_LOGGING
Constructor and Description |
---|
DefaultFileImporter() |
Modifier and Type | Method and Description |
---|---|
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.
|
compareTo, create, createDocument, getBlob, getDefaultDocType, getDocType, getFileManagerService, getFilters, getName, getOrder, isEnabled, matches, setDocType, setEnabled, setFileManagerService, setFilters, setName, setOrder, updateDocument
public static final String TYPE_NAME
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)
Copyright © 2013 Nuxeo SA. All Rights Reserved.