public class ExtDefaultAction
extends com.fastchar.core.FastAction
| 构造器和说明 |
|---|
ExtDefaultAction() |
| 限定符和类型 | 方法和说明 |
|---|---|
private String |
appendFileTime(String source,
File file) |
private String |
buildCssContent(List<FastMenuInfo> menus) |
void |
countReport()
统计待处理的问题
|
void |
deleteAttach()
删除附件
参数:
path 文件路径 {String}
|
void |
doc_check()
检查文档是否已刷新
|
void |
doc()
查看RESTful API接口文档
|
void |
down()
下载或查看文件
参数:
path 文件路径 {String}
|
void |
downSystemConfig()
下载系统配置文件
|
private void |
filterMenuColumn(List<FastMenuInfo> menus,
String checked) |
private void |
filterMenusByPower(List<FastMenuInfo> menus,
String checked) |
private void |
filterPowerMenus(List<FastMenuInfo> menus) |
private void |
filterPowerMenus(List<FastMenuInfo> menus,
String menuPower) |
protected String |
getRoute() |
void |
icon(String path,
String color)
获取系统svg文件
参数:
path svg相对项目的位置 {String}
color svg填充的颜色 {String}
|
void |
index()
进入系统首页
参数:
无
|
void |
loadApp()
获取系统加载的文件列
参数:
无
|
void |
loadSystemConfig()
加载系统配置文件
|
void |
monitor()
系统的监控信息
|
void |
power()
进入系统管理员权限编辑页面
参数:
无
|
void |
qrCode()
生成二维码
参数:
content 二维码内容
logo 中间logo
render 返回类型,json 或 image
|
com.fastchar.out.FastOutCaptcha |
showCaptcha()
获得图形验证码
|
void |
showConfig()
获取系统配置信息
参数:
无
|
void |
showEnums()
获得枚举的值列表
参数:
enumName 枚举的类名 {String}
|
List<FastMenuInfo> |
showMenuColumn()
获得后台菜单列表
参数:
checked 默认选中的菜单 {String}
|
List<FastMenuInfo> |
showPowerMenus()
获取权限菜单
参数:
checked 默认选中的菜单Id {String}
parent 父级的权限值 {String}
|
void |
updateAllLayer()
更新所有表格的权限编号
|
void |
upload()
上传文件
参数:
type 文件保存的子目录名 {String}
url 网络文件地址 {Array}【可选】
file 上传的文件流 {Array} {File}
|
void |
zipFile()
压缩文件
参数:
path 需要压缩的文件路径 {Array}{String}
|
addParam, addParamFile, check, check, deleteAllParamFiles, forward, getContentType, getCookie, getCookie, getCookieObject, getCookieObjects, getCookieToBoolean, getCookieToBoolean, getCookieToDouble, getCookieToDouble, getCookieToInt, getCookieToInt, getCookieToLong, getCookieToLong, getFastOut, getFastRoute, getFileParameterNames, getForwarder, getLock, getParam, getParam, getParam, getParamDataToString, getParamDataToString, getParamDataToXml, getParamFile, getParamFile, getParamFile, getParamFileList, getParamFileList, getParamFiles, getParamFiles, getParamListFile, getParamNames, getParamToArray, getParamToArray, getParamToBoolean, getParamToBoolean, getParamToBoolean, getParamToBooleanArray, getParamToBooleanArray, getParamToClass, getParamToClass, getParamToDate, getParamToDate, getParamToDate, getParamToDate, getParamToDate, getParamToDate, getParamToDateArray, getParamToDateArray, getParamToDateArray, getParamToDateArray, getParamToDouble, getParamToDouble, getParamToDouble, getParamToDouble, getParamToDouble, getParamToDoubleArray, getParamToDoubleArray, getParamToDoubleList, getParamToDoubleList, getParamToEntity, getParamToEntity, getParamToEntityArray, getParamToEntityArray, getParamToEntityList, getParamToEntityList, getParamToEnum, getParamToEnum, getParamToEnum, getParamToEnumArray, getParamToEnumArray, getParamToEnumList, getParamToEnumList, getParamToFloat, getParamToFloat, getParamToFloat, getParamToFloat, getParamToFloat, getParamToFloatArray, getParamToFloatArray, getParamToFloatList, getParamToFloatList, getParamToInt, getParamToInt, getParamToInt, getParamToIntArray, getParamToIntArray, getParamToIntList, getParamToIntList, getParamToList, getParamToList, getParamToLong, getParamToLong, getParamToLong, getParamToLongArray, getParamToLongArray, getParamToLongList, getParamToLongList, getParamToMap, getParamToMap, getParamToMap, getParamToMapList, getParamToMapList, getParamToShort, getParamToShort, getParamToShort, getParamToShortArray, getParamToShortArray, getParamToShortList, getParamToShortList, getProjectHost, getRemoteIp, getRequesetAttr, getRequest, getRequestHeader, getRequestHeaderNames, getRequestHeaders, getRequestMethod, getResponse, getServletContext, getSession, getSession, getStatus, getUrlParam, getUrlParams, getUserAgent, invoke, isLog, isLogResponse, isMultipart, isParamBlank, isParamEmpty, isParamExists, isParamNotBlank, isParamNotEmpty, redirect, redirect301, removeCookie, removeCookie, removeCookie, removeLock, removeRequestAttr, removeSession, resetCaptcha, response, response404, response500, response502, responseCaptcha, responseFile, responseFile, responseFile, responseFile, responseFile, responseFile, responseFile, responseFreemarker, responseFreemarker, responseHtml, responseImage, responseImage, responseJson, responseJson, responseJson, responseJsp, responseParamError, responseParamError, responseStatus, responseText, responseText, responseText, responseText, responseThymeleaf, responseThymeleaf, responseVelocity, responseVelocity, responseXml, responseXml, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setLog, setLogResponse, setParam, setRequestAttr, setRequestAttr, setSession, setStatus, validateCaptchaprotected String getRoute()
getRoute 在类中 com.fastchar.core.FastActionpublic void loadApp()
private void filterPowerMenus(List<FastMenuInfo> menus)
private void filterPowerMenus(List<FastMenuInfo> menus, String menuPower)
private String buildCssContent(List<FastMenuInfo> menus)
public void icon(String path, String color)
public com.fastchar.out.FastOutCaptcha showCaptcha()
public void showEnums()
throws Exception
Exceptionpublic List<FastMenuInfo> showPowerMenus()
private void filterMenusByPower(List<FastMenuInfo> menus, String checked)
public List<FastMenuInfo> showMenuColumn()
private void filterMenuColumn(List<FastMenuInfo> menus, String checked)
public void upload()
throws Exception
Exceptionpublic void down()
public void deleteAttach()
public void zipFile()
throws IOException
IOExceptionpublic void doc_check()
public void qrCode()
throws Exception
Exceptionpublic void monitor()
public void countReport()
public void updateAllLayer()
Copyright © 2021. All rights reserved.