Class FileManagerDocumentModelFactory
java.lang.Object
org.nuxeo.ecm.platform.importer.factories.AbstractDocumentModelFactory
org.nuxeo.ecm.platform.importer.factories.FileManagerDocumentModelFactory
- All Implemented Interfaces:
ImporterDocumentModelFactory
DocumentModel factory based on the
FileManager
. Use the FileManager
to create Folderish and Leaf
Nodes.- Author:
- Thomas Roger
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nuxeo.ecm.platform.importer.factories.AbstractDocumentModelFactory
AbstractDocumentModelFactory.CompatFilenameNormalizer, AbstractDocumentModelFactory.DefaultFilenameNormalizer, AbstractDocumentModelFactory.FilenameNormalizer
-
Field Summary
Fields inherited from class org.nuxeo.ecm.platform.importer.factories.AbstractDocumentModelFactory
filenameNormalizer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateFolderishNode
(CoreSession session, DocumentModel parent, SourceNode node) createLeafNode
(CoreSession session, DocumentModel parent, SourceNode node) protected FileManager
Methods inherited from class org.nuxeo.ecm.platform.importer.factories.AbstractDocumentModelFactory
getValidNameFromFileName, isTargetDocumentModelFolderish, processFolderishNodeCreationError, processLeafNodeCreationError, setDocumentProperties
-
Field Details
-
fileManager
-
-
Constructor Details
-
FileManagerDocumentModelFactory
public FileManagerDocumentModelFactory()
-
-
Method Details
-
createFolderishNode
public DocumentModel createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node) throws IOException - Throws:
IOException
-
createLeafNode
public DocumentModel createLeafNode(CoreSession session, DocumentModel parent, SourceNode node) throws IOException - Throws:
IOException
-
getFileManager
-