Class AnnotationAdapter
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultAdapter
org.nuxeo.ecm.restapi.server.jaxrs.comment.AnnotationAdapter
- All Implemented Interfaces:
AdapterResource
,Resource
,Adaptable
- Since:
- 10.1
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
createAnnotation
(Annotation annotation) javax.ws.rs.core.Response
deleteAnnotation
(String annotationId) javax.ws.rs.core.Response
deleteExternalAnnotation
(String entityId) getAnnotation
(String annotationId) getAnnotations
(String xpath) getComments
(List<String> annotationIds) Deprecated.getCommentsFromBody
(String payload) getExternalAnnotation
(String entityId) updateAnnotation
(String annotationId, Annotation annotation) updateExternalAnnotation
(String entityId, Annotation annotation) Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultAdapter
disptachAdapter, getTarget, isAdapter
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.model.Adaptable
getAdapter
Methods inherited from interface org.nuxeo.ecm.webengine.model.Resource
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
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
AnnotationAdapter
public AnnotationAdapter()
-
-
Method Details
-
createAnnotation
-
getAnnotations
-
getComments
Deprecated.since 11.3, usegetCommentsFromBody(String)
instead -
getCommentsFromBody
-
getAnnotation
-
getExternalAnnotation
-
updateAnnotation
-
updateExternalAnnotation
-
deleteAnnotation
-
deleteExternalAnnotation
-
getCommentsFromBody(String)
instead