public class AdvancedScannedFileFactory extends ScanedFileFactory implements ImporterDocumentModelFactory
AbstractDocumentModelFactory.CompatFilenameNormalizer, AbstractDocumentModelFactory.DefaultFilenameNormalizer, AbstractDocumentModelFactory.FilenameNormalizer
Modifier and Type | Field and Description |
---|---|
protected ImporterConfig |
config |
protected static String |
targetContainerType |
DOCTYPE_KEY_NAME, FACETS_KEY_NAME, folderishType, leafType
filenameNormalizer
Constructor and Description |
---|
AdvancedScannedFileFactory(ImporterConfig config) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
createFolderishNode, defaultCreateLeafNode, getTargetContainerType
getDocTypeToUse, getFacetsToUse, getMimeType, setFolderishType, setLeafType
getValidNameFromFileName, isTargetDocumentModelFolderish, processFolderishNodeCreationError, processLeafNodeCreationError, setDocumentProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createFolderishNode, isTargetDocumentModelFolderish, processFolderishNodeCreationError, processLeafNodeCreationError
protected static String targetContainerType
protected ImporterConfig config
public AdvancedScannedFileFactory(ImporterConfig config)
public DocumentModel createLeafNode(CoreSession session, DocumentModel parent, SourceNode node) throws IOException
createLeafNode
in interface ImporterDocumentModelFactory
createLeafNode
in class ScanedFileFactory
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.