@Controller @VisitRefer(refer="decision-management-user") @RequestMapping(value="/{version}") public class PositionResource extends java.lang.Object
构造器和说明 |
---|
PositionResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
addPosition(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String postName) |
Response |
deletePosition(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String postId) |
Response |
getDepartmentPostTree(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getDepPositionsUnderParentDepartment(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String pId,
boolean containNoDep) |
Response |
getDepRoleRoot(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getDepRolesUnderParentDepRole(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String pId) |
Response |
getPositions(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String keyword) |
Response |
getPositionsUnderParentDepartment(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String departmentId,
java.lang.String keyword) |
Response |
searchDepPositions(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String keyword) |
Response |
searchDepRoleTreeNodes(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String keyword) |
Response |
updateDepPositions(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String departmentId,
DepPostUpdateBean depPostUpdateBean) |
@RequestMapping(value="/post/{postName}", method=POST) @ResponseBody public Response addPosition(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @FinePathVariable(value="postName") java.lang.String postName) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{departmentId}/posts", method=PUT) @ResponseBody public Response updateDepPositions(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="departmentId") java.lang.String departmentId, @RequestBody DepPostUpdateBean depPostUpdateBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/post/{postId}", method=DELETE) @ResponseBody public Response deletePosition(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="postId") java.lang.String postId) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/posts", method=GET) @VisitRefer(required=false) @ResponseBody public Response getPositions(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="keyword",required=false) java.lang.String keyword) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{departmentId}/posts", method=GET) @VisitRefer(required=false) @ResponseBody public Response getPositionsUnderParentDepartment(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="departmentId") java.lang.String departmentId, @RequestParam(value="keyword",required=false) java.lang.String keyword) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{pId}/departments/posts", method=GET) @VisitRefer(required=false) @ResponseBody public Response getDepPositionsUnderParentDepartment(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="pId") java.lang.String pId, @RequestParam(value="containNoDep",required=false,defaultValue="false") boolean containNoDep) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/departments/posts", method=GET) @VisitRefer(required=false) @ResponseBody public Response searchDepPositions(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="/deposts/root", method=GET) @VisitRefer(required=false) @ResponseBody public Response getDepRoleRoot(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="/{pId}/deposts", method=GET) @VisitRefer(required=false) @ResponseBody public Response getDepRolesUnderParentDepRole(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="pId") java.lang.String pId) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/deposts", method=GET) @VisitRefer(required=false) @ResponseBody public Response searchDepRoleTreeNodes(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="keyword",required=false) java.lang.String keyword) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/departments/posts/tree", method=GET) @VisitRefer(required=false) @ResponseBody public Response getDepartmentPostTree(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception