Interface DocumentSource.Saver

All Known Subinterfaces:
DocumentSource.Creator
Enclosing interface:
DocumentSource
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface DocumentSource.Saver
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    save(Collection<Document> documents)
    Saves the documents in the given collection.
  • Method Details

    • save

      boolean save(Collection<Document> documents)
      Saves the documents in the given collection.
      Parameters:
      documents - A collection of documents that needs to be saved because one of its (editable) metadata has changed.
      Returns:
      True to indicate that all documents where saved successfully, false otherwise.