Class CommentEmailer

java.lang.Object
org.dlese.dpc.suggest.Emailer
org.dlese.dpc.suggest.comment.CommentEmailer

public class CommentEmailer extends Emailer
Formats and sends email notifying of a newly suggested resource
Author:
ostwald $Id: CommentEmailer.java,v 1.2 2007/10/23 15:46:23 ostwald Exp $
  • Constructor Details

    • CommentEmailer

      public CommentEmailer(String recId, SuggestHelper helper)
      Constructor for the CommentEmailer object
      Parameters:
      recId - id of comment record
      helper - SuggestCommentHelper instance
  • Method Details

    • getMsgSubject

      protected String getMsgSubject()
      Gets the msgSubject attribute of the CommentEmailer object
      Specified by:
      getMsgSubject in class Emailer
      Returns:
      The msgSubject value
    • getMsgBody

      protected String getMsgBody(SuggestForm form)
      Gets the msgBody attribute of the CommentEmailer object
      Specified by:
      getMsgBody in class Emailer
      Parameters:
      form - NOT YET DOCUMENTED
      Returns:
      The msgBody value
    • main

      public static void main(String[] args)
      The main program for the CommentEmailer class
      Parameters:
      args - The command line arguments
    • setDebug

      public static void setDebug(boolean db)
      Sets the debug attribute of the CommentEmailer object
      Parameters:
      db - The new debug value