public class MailSender extends Object
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log |
Constructor and Description |
---|
MailSender() |
Modifier and Type | Method and Description |
---|---|
protected void |
addUser(Set<String> addresses,
Experimenter exp) |
protected Set<String> |
getAllSystemUsers(boolean newTx) |
String |
getDefaultBody() |
Executor |
getExecutor() |
MailUtil |
getMailUtil() |
IQuery |
getQueryService() |
Roles |
getRoles() |
String |
getSubjectPrefix() |
protected String |
getUserEmail(String user) |
boolean |
isEnabled() |
protected void |
sendBlind(Set<String> addresses,
String subject) |
protected void |
sendBlind(Set<String> addresses,
String subject,
String body) |
void |
setDefaultBody(String defaultBody) |
void |
setEnabled(boolean enabled) |
void |
setExecutor(Executor executor) |
void |
setMailUtil(MailUtil util) |
void |
setQueryService(IQuery query) |
void |
setRoles(Roles roles) |
void |
setSubjectPrefix(String subjectPrefix) |
public boolean isEnabled()
public void setEnabled(boolean enabled)
public Executor getExecutor()
public void setExecutor(Executor executor)
public MailUtil getMailUtil()
public void setMailUtil(MailUtil util)
public IQuery getQueryService()
public void setQueryService(IQuery query)
public Roles getRoles()
public void setRoles(Roles roles)
public String getSubjectPrefix()
public void setSubjectPrefix(String subjectPrefix)
public String getDefaultBody()
public void setDefaultBody(String defaultBody)
protected void addUser(Set<String> addresses, Experimenter exp)
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.