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 IOException
IOException
DocumentModel createLeafNode(CoreSession session, DocumentModel parent, SourceNode node) throws IOException
IOException
boolean processFolderishNodeCreationError(CoreSession session, DocumentModel parent, SourceNode node)
This method is called by
GenericThreadedImportTask.doCreateFolderishNode(DocumentModel parent, SourceNode node)
if an exception is
thrown by createFolderishNode(CoreSession, DocumentModel, SourceNode)
.
boolean processLeafNodeCreationError(CoreSession session, DocumentModel parent, SourceNode node)
This method is called by GenericThreadedImportTask.doCreateLeafNode(DocumentModel parent, SourceNode node)
if an exception is thrown by createLeafNode(CoreSession, DocumentModel, SourceNode)
.
Copyright © 2017 Nuxeo. All rights reserved.