@Controller @RequestMapping(value="manager/versionpack/") public class CoreVersionPackController extends BaseController
DOWNLOAD_ID_COOKIE_EXPIRY, DOWNLOAD_ID_NAME
构造器和说明 |
---|
CoreVersionPackController() |
限定符和类型 | 方法和说明 |
---|---|
RetVo |
add(CoreVersionPack coreVerisonPack)
添加平台升级包信息
|
void |
downLoad(java.lang.String id,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
下载平台升级包
|
RetVo |
getPackProcess()
获取打包进度信息
|
java.lang.String |
main(javax.servlet.http.HttpServletRequest request) |
RetVo |
modify(CoreVersionPack coreVersionPack) |
RetPageVo |
query(java.util.Map<java.lang.String,java.lang.Object> params)
分页查询打包记录
|
RetVo |
queryVersionPackJson(java.util.Map<java.lang.String,java.lang.String> params)
获取版本包json
|
RetVo |
remove(java.util.Map<java.lang.String,java.lang.Object> params)
删除升级包信息
|
RetVo |
showDirTree(java.util.Map<java.lang.String,java.lang.Object> params)
获取目录树结构
|
RetVo |
versionPack(java.lang.String rwid)
打包升级包
|
commonsDownloadEx, commonsUploadEx, getUploadNewFileName, setResponseContentType, setResponseContentTypeAndStatus, setResponseHttpStatus, writeJsonToResponse
@RequestMapping(value="/", method=GET) public java.lang.String main(javax.servlet.http.HttpServletRequest request)
@ResponseBody @RequestMapping(value="add", method=PUT) public RetVo add(@RequestBody CoreVersionPack coreVerisonPack) throws java.lang.Exception
coreVerisonPack
- 版本打包java.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="modify", method=POST) public RetVo modify(@RequestBody CoreVersionPack coreVersionPack) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="remove", method=DELETE) public RetVo remove(@RequestBody java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
params
- 参数mapjava.lang.Exception
- 出错抛出异常@ResponseBody @RequestMapping(value="query", method=POST) public RetPageVo query(@RequestParam java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
params
- 参数java.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="shownode", method=POST) public RetVo showDirTree(@RequestBody java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
params
- 参数mapjava.lang.Exception
- 出错抛出异常@ResponseBody @RequestMapping(value="queryversionpackjson", method=POST) public RetVo queryVersionPackJson(@RequestBody java.util.Map<java.lang.String,java.lang.String> params) throws java.lang.Exception
params
- 参数mapjava.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="pack", method=POST) public RetVo versionPack(@RequestParam(value="RWID") java.lang.String rwid) throws java.lang.Exception
rwid
- 打包实体的idjava.lang.Exception
- 出错抛出异常@ResponseBody @RequestMapping(value="packprocess", method=GET) public RetVo getPackProcess() throws java.lang.Exception
java.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="download", method=GET) public void downLoad(@RequestParam java.lang.String id, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
id
- 下载idrequest
- 请求对象response
- 相应对象java.lang.Exception
- 出错会抛出异常