@Controller
@RequestMapping(value="cmsWebFile")
public class CmsWebFileAdminController
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected org.apache.commons.logging.Log |
log |
protected LogOperateService |
logOperateService |
protected LogUploadService |
logUploadService |
protected SafeConfigComponent |
safeConfigComponent |
protected SiteComponent |
siteComponent |
构造器和说明 |
---|
CmsWebFileAdminController() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
check(SysSite site,
java.lang.String[] fileNames,
java.lang.String path) |
java.lang.String |
createDirectory(SysSite site,
SysUser admin,
java.lang.String path,
java.lang.String fileName,
javax.servlet.http.HttpServletRequest request) |
java.lang.String |
delete(SysSite site,
SysUser admin,
java.lang.String[] paths,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
java.lang.String |
doUnzip(SysSite site,
SysUser admin,
java.lang.String path,
java.lang.String encoding,
boolean here,
boolean overwrite,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
java.lang.String |
doZip(SysSite site,
SysUser admin,
java.lang.String path,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
java.lang.String |
save(SysSite site,
SysUser admin,
java.lang.String path,
java.lang.String content,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
java.lang.String |
upload(SysSite site,
SysUser admin,
org.springframework.web.multipart.MultipartFile[] files,
java.lang.String path,
boolean privatefile,
boolean overwrite,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
java.lang.String |
uploadIco(SysSite site,
SysUser admin,
org.springframework.web.multipart.MultipartFile file,
java.lang.String filename,
java.lang.String base64File,
java.lang.String originalFilename,
int size,
boolean overwrite,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
protected final org.apache.commons.logging.Log log
protected LogUploadService logUploadService
protected LogOperateService logOperateService
protected SafeConfigComponent safeConfigComponent
protected SiteComponent siteComponent
@RequestMapping(value="save") public java.lang.String save(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.String path, java.lang.String content, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- path
- content
- request
- model
- @RequestMapping(value="doUpload") public java.lang.String upload(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, org.springframework.web.multipart.MultipartFile[] files, java.lang.String path, boolean privatefile, boolean overwrite, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- files
- path
- privatefile
- overwrite
- request
- model
- @RequestMapping(value="doUploadIco") public java.lang.String uploadIco(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, org.springframework.web.multipart.MultipartFile file, java.lang.String filename, java.lang.String base64File, java.lang.String originalFilename, int size, boolean overwrite, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- file
- filename
- base64File
- originalFilename
- size
- overwrite
- request
- model
- @RequestMapping(value="check") @ResponseBody public boolean check(@RequestAttribute SysSite site, @RequestParam(value="fileNames[]") java.lang.String[] fileNames, java.lang.String path)
site
- fileNames
- path
- @RequestMapping(value="delete") public java.lang.String delete(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.String[] paths, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- paths
- request
- model
- @RequestMapping(value="zip") public java.lang.String doZip(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.String path, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- path
- request
- model
- @RequestMapping(value="unzip") public java.lang.String doUnzip(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.String path, java.lang.String encoding, boolean here, boolean overwrite, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- path
- encoding
- here
- overwrite
- request
- model
- @RequestMapping(value="createDirectory") public java.lang.String createDirectory(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.String path, java.lang.String fileName, javax.servlet.http.HttpServletRequest request)
site
- admin
- path
- fileName
- request
-