|
|||||||||
| Home >> All >> com >> dghda >> kent >> [ actions overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.dghda.kent.actions
Class EmailAction

java.lang.Objectcom.dghda.module.BaseModule
com.dghda.kent.BaseKentModule
com.dghda.kent.actions.EmailAction
- All Implemented Interfaces:
- com.dghda.kent.KentModule, com.dghda.module.Module, com.dghda.kent.ReportAction
- public class EmailAction
- extends com.dghda.kent.BaseKentModule
- implements com.dghda.kent.ReportAction
- extends com.dghda.kent.BaseKentModule
| Nested Class Summary | |
private static class |
EmailAction.BufferedDataSource
|
| Nested classes inherited from class com.dghda.kent.ReportAction |
com.dghda.kent.ReportAction.ActionResult |
| Nested classes inherited from class com.dghda.module.Module |
com.dghda.module.Module.ModuleVersion |
| Field Summary | |
static java.lang.String |
FORMAT_ID
|
static java.lang.String |
RECIPIENTS
|
static java.lang.String |
REPORT_ID
|
| Fields inherited from class com.dghda.kent.BaseKentModule |
|
| Fields inherited from class com.dghda.module.BaseModule |
|
| Fields inherited from interface com.dghda.kent.KentModule |
ACTION_ID, AUTHENTICATED_USER |
| Constructor Summary | |
EmailAction(com.dghda.kent.ReportEngine engine)
|
|
| Method Summary | |
protected javax.mail.internet.MimeMessage |
constructMessage(java.lang.String title,
java.lang.String addresses)
Create an email message to the given address with the given subject. |
java.lang.String |
getConfigurationOptions(java.util.Properties config)
Return the email delivery parameters. |
com.dghda.kent.ReportAction.ActionResult |
performAction(java.lang.String template,
java.lang.String data,
java.util.Properties config)
Sends the given report to the specified email address(es). |
| Methods inherited from class com.dghda.kent.BaseKentModule |
getReportEngine |
| Methods inherited from class com.dghda.module.BaseModule |
getDescription, getID, getName, getVersion |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.dghda.module.Module |
getDescription, getID, getName, getVersion |
| Field Detail |
REPORT_ID
public static final java.lang.String REPORT_ID
- See Also:
- Constant Field Values
FORMAT_ID
public static final java.lang.String FORMAT_ID
- See Also:
- Constant Field Values
RECIPIENTS
public static final java.lang.String RECIPIENTS
- See Also:
- Constant Field Values
| Constructor Detail |
EmailAction
public EmailAction(com.dghda.kent.ReportEngine engine)
| Method Detail |
getConfigurationOptions
public java.lang.String getConfigurationOptions(java.util.Properties config)
- Return the email delivery parameters.
These include the destination(s) to send the email, and the format to send the report in.
- Specified by:
getConfigurationOptionsin interfacecom.dghda.kent.KentModule
performAction
public com.dghda.kent.ReportAction.ActionResult performAction(java.lang.String template, java.lang.String data, java.util.Properties config)
- Sends the given report to the specified email address(es).
- Specified by:
performActionin interfacecom.dghda.kent.ReportAction
constructMessage
protected javax.mail.internet.MimeMessage constructMessage(java.lang.String title, java.lang.String addresses) throws javax.mail.MessagingException
- Create an email message to the given address with the given subject.
|
|||||||||
| Home >> All >> com >> dghda >> kent >> [ actions overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC