public class ScanedFileFactory extends DefaultDocumentModelFactory implements ImporterDocumentModelFactory
ImporterDocumentModelFactory
. Provides : - container doc type configuration from
service - leaf doc type configuration from serviceDOCTYPE_KEY_NAME, FACETS_KEY_NAME
Constructor and Description |
---|
ScanedFileFactory(ImporterConfig config) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
createFolderishNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
setFolderishType, setLeafType
isTargetDocumentModelFolderish, processFolderishNodeCreationError, processLeafNodeCreationError
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isTargetDocumentModelFolderish, processFolderishNodeCreationError, processLeafNodeCreationError
public ScanedFileFactory(ImporterConfig config)
public DocumentModel createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)
createFolderishNode
in interface ImporterDocumentModelFactory
createFolderishNode
in class DefaultDocumentModelFactory
public DocumentModel createLeafNode(CoreSession session, DocumentModel parent, SourceNode node) throws IOException
createLeafNode
in interface ImporterDocumentModelFactory
createLeafNode
in class DefaultDocumentModelFactory
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.