Class SolrAnnotationSaver
java.lang.Object
io.goobi.viewer.model.annotation.serialization.SolrAnnotationSaver
- All Implemented Interfaces:
AnnotationSaver
- Author:
- florian
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
reindexTarget
(io.goobi.viewer.model.annotation.serialization.SolrAnnotationSaver.Target target) void
save
(PersistentAnnotation... annotations) Save the annotation.
-
Constructor Details
-
SolrAnnotationSaver
public SolrAnnotationSaver()
-
-
Method Details
-
save
Description copied from interface:AnnotationSaver
Save the annotation. Overwrites an existing annotation if it has the same id- Specified by:
save
in interfaceAnnotationSaver
- 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)
-