public class ReportWebUtils
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static java.util.Map<java.lang.String,java.lang.Object> |
context4CommonPaneTpl(javax.servlet.http.HttpServletRequest req,
ReportSession sessionIDInfor)
返回处理CommonPane模板文件所需要的parameters
|
static java.util.Map<java.lang.String,java.lang.Object> |
context4EditTpl(javax.servlet.http.HttpServletRequest req,
ReportSessionIDInfor sessionIDInfor)
返回处理edit模板文件所需要的parameters
|
static java.util.Map<java.lang.String,java.lang.Object> |
context4PageTpl(javax.servlet.http.HttpServletRequest req,
ReportSession sessionIDInfor)
返回处理page.html这个模板文件所需要的parameters
|
static java.util.Map<java.lang.String,java.lang.Object> |
context4PolicyPaneTpl(javax.servlet.http.HttpServletRequest req,
ReportSession sessionIDInfor,
Actor policy)
返回处理PolicyPane模板文件所需要的parameters
|
static java.util.Map<java.lang.String,java.lang.Object> |
context4PolicyPaneTpl(javax.servlet.http.HttpServletRequest req,
ReportSession sessionIDInfor,
Actor policy,
java.util.Map<java.lang.String,java.lang.Object> anoMap)
返回处理PolicyPane模板文件所需要的parameters
|
static java.util.Map |
dealWithReportParameters(TemplateWorkBook tpl,
java.util.Map map4Execute)
处理模板参数
|
static FileNode[] |
filterAndSortFile(FileNode[] fn,
java.lang.String fileType)
过滤并排序文件
|
static JSONArray |
getAllReportletsOfCurrentEnv(java.lang.String directory,
IdGenerator idGenerator,
java.lang.String fileType)
返回指定目录下所有的报表模板
|
static java.lang.String |
getPagePath() |
static JSONArray |
getReportletsOfCurrentEnv(FileNode[] fns,
IdGenerator idGenerator,
java.lang.String fileType) |
static JSONArray |
getReportletsOfCurrentEnv(java.lang.String directory,
IdGenerator idGenerator,
java.lang.String fileType)
返回指定目录下所有的报表模板
|
static boolean |
isShowParameterPanel(Repository repo)
是否需要显示报表参数界面
|
static java.util.Map<java.lang.String,java.lang.Object> |
policyMap4Tpl(Repository repo,
Actor policy,
Calculator c,
javax.servlet.http.HttpServletRequest req)
关于面板属性(FRPane)以及工具栏(ToolBar)属性的map
|
public static java.util.Map<java.lang.String,java.lang.Object> context4PageTpl(javax.servlet.http.HttpServletRequest req, ReportSession sessionIDInfor)
req
- http请求sessionIDInfor
- 会话信息public static java.util.Map<java.lang.String,java.lang.Object> context4EditTpl(javax.servlet.http.HttpServletRequest req, ReportSessionIDInfor sessionIDInfor)
req
- http请求sessionIDInfor
- 会话信息public static java.util.Map<java.lang.String,java.lang.Object> context4CommonPaneTpl(javax.servlet.http.HttpServletRequest req, ReportSession sessionIDInfor)
req
- http请求sessionIDInfor
- 会话信息public static java.util.Map<java.lang.String,java.lang.Object> context4PolicyPaneTpl(javax.servlet.http.HttpServletRequest req, ReportSession sessionIDInfor, Actor policy)
req
- http请求sessionIDInfor
- 会话信息policy
- 类型public static java.util.Map<java.lang.String,java.lang.Object> context4PolicyPaneTpl(javax.servlet.http.HttpServletRequest req, ReportSession sessionIDInfor, Actor policy, java.util.Map<java.lang.String,java.lang.Object> anoMap)
req
- http请求sessionIDInfor
- 会话信息policy
- 类型anoMap
- 已有参数集合public static java.lang.String getPagePath()
public static java.util.Map<java.lang.String,java.lang.Object> policyMap4Tpl(Repository repo, Actor policy, Calculator c, javax.servlet.http.HttpServletRequest req)
repo
- 信息policy
- 类型c
- 算子req
- 请求public static java.util.Map dealWithReportParameters(TemplateWorkBook tpl, java.util.Map map4Execute)
tpl
- 模板map4Execute
- 参数集合public static boolean isShowParameterPanel(Repository repo)
repo
- 会话环境public static FileNode[] filterAndSortFile(FileNode[] fn, java.lang.String fileType)
fn
- 文件节点fileType
- 文件类型public static JSONArray getAllReportletsOfCurrentEnv(java.lang.String directory, IdGenerator idGenerator, java.lang.String fileType)
directory
- 路径idGenerator
- ID生成器fileType
- 类型public static JSONArray getReportletsOfCurrentEnv(java.lang.String directory, IdGenerator idGenerator, java.lang.String fileType)
directory
- 路径idGenerator
- ID生成器fileType
- 类型public static JSONArray getReportletsOfCurrentEnv(FileNode[] fns, IdGenerator idGenerator, java.lang.String fileType)