public class DefaultDocumentModelFactory extends AbstractDocumentModelFactory
Modifier and Type | Field and Description |
---|---|
static String |
DOCTYPE_KEY_NAME |
static String |
FACETS_KEY_NAME |
Constructor and Description |
---|
DefaultDocumentModelFactory()
Instantiate a DefaultDocumentModelFactory that creates Folder and File
|
DefaultDocumentModelFactory(String folderishType,
String leafType)
Instantiate a DefaultDocumentModelFactory that creates specified types doc
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
createFolderishNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
void |
setFolderishType(String folderishType) |
void |
setLeafType(String leafType) |
isTargetDocumentModelFolderish, processFolderishNodeCreationError, processLeafNodeCreationError
public static final String DOCTYPE_KEY_NAME
public static final String FACETS_KEY_NAME
public DefaultDocumentModelFactory()
public DocumentModel createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node) throws IOException
IOException
public DocumentModel createLeafNode(CoreSession session, DocumentModel parent, SourceNode node) throws IOException
IOException
public void setFolderishType(String folderishType)
public void setLeafType(String leafType)
Copyright © 2015 Nuxeo SA. All rights reserved.