public class PollCommentService extends PollenServiceSupport
serviceContext| Constructor and Description |
|---|
PollCommentService() |
| Modifier and Type | Method and Description |
|---|---|
Comment |
createComment(Poll poll,
Comment comment) |
void |
deleteComment(Poll poll,
String commentId,
String reason) |
List<Comment> |
getAllComments(String pollId) |
List<Comment> |
getComments(org.nuiton.topia.persistence.pager.TopiaPagerBean pager,
String pollId) |
Comment |
getExistingPollComment(String commentId) |
Comment |
getNewComment(PollAccount account,
String author,
String text) |
commitTransaction, create, createWithProperties, decorateDate, decorateDateTime, delete, flushTransaction, getConfiguration, getDAO, getDatePattern, getDateTimePattern, getEntities, getEntities, getEntityById, getLocale, getTransaction, newInstance, newService, setServiceContext, updatepublic Comment getExistingPollComment(String commentId) throws PollCommentNotFound
PollCommentNotFoundpublic void deleteComment(Poll poll, String commentId, String reason) throws PollCommentNotFound
PollCommentNotFoundpublic Comment getNewComment(PollAccount account, String author, String text)
public List<Comment> getComments(org.nuiton.topia.persistence.pager.TopiaPagerBean pager, String pollId)
Copyright © 2009-2013 CodeLutin. All Rights Reserved.