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, 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 Response reject()
public Response approve()
public Response remove()
public static CommentManager getCommentManager() throws Exception
Exception
public static CommentsModerationService getCommentsModerationService() throws Exception
Exception
Copyright © 2013 Nuxeo SA. All Rights Reserved.