Class ResourceEmailer

java.lang.Object
org.dlese.dpc.suggest.Emailer
org.dlese.dpc.suggest.resource.ResourceEmailer

public class ResourceEmailer extends Emailer
Formats and sends email notifying of a newly suggested resource
Author:
ostwald
  • Constructor Details

    • ResourceEmailer

      public ResourceEmailer(String recId, SuggestHelper helper)
      Constructor for the ResourceEmailer object
      Parameters:
      recId - id of suggested record
      helper - SuggestResourceHelper instance
  • Method Details

    • getMsgSubject

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

      protected String getMsgBody(SuggestForm form)
      Gets the msgBody attribute of the ResourceEmailer 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 ResourceEmailer class
      Parameters:
      args - The command line arguments
    • setDebug

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