org.chorem.pollen.services.impl
Class EmailService
java.lang.Object
org.chorem.pollen.services.PollenServiceSupport
org.chorem.pollen.services.impl.EmailService
- All Implemented Interfaces:
- PollenService
public class EmailService
- extends PollenServiceSupport
|
Method Summary |
static EmailService.PollenEmail |
createPollenEmail(String to,
String subject,
String content)
|
void |
onLostPassword(UserAccount user,
String newPassword)
|
void |
onPollCreated(Poll poll,
PollUrl voteURL,
PollUrl moderateUrl,
PollUrl modifURL)
|
void |
onPollReminder(Poll poll,
PollUrl voteURL)
|
void |
onRestrictedPersonAdded(Poll poll,
PollAccount account,
PollUrl voteURL)
|
void |
onUserCreated(UserAccount user)
|
void |
onVoteAdded(Poll poll,
PollUrl voteURL,
PollUrl modifURL)
|
protected void |
sendEmail(EmailService.PollenEmail pollenEmail)
|
protected void |
sendEmail(Iterable<EmailService.PollenEmail> pollEmails)
|
| Methods inherited from class org.chorem.pollen.services.PollenServiceSupport |
commitTransaction, create, decorateDate, decorateDateTime, delete, flushTransaction, 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 |
EmailService
public EmailService()
onUserCreated
public void onUserCreated(UserAccount user)
onLostPassword
public void onLostPassword(UserAccount user,
String newPassword)
onVoteAdded
public void onVoteAdded(Poll poll,
PollUrl voteURL,
PollUrl modifURL)
onPollCreated
public void onPollCreated(Poll poll,
PollUrl voteURL,
PollUrl moderateUrl,
PollUrl modifURL)
onRestrictedPersonAdded
public void onRestrictedPersonAdded(Poll poll,
PollAccount account,
PollUrl voteURL)
onPollReminder
public void onPollReminder(Poll poll,
PollUrl voteURL)
sendEmail
protected void sendEmail(Iterable<EmailService.PollenEmail> pollEmails)
sendEmail
protected void sendEmail(EmailService.PollenEmail pollenEmail)
createPollenEmail
public static EmailService.PollenEmail createPollenEmail(String to,
String subject,
String content)
Copyright © 2009-2012 CodeLutin. All Rights Reserved.