org.chorem.pollen.services.impl
Class PollCommentService
java.lang.Object
org.chorem.pollen.services.PollenServiceSupport
org.chorem.pollen.services.impl.PollCommentService
- All Implemented Interfaces:
- PollenService
public class PollCommentService
- extends PollenServiceSupport
Manage comments on a poll.
- Since:
- 1.3
- Author:
- tchemit
| Methods inherited from class org.chorem.pollen.services.PollenServiceSupport |
commitTransaction, create, createWithProperties, decorateDate, decorateDateTime, delete, flushTransaction, generateId, getConfiguration, getDAO, getDatePattern, getDateTimePattern, getEntities, getEntities, getEntityById, getLocale, getTransaction, newInstance, newService, setServiceContext, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollCommentService
public PollCommentService()
getExistingPollComment
public Comment getExistingPollComment(String commentId)
throws PollCommentNotFound
- Throws:
PollCommentNotFound
createComment
public Comment createComment(Poll poll,
Comment comment)
deleteComment
public void deleteComment(Poll poll,
String commentId,
String reason)
throws PollCommentNotFound
- Throws:
PollCommentNotFound
getNewComment
public Comment getNewComment(PollAccount account,
String author,
String text)
getComments
public List<Comment> getComments(org.nuiton.topia.persistence.TopiaFilterPagerUtil.FilterPagerBean pager,
String pollId)
getAllComments
public List<Comment> getAllComments(String pollId)
Copyright © 2009-2012 CodeLutin. All Rights Reserved.