public class EmailService extends PollenServiceSupport
Modifier and Type | Class and Description |
---|---|
static class |
EmailService.PollenEmail |
serviceContext
Constructor and Description |
---|
EmailService() |
Modifier and Type | Method and Description |
---|---|
static EmailService.PollenEmail |
createPollenEmail(String to,
String subject,
String content) |
void |
onLostPassword(UserAccount user,
String newPassword) |
void |
onPollCreated(Poll poll) |
void |
onPollReminder(Poll poll) |
void |
onRestrictedPersonAdded(Poll poll,
PollAccount account) |
void |
onUserCreated(UserAccount user) |
void |
onVoteAdded(Poll poll) |
protected void |
sendEmail(EmailService.PollenEmail pollenEmail) |
protected void |
sendEmail(Iterable<EmailService.PollenEmail> pollEmails) |
commitTransaction, create, createWithProperties, decorateDate, decorateDateTime, delete, flushTransaction, getConfiguration, getDAO, getDatePattern, getDateTimePattern, getEntities, getEntities, getEntityById, getLocale, getTransaction, newInstance, newService, setServiceContext, update
public void onUserCreated(UserAccount user)
public void onLostPassword(UserAccount user, String newPassword)
public void onVoteAdded(Poll poll)
public void onPollCreated(Poll poll)
public void onRestrictedPersonAdded(Poll poll, PollAccount account)
public void onPollReminder(Poll poll)
protected void sendEmail(Iterable<EmailService.PollenEmail> pollEmails)
protected void sendEmail(EmailService.PollenEmail pollenEmail)
public static EmailService.PollenEmail createPollenEmail(String to, String subject, String content)
Copyright © 2009–2014 CodeLutin. All rights reserved.