public class AnnotationAdapter extends DefaultAdapter
Constructor and Description |
---|
AnnotationAdapter() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createAnnotation(Annotation annotation) |
javax.ws.rs.core.Response |
deleteAnnotation(String annotationId) |
javax.ws.rs.core.Response |
deleteExternalAnnotation(String entityId) |
protected List<Comment> |
getAllComments(String annotationId,
CommentManager commentManager,
CoreSession session) |
Annotation |
getAnnotation(String annotationId) |
List<Annotation> |
getAnnotations(String xpath) |
List<Comment> |
getComments(List<String> annotationIds) |
Annotation |
getExternalAnnotation(String entityId) |
Annotation |
updateAnnotation(String annotationId,
Annotation annotation) |
Annotation |
updateExternalAnnotation(String entityId,
Annotation annotation) |
disptachAdapter, getTarget, isAdapter
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot
getAdapter
public static final String NAME
public AnnotationAdapter()
public javax.ws.rs.core.Response createAnnotation(Annotation annotation)
public List<Annotation> getAnnotations(String xpath)
public List<Comment> getComments(List<String> annotationIds)
protected List<Comment> getAllComments(String annotationId, CommentManager commentManager, CoreSession session)
public Annotation getAnnotation(String annotationId)
public Annotation getExternalAnnotation(String entityId)
public Annotation updateAnnotation(String annotationId, Annotation annotation)
public Annotation updateExternalAnnotation(String entityId, Annotation annotation)
public javax.ws.rs.core.Response deleteAnnotation(String annotationId)
public javax.ws.rs.core.Response deleteExternalAnnotation(String entityId)
Copyright © 2019 Nuxeo. All rights reserved.