public class ThreeDImporter extends AbstractFileImporter
Modifier and Type | Field and Description |
---|---|
static String |
MIMETYPE_ZIP |
DISABLE_AUDIT_LOGGER, docType, enabled, fileManagerService, filters, name, order, patterns, SKIP_UPDATE_AUDIT_LOGGING
Constructor and Description |
---|
ThreeDImporter() |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
createOrUpdate(FileImporterContext context)
Returns a created or updated document based on the given
context . |
String |
getDefaultDocType()
Default document type to use when the plugin XML configuration does not specify one.
|
protected String |
getModelFilename(Blob zipContent) |
boolean |
isOverwriteByTitle()
Whether document overwrite is detected by checking title or filename.
|
checkIn, checkInAfterAdd, compareTo, create, createDocument, doSecurityCheck, doSecurityCheck, getBlob, getDocType, getDocType, getFileManagerService, getFilters, getName, getNearestContainerPath, getOrder, isEnabled, isOneToMany, matches, setDocType, setEnabled, setFileManagerService, setFilters, setName, setOrder, skipCheckInForBlob, updateDocument, updateDocumentIfPossible
public static final String MIMETYPE_ZIP
public ThreeDImporter()
public DocumentModel createOrUpdate(FileImporterContext context) throws IOException
FileImporter
context
.createOrUpdate
in interface FileImporter
createOrUpdate
in class AbstractFileImporter
IOException
FileImporterContext
protected String getModelFilename(Blob zipContent) throws IOException
IOException
public String getDefaultDocType()
AbstractFileImporter
To implement when the default AbstractFileImporter.createOrUpdate(FileImporterContext)
method is used.
getDefaultDocType
in class AbstractFileImporter
public boolean isOverwriteByTitle()
AbstractFileImporter
To implement when the default AbstractFileImporter.createOrUpdate(FileImporterContext)
method is used.
isOverwriteByTitle
in class AbstractFileImporter
Copyright © 2019 Nuxeo. All rights reserved.