public class CommentService extends DefaultAdapter
Accepts the following methods:
| Constructor and Description |
|---|
CommentService() |
| Modifier and Type | Method and Description |
|---|---|
Response |
approve() |
Response |
deleteComment() |
Response |
doPost(String cText) |
static CommentManager |
getCommentManager() |
static CommentsModerationService |
getCommentsModerationService() |
Response |
reject() |
Response |
remove() |
disptachAdapter, getTarget, isAdaptercheckGuard, 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, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckGuard, 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, setRootgetAdapterpublic Response reject()
public Response approve()
public Response remove()
public static CommentManager getCommentManager() throws Exception
Exceptionpublic static CommentsModerationService getCommentsModerationService() throws Exception
ExceptionCopyright © 2012 Nuxeo SA. All Rights Reserved.