Interface Document.WriteContext

All Known Implementing Classes:
BaseDocument.BlobWriteContext
Enclosing interface:
Document

public static interface Document.WriteContext
Context passed to write operations to optionally record things to do at flush(org.nuxeo.ecm.core.model.Document) time.
Since:
7.3
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Flushes recorded write operations.
    Gets the recorded changed xpaths.
  • Method Details

    • getChanges

      Set<String> getChanges()
      Gets the recorded changed xpaths.
    • flush

      void flush(Document doc)
      Flushes recorded write operations.
      Parameters:
      doc - the base document being written