public interface ImporterDocumentModelFactory
Modifier and Type | Method and Description |
---|---|
DocumentModel |
createFolderishNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
boolean |
isTargetDocumentModelFolderish(SourceNode node) |
boolean |
processFolderishNodeCreationError(CoreSession session,
DocumentModel parent,
SourceNode node)
Defines the process to execute when a folderish node creation error
occurs.
|
boolean |
processLeafNodeCreationError(CoreSession session,
DocumentModel parent,
SourceNode node)
Defines the process to execute when a leaf node creation error occurs.
|
boolean isTargetDocumentModelFolderish(SourceNode node)
DocumentModel createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node) throws Exception
Exception
DocumentModel createLeafNode(CoreSession session, DocumentModel parent, SourceNode node) throws Exception
Exception
boolean processFolderishNodeCreationError(CoreSession session, DocumentModel parent, SourceNode node) throws Exception
This method is called by
GenericThreadedImportTask.doCreateFolderishNode(DocumentModel parent, SourceNode node)
if an exception is thrown by
createFolderishNode(CoreSession, DocumentModel, SourceNode)
.
Exception
boolean processLeafNodeCreationError(CoreSession session, DocumentModel parent, SourceNode node) throws Exception
This method is called by
GenericThreadedImportTask.doCreateLeafNode(DocumentModel parent, SourceNode node)
if an exception is thrown by
createLeafNode(CoreSession, DocumentModel, SourceNode)
.
Exception
Copyright © 2013 Nuxeo SA. All Rights Reserved.