Class FileManagerDocumentModelFactory
- java.lang.Object
-
- org.nuxeo.ecm.platform.importer.factories.AbstractDocumentModelFactory
-
- org.nuxeo.ecm.platform.importer.factories.FileManagerDocumentModelFactory
-
- All Implemented Interfaces:
ImporterDocumentModelFactory
public class FileManagerDocumentModelFactory extends AbstractDocumentModelFactory
DocumentModel factory based on theFileManager
. Use theFileManager
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 Modifier and Type Field Description protected FileManager
fileManager
-
Fields inherited from class org.nuxeo.ecm.platform.importer.factories.AbstractDocumentModelFactory
filenameNormalizer
-
-
Constructor Summary
Constructors Constructor Description FileManagerDocumentModelFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModel
createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
protected FileManager
getFileManager()
-
Methods inherited from class org.nuxeo.ecm.platform.importer.factories.AbstractDocumentModelFactory
getValidNameFromFileName, isTargetDocumentModelFolderish, processFolderishNodeCreationError, processLeafNodeCreationError, setDocumentProperties
-
-
-
-
Field Detail
-
fileManager
protected FileManager fileManager
-
-
Method Detail
-
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
protected FileManager getFileManager()
-
-