@Role
public interface AnnotationMaintainer
Modifier and Type | Method and Description |
---|---|
void |
updateAnnotations(String target,
String previousContent,
String currentContent)
Updates all the annotations found on the passed target.
|
void updateAnnotations(String target, String previousContent, String currentContent) throws MaintainerServiceException
target
- is serialized reference to the content concerned by the annotationpreviousContent
- the previous content of the document (before the update)currentContent
- the current content of the document (after the update)MaintainerServiceException
- in case something goes wrong handling the annotation updates on the passed
contentCopyright © 2004–2022 XWiki. All rights reserved.