edu.mssm.crover.webapps.dimlib.util
Class MailAlert

java.lang.Object
  |
  +--edu.mssm.crover.webapps.dimlib.util.MailAlert

public class MailAlert
extends java.lang.Object

Used to send e-mail alerts to users of the Arcadia database.


Constructor Summary
MailAlert(cuttingedge.lw.ServletSession session)
           
 
Method Summary
 java.lang.String getAlnInfo(DiMLibServletSession dlsession)
          Creates the body of the mail message.
 java.lang.String getMutantInfo(DiMLibServletSession dlsession)
          Creates the body of the mail message.
 java.lang.String getSNPInfo(DiMLibServletSession dlsession)
          Creates the body of the mail message.
 java.lang.String getWTPInfo(DiMLibServletSession dlsession)
          Creates the body of the mail message.
 void sendMail(SubmitterInfo recipient, java.lang.String subject, java.lang.String message)
          Sends an email to the user defined by a user record.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailAlert

public MailAlert(cuttingedge.lw.ServletSession session)
Method Detail

sendMail

public void sendMail(SubmitterInfo recipient,
                     java.lang.String subject,
                     java.lang.String message)
Sends an email to the user defined by a user record. The message is addressed to the email address of the user defined by the record. Problems are logged.


getWTPInfo

public java.lang.String getWTPInfo(DiMLibServletSession dlsession)
Creates the body of the mail message. Used when submitting new WildTypeProteins.


getMutantInfo

public java.lang.String getMutantInfo(DiMLibServletSession dlsession)
Creates the body of the mail message. Used when submitting new MutantProteins.


getAlnInfo

public java.lang.String getAlnInfo(DiMLibServletSession dlsession)
Creates the body of the mail message. Used when submitting new Alignments.


getSNPInfo

public java.lang.String getSNPInfo(DiMLibServletSession dlsession)
Creates the body of the mail message. Used when submitting new SNPs.



Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.