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) |
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, update
public Comment getExistingPollComment(String commentId) throws PollCommentNotFound
PollCommentNotFound
public void deleteComment(Poll poll, String commentId, String reason) throws PollCommentNotFound
PollCommentNotFound
public Comment getNewComment(PollAccount account, String author, String text)
Copyright © 2009–2014 CodeLutin. All rights reserved.