cmu.survey.editor.manipulators.email
Class EmailSender
java.lang.Object
cmu.survey.editor.manipulators.email.EmailSender
public class EmailSender
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREFS_SUBSET_NAME
protected static final java.lang.String PREFS_SUBSET_NAME
- See Also:
- Constant Field Values
DEFAULT_SELECTION_PREF
protected static final java.lang.String DEFAULT_SELECTION_PREF
- See Also:
- Constant Field Values
EmailSender
public EmailSender(TableStorage tableStorage,
Preferences emailSenderPreferences)
EmailSender
public EmailSender()
getOutputLog
public java.lang.String getOutputLog()
getTotalNumErrors
public int getTotalNumErrors()
- Returns:
getNameDefaultSelection
public int getNameDefaultSelection()
setNameDefaultSelection
public void setNameDefaultSelection(int selection)
getEmailConfirmationHandler
public EmailConfirmationHandler getEmailConfirmationHandler()
setEmailConfirmationHandler
public void setEmailConfirmationHandler(EmailConfirmationHandler handler)
getDataTableFor
public DataTableModel getDataTableFor(BulkEmail bulkEmail)
addToLog
protected void addToLog(java.lang.String data)
addToLog
protected void addToLog(DataTableModel dataTable,
int idColumnID,
int row,
java.lang.String email,
java.lang.String data)
sendEmails
public void sendEmails(ProgressListener progress,
BulkEmail bulkEmail)
- Parameters:
progress
-
createSentColumnIfDoesntExist
public boolean createSentColumnIfDoesntExist(BulkEmail bulkEmail)
- Returns whether it's good afterwards
- Parameters:
bulkEmail
-
- Returns: