public class FileManagerDocumentModelFactory extends AbstractDocumentModelFactory
FileManager
. Use the FileManager
to create Folderish and Leaf
Nodes.AbstractDocumentModelFactory.CompatFilenameNormalizer, AbstractDocumentModelFactory.DefaultFilenameNormalizer, AbstractDocumentModelFactory.FilenameNormalizer
Modifier and Type | Field and Description |
---|---|
protected FileManager |
fileManager |
filenameNormalizer
Constructor and Description |
---|
FileManagerDocumentModelFactory() |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
createFolderishNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
protected FileManager |
getFileManager() |
getValidNameFromFileName, isTargetDocumentModelFolderish, processFolderishNodeCreationError, processLeafNodeCreationError, setDocumentProperties
protected FileManager fileManager
public FileManagerDocumentModelFactory()
public DocumentModel createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node) throws IOException
IOException
public DocumentModel createLeafNode(CoreSession session, DocumentModel parent, SourceNode node) throws IOException
IOException
protected FileManager getFileManager()
Copyright © 2016 Nuxeo SA. All rights reserved.