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