public class PollFeedService extends PollenServiceSupport
serviceContext| Constructor and Description |
|---|
PollFeedService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFeedEntry(Poll poll,
String title,
String content)
Ajout d'une entrée dans un flux.
|
void |
deleteFeed(Poll poll)
Delete the poll feed file.
|
String |
getFeed(Poll poll)
Obtain the feed file of the given poll.
|
File |
getFeedLocation(Poll poll)
Obtain the feed file of the given poll.
|
boolean |
isFeedExists(Poll poll) |
void |
onChoiceAdded(Poll poll,
Choice choice) |
void |
onCommentAdded(Poll poll,
Comment comment) |
void |
onCommentDeleted(Poll poll,
Comment comment,
String reason) |
void |
onPollCreated(Poll poll) |
void |
onVoteAdded(Poll poll,
Vote vote) |
void |
onVoteDeleted(Poll poll,
Vote vote,
PollAccount voteAccount,
String reason) |
void |
onVoteUpdated(Poll poll,
Vote vote) |
commitTransaction, create, createWithProperties, decorateDate, decorateDateTime, delete, flushTransaction, getConfiguration, getDAO, getDatePattern, getDateTimePattern, getEntities, getEntities, getEntityById, getLocale, getTransaction, newInstance, newService, setServiceContext, updatepublic boolean isFeedExists(Poll poll)
public File getFeedLocation(Poll poll)
poll - pollpublic String getFeed(Poll poll)
poll - pollpublic void onPollCreated(Poll poll)
public void onVoteDeleted(Poll poll, Vote vote, PollAccount voteAccount, String reason)
public void deleteFeed(Poll poll)
poll - pollCopyright © 2009-2012 CodeLutin. All Rights Reserved.