Interface AnnotationSaver

All Known Implementing Classes:
SolrAndSqlAnnotationSaver, SolrAnnotationSaver, SqlAnnotationSaver

public interface AnnotationSaver
Save WebAnnotations to a persistence contex
Author:
florian
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    save(PersistentAnnotation... annotations)
    Save the annotation.
  • Method Details

    • save

      void save(PersistentAnnotation... annotations) throws IOException
      Save the annotation. Overwrites an existing annotation if it has the same id
      Parameters:
      annotations - The annotation to save
      Throws:
      IOException - If saving the annotation fails