@Controller
@RequestMapping(value="/{version}/plugin")
public class PluginResource
extends java.lang.Object
构造器和说明 |
---|
PluginResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
changeInstallPluginStatus(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String pluginInfo,
java.lang.String username) |
Response |
getChargeUninstallPluginList(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getInstallationPluginList(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getInstallPluginStatusList(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getInstallPluginUpdateList(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getStorePluginCategory(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getStorePluginList(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String categories,
java.lang.String authorType,
java.lang.String chargeType,
java.lang.String scope) |
Response |
installDiskPlugin(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String username,
java.lang.String id) |
Response |
installStorePlugin(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String pluginInfo,
java.lang.String username) |
Response |
searchStorePlugin(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String keyword) |
Response |
uninstallPlugin(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String pluginMarker,
boolean forceDelete,
java.lang.String username) |
Response |
updateDiskPlugin(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String username,
java.lang.String id) |
Response |
updateStorePlugin(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String username,
java.lang.String[] pluginids) |
@RequestMapping(value="/installation", method=GET) @ResponseBody public Response getInstallationPluginList(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="/uninstall", method=GET) @ResponseBody public Response getChargeUninstallPluginList(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="/installation/status", method=GET) @ResponseBody public Response getInstallPluginStatusList(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="/installation/update", method=GET) @ResponseBody public Response getInstallPluginUpdateList(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="/installation/status", method=PUT) @ResponseBody public Response changeInstallPluginStatus(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="pluginInfo") java.lang.String pluginInfo, @RequestParam(value="username") java.lang.String username) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/installation", method=DELETE) @ResponseBody public Response uninstallPlugin(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="pluginMarker") java.lang.String pluginMarker, @RequestParam(value="forceDelete") boolean forceDelete, @RequestParam(value="username") java.lang.String username) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/store", method=GET) @ResponseBody public Response getStorePluginList(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="categories") java.lang.String categories, @RequestParam(value="seller") java.lang.String authorType, @RequestParam(value="fee") java.lang.String chargeType, @RequestParam(value="scope") java.lang.String scope) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/store/category", method=GET) @ResponseBody public Response getStorePluginCategory(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="/store/search", method=GET) @ResponseBody public Response searchStorePlugin(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="keyword") java.lang.String keyword) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/store/installation", method=POST) @ResponseBody public Response installStorePlugin(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="pluginInfo") java.lang.String pluginInfo, @RequestParam(value="username") java.lang.String username) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/store/installation", method=PUT) @ResponseBody public Response updateStorePlugin(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="username") java.lang.String username, @RequestBody java.lang.String[] pluginids) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/disk/installation", method=POST) @ResponseBody public Response installDiskPlugin(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="username") java.lang.String username, @RequestParam(value="id") java.lang.String id) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/disk/installation", method=PUT) @ResponseBody public Response updateDiskPlugin(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="username") java.lang.String username, @RequestParam(value="id") java.lang.String id) throws java.lang.Exception
java.lang.Exception