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() |
List<Annotation> |
queryAnnotations(URI uri,
Map<String,String> filters,
NuxeoPrincipal user)
Finds Annotation ids according to URI and filter.
|
Annotation |
updateAnnotation(Annotation annotation,
NuxeoPrincipal user,
String baseUrl)
Updates an annotation.
|
Graph getAnnotationGraph() throws AnnotationException
AnnotationException
List<Annotation> queryAnnotations(URI uri, Map<String,String> filters, NuxeoPrincipal user) throws AnnotationException
AnnotationException
Annotation getAnnotation(String annotationId, NuxeoPrincipal user, String baseUrl) throws AnnotationException
AnnotationException
Annotation addAnnotation(Annotation annotation, NuxeoPrincipal user, String baseUrl) throws AnnotationException
AnnotationException
Annotation updateAnnotation(Annotation annotation, NuxeoPrincipal user, String baseUrl) throws AnnotationException
AnnotationException
void deleteAnnotation(Annotation annotation, NuxeoPrincipal user) throws AnnotationException
AnnotationException
void deleteAnnotationFor(URI uri, Annotation annotation, NuxeoPrincipal user) throws AnnotationException
AnnotationException
Copyright © 2015 Nuxeo SA. All rights reserved.