public class EmailActionTools
extends java.lang.Object
构造器和说明 |
---|
EmailActionTools() |
限定符和类型 | 方法和说明 |
---|---|
static java.lang.String |
exportTemplateAsHtml(javax.servlet.http.HttpServletRequest req,
ReportSessionIDInfor sessionIDInfor) |
static java.lang.String |
exportTemplateAsHtml(ResultWorkBookProvider resultWorkBook)
开一个只依赖ResultWorkBook的接口给其他模块调用,比如定时调度
|
protected java.lang.String |
getAttachFileFormat(java.lang.String format,
ReportSessionIDInfor sessionIDInfor) |
protected java.lang.String |
getAttachFileName(javax.servlet.http.HttpServletRequest req,
ReportSessionIDInfor sessionIDInfor)
返回文件名,方便邮件附件导出时显示模版名字
|
protected void |
getPrintWriterSuccessful(javax.servlet.http.HttpServletResponse res)
发送成功,输出信息
|
protected void |
getPrintWriterWhileSendFailed(javax.servlet.http.HttpServletResponse res)
发送失败,输出信息
|
protected void |
getPrintWriterWhileUserDefined(javax.servlet.http.HttpServletResponse res)
发送失败,用户使用了自定义的角色或部门发送
|
protected void getPrintWriterWhileSendFailed(javax.servlet.http.HttpServletResponse res) throws java.io.IOException
java.io.IOException
protected void getPrintWriterSuccessful(javax.servlet.http.HttpServletResponse res) throws java.io.IOException
java.io.IOException
protected void getPrintWriterWhileUserDefined(javax.servlet.http.HttpServletResponse res) throws java.io.IOException
java.io.IOException
protected java.lang.String getAttachFileName(javax.servlet.http.HttpServletRequest req, ReportSessionIDInfor sessionIDInfor) throws java.lang.Exception
req
- 请求java.lang.Exception
- 异常protected java.lang.String getAttachFileFormat(java.lang.String format, ReportSessionIDInfor sessionIDInfor)
public static java.lang.String exportTemplateAsHtml(ResultWorkBookProvider resultWorkBook) throws java.lang.Exception
resultWorkBook
- 结果报表java.lang.Exception
public static java.lang.String exportTemplateAsHtml(javax.servlet.http.HttpServletRequest req, ReportSessionIDInfor sessionIDInfor) throws java.lang.Exception
java.lang.Exception