@Controller @VisitRefer(refer="decision-management-directory") @RequestMapping(value="/{version}") @FunctionSupport(function=FsBI) public class LinkResource extends java.lang.Object
构造器和说明 |
---|
LinkResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
addLink(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String directoryId,
LinkBean linkBean) |
Response |
deleteLink(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String linkId) |
Response |
editLink(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String linkId,
LinkBean linkBean) |
@RequestMapping(value="/{directoryId}/link", method=POST) @ResponseBody public Response addLink(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="directoryId") java.lang.String directoryId, @RequestBody LinkBean linkBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/link/{linkId}", method=PUT) @ResponseBody public Response editLink(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="linkId") java.lang.String linkId, @RequestBody LinkBean linkBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/link/{linkId}", method=DELETE) @ResponseBody public Response deleteLink(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="linkId") java.lang.String linkId) throws java.lang.Exception
java.lang.Exception