public interface AnnotationsService
Modifier and Type | Method and Description |
---|---|
Annotation |
addAnnotation(Annotation annotation,
NuxeoPrincipal user,
String baseUrl)
Adds an annotation to the target URL.
|
void |
deleteAnnotation(Annotation annotation,
NuxeoPrincipal user)
Deletes an annotation.
|
void |
deleteAnnotationFor(URI uri,
Annotation annotation,
NuxeoPrincipal user) |
Annotation |
getAnnotation(String annotationId,
NuxeoPrincipal user,
String baseUrl)
Returns an Annotation according to its Id.
|
Graph |
getAnnotationGraph() |
int |
getAnnotationsCount(URI uri,
NuxeoPrincipal user)
Finds number of Annotation according to URI.
|
List<Annotation> |
queryAnnotations(URI uri,
NuxeoPrincipal user)
Finds Annotation ids according to URI.
|
Annotation |
updateAnnotation(Annotation annotation,
NuxeoPrincipal user,
String baseUrl)
Updates an annotation.
|
Graph getAnnotationGraph()
List<Annotation> queryAnnotations(URI uri, NuxeoPrincipal user)
int getAnnotationsCount(URI uri, NuxeoPrincipal user)
Annotation getAnnotation(String annotationId, NuxeoPrincipal user, String baseUrl)
Annotation addAnnotation(Annotation annotation, NuxeoPrincipal user, String baseUrl)
Annotation updateAnnotation(Annotation annotation, NuxeoPrincipal user, String baseUrl)
void deleteAnnotation(Annotation annotation, NuxeoPrincipal user)
void deleteAnnotationFor(URI uri, Annotation annotation, NuxeoPrincipal user)
Copyright © 2015 Nuxeo SA. All rights reserved.