Class SolrAnnotationSaver

java.lang.Object
io.goobi.viewer.model.annotation.serialization.SolrAnnotationSaver
All Implemented Interfaces:
AnnotationSaver

public class SolrAnnotationSaver extends Object implements AnnotationSaver
Author:
florian
  • Constructor Details

    • SolrAnnotationSaver

      public SolrAnnotationSaver()
  • Method Details

    • save

      public void save(PersistentAnnotation... annotations) throws IOException
      Description copied from interface: AnnotationSaver
      Save the annotation. Overwrites an existing annotation if it has the same id
      Specified by:
      save in interface AnnotationSaver
      Parameters:
      annotations - The annotation to save
      Throws:
      IOException - If saving the annotation fails
    • reindexTarget

      protected void reindexTarget(io.goobi.viewer.model.annotation.serialization.SolrAnnotationSaver.Target target)