Class DocumentModelUpdater

All Implemented Interfaces:
DocumentWriter

public class DocumentModelUpdater extends AbstractDocumentModelWriter
A writer that only updates existing documents. The doc ID is used to identity documents. The imported tree structure is ignored.
Author:
Bogdan Stefanescu
  • Constructor Details

    • DocumentModelUpdater

      public DocumentModelUpdater(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
    • DocumentModelUpdater

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