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, updateDocumentIfPossiblepublic static final String MIMETYPE_ZIP
public ThreeDImporter()
public DocumentModel createOrUpdate(FileImporterContext context) throws IOException
FileImportercontext.createOrUpdate in interface FileImportercreateOrUpdate in class AbstractFileImporterIOExceptionFileImporterContextprotected String getModelFilename(Blob zipContent) throws IOException
IOExceptionpublic String getDefaultDocType()
AbstractFileImporter
To implement when the default AbstractFileImporter.createOrUpdate(FileImporterContext) method is used.
getDefaultDocType in class AbstractFileImporterpublic boolean isOverwriteByTitle()
AbstractFileImporter
To implement when the default AbstractFileImporter.createOrUpdate(FileImporterContext) method is used.
isOverwriteByTitle in class AbstractFileImporterCopyright © 2019 Nuxeo. All rights reserved.