@Controller @VisitRefer(refer="decision-management-maintenance") @RequestMapping(value="/{version}/backup") public class BackupResource extends java.lang.Object
构造器和说明 |
---|
BackupResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
deleteBackupNodes(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String moduleName,
java.lang.String[] ids) |
Response |
getBackupConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getModuleBackupConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String moduleName) |
Response |
getUpdateProcess(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
manualBackup(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String moduleName,
BackupNodeBean bean) |
Response |
renameBackupNode(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String moduleName,
BackupNodeBean bean) |
Response |
rollback(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String moduleName,
java.lang.String id) |
Response |
setAutoBackup(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String moduleName,
boolean open) |
Response |
setBackupConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
BackupConfigBean bean) |
Response |
updateJar(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
@RequestMapping(value="/config", method=GET) @ResponseBody public Response getBackupConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/config", method=PUT) @ResponseBody @DecisionControllerLog(type="Dec-Monitor-Menu_Backup_Restore", item="Dec-Basic_Global_Settings", operate="Dec-Log_Update") public Response setBackupConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody BackupConfigBean bean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{moduleName}/info", method=GET) @ResponseBody public Response getModuleBackupConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="moduleName") java.lang.String moduleName) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{moduleName}/auto/{open}", method=PUT) @ResponseBody public Response setAutoBackup(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="moduleName") java.lang.String moduleName, @PathVariable(value="open") boolean open) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{moduleName}/manual", method=POST) @ResponseBody public Response manualBackup(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="moduleName") java.lang.String moduleName, @RequestBody BackupNodeBean bean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{moduleName}/delete", method=DELETE) @ResponseBody public Response deleteBackupNodes(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="moduleName") java.lang.String moduleName, @RequestBody java.lang.String[] ids) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{moduleName}/rename", method=PUT) @ResponseBody public Response renameBackupNode(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="moduleName") java.lang.String moduleName, @RequestBody BackupNodeBean bean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{moduleName}/rollback/{id}", method=POST) @ResponseBody public Response rollback(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="moduleName") java.lang.String moduleName, @PathVariable(value="id") java.lang.String id) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/update/jar", method=POST) @ResponseBody public Response updateJar(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/update/process", method=GET) @ResponseBody public Response getUpdateProcess(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception