public class CommentService extends DefaultAdapter
Accepts the following methods:
Constructor and Description |
---|
CommentService() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
approve() |
javax.ws.rs.core.Response |
deleteComment() |
javax.ws.rs.core.Response |
doPost(String cText) |
static CommentManager |
getCommentManager() |
static CommentsModerationService |
getCommentsModerationService() |
javax.ws.rs.core.Response |
reject() |
javax.ws.rs.core.Response |
remove() |
disptachAdapter, getTarget, isAdapter
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
equals, 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 javax.ws.rs.core.Response doPost(String cText)
public javax.ws.rs.core.Response reject()
public javax.ws.rs.core.Response approve()
public javax.ws.rs.core.Response remove()
public javax.ws.rs.core.Response deleteComment() throws ClientException
ClientException
public static CommentManager getCommentManager()
public static CommentsModerationService getCommentsModerationService()
Copyright © 2015 Nuxeo SA. All rights reserved.