|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.suggest.Emailer
public abstract class Emailer
Formats and sends an email message notifying of a suggestion.
| Field Summary | |
|---|---|
protected static boolean |
debug
NOT YET DOCUMENTED |
protected SuggestHelper |
helper
NOT YET DOCUMENTED |
protected static String |
MAIL_TYPE
NOT YET DOCUMENTED |
protected String |
recId
NOT YET DOCUMENTED |
| Constructor Summary | |
|---|---|
Emailer(String recId,
SuggestHelper helper)
Constructor for the Emailer object |
|
| Method Summary | |
|---|---|
protected abstract String |
getMsgBody(SuggestForm form)
Gets the body of the the notification email message. |
protected abstract String |
getMsgSubject()
Gets the subject line of the the notification email message. |
boolean |
sendNotification(SuggestForm form)
Construct and send email notification of a suggestion. |
static void |
setDebug(boolean db)
Sets the debug attribute of the Emailer object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static boolean debug
protected static String MAIL_TYPE
protected String recId
protected SuggestHelper helper
| Constructor Detail |
|---|
public Emailer(String recId,
SuggestHelper helper)
recId - id if the suggestion recordhelper - SuggestHelper instance| Method Detail |
|---|
protected abstract String getMsgSubject()
protected abstract String getMsgBody(SuggestForm form)
form - NOT YET DOCUMENTED
public boolean sendNotification(SuggestForm form)
form - The SuggestResourceForm which provides info about the
suggestion
public static void setDebug(boolean db)
db - The new debug value
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||