Class CommentAdapter
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.CommentAdapter
- All Implemented Interfaces:
AdapterResource
,Resource
,Adaptable
- Since:
- 10.3
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
createComment
(Comment comment) javax.ws.rs.core.Response
deleteComment
(String commentId) javax.ws.rs.core.Response
deleteExternalComment
(String entityId) getComment
(String commentId) getComments
(Long pageSize, Long currentPageIndex) getExternalComment
(String entityId) javax.ws.rs.core.Response
updateComment
(String commentId, Comment comment) updateExternalComment
(String entityId, Comment comment) 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
-
CommentAdapter
public CommentAdapter()
-
-
Method Details
-
createComment
-
getComments
-
getComment
-
getExternalComment
-
updateComment
-
updateExternalComment
-
deleteComment
-
deleteExternalComment
-