Package org.dlese.dpc.suggest.comment
Class CommentEmailer
java.lang.Object
org.dlese.dpc.suggest.Emailer
org.dlese.dpc.suggest.comment.CommentEmailer
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 $
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionCommentEmailer(String recId, SuggestHelper helper) Constructor for the CommentEmailer object -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetMsgBody(SuggestForm form) Gets the msgBody attribute of the CommentEmailer objectprotected StringGets the msgSubject attribute of the CommentEmailer objectstatic voidThe main program for the CommentEmailer classstatic voidsetDebug(boolean db) Sets the debug attribute of the CommentEmailer objectMethods inherited from class org.dlese.dpc.suggest.Emailer
sendNotification
-
Constructor Details
-
CommentEmailer
Constructor for the CommentEmailer object- Parameters:
recId- id of comment recordhelper- SuggestCommentHelper instance
-
-
Method Details
-
getMsgSubject
Gets the msgSubject attribute of the CommentEmailer object- Specified by:
getMsgSubjectin classEmailer- Returns:
- The msgSubject value
-
getMsgBody
Gets the msgBody attribute of the CommentEmailer object- Specified by:
getMsgBodyin classEmailer- Parameters:
form- NOT YET DOCUMENTED- Returns:
- The msgBody value
-
main
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
-