Class DocumentModelWriter

All Implemented Interfaces:
DocumentWriter
Direct Known Subclasses:
ExtensibleDocumentWriter

public class DocumentModelWriter extends AbstractDocumentModelWriter
A writer which is creating new docs or updating existing docs.
Author:
Bogdan Stefanescu
  • Constructor Details

    • DocumentModelWriter

      public DocumentModelWriter(CoreSession session, String parentPath)
      Parameters:
      session - the session to the repository where to write
      parentPath - where to write the tree. this document will be used as the parent of all top level documents passed as input. Note that you may have
    • DocumentModelWriter

      public DocumentModelWriter(CoreSession session, String parentPath, int saveInterval)
  • Method Details