public class MailSender
extends java.lang.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(java.util.Set<java.lang.String> addresses,
Experimenter exp) |
protected java.util.Set<java.lang.String> |
getAllSystemUsers(boolean newTx) |
java.lang.String |
getDefaultBody() |
Executor |
getExecutor() |
MailUtil |
getMailUtil() |
IQuery |
getQueryService() |
Roles |
getRoles() |
java.lang.String |
getSubjectPrefix() |
protected java.lang.String |
getUserEmail(java.lang.String user) |
boolean |
isEnabled() |
protected void |
sendBlind(java.util.Set<java.lang.String> addresses,
java.lang.String subject) |
protected void |
sendBlind(java.util.Set<java.lang.String> addresses,
java.lang.String subject,
java.lang.String body) |
void |
setDefaultBody(java.lang.String defaultBody) |
void |
setEnabled(boolean enabled) |
void |
setExecutor(Executor executor) |
void |
setMailUtil(MailUtil util) |
void |
setQueryService(IQuery query) |
void |
setRoles(Roles roles) |
void |
setSubjectPrefix(java.lang.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 java.lang.String getSubjectPrefix()
public void setSubjectPrefix(java.lang.String subjectPrefix)
public java.lang.String getDefaultBody()
public void setDefaultBody(java.lang.String defaultBody)
protected void sendBlind(java.util.Set<java.lang.String> addresses, java.lang.String subject)
protected void sendBlind(java.util.Set<java.lang.String> addresses, java.lang.String subject, java.lang.String body)
protected java.lang.String getUserEmail(java.lang.String user)
protected void addUser(java.util.Set<java.lang.String> addresses, Experimenter exp)
protected java.util.Set<java.lang.String> getAllSystemUsers(boolean newTx)
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.