@Controller @VisitRefer(refer="decision-management-directory") @RequestMapping(value="/{version}") @FunctionSupport(function=FsBI) public class DirectoryResource extends java.lang.Object
构造器和说明 |
---|
DirectoryResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
addDirectory(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String pId,
DirectoryBean directoryBean) |
Response |
deleteDirectory(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String directoryId) |
Response |
editDirectory(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String directoryId,
DirectoryBean directoryBean) |
Response |
searchDirectoryEntryTreeNodes(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String keyword) |
@RequestMapping(value="/{pId}/directory", method=POST) @ResponseBody public Response addDirectory(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="pId") java.lang.String pId, @RequestBody DirectoryBean directoryBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/directory/{directoryId}", method=PUT) @ResponseBody public Response editDirectory(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 DirectoryBean directoryBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/directory/{directoryId}", method=DELETE) @ResponseBody public Response deleteDirectory(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="directoryId") java.lang.String directoryId) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/directory", method=GET) @VisitRefer(required=false) @ResponseBody public Response searchDirectoryEntryTreeNodes(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