@Controller @VisitRefer(refer="decision-management-directory") @RequestMapping(value="/{version}") @FunctionSupport(function=FsBI) public class HomePageResource extends java.lang.Object
构造器和说明 |
---|
HomePageResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
addHomePage(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
HomePageBean homePageBean) |
Response |
deleteHomePage(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String homepageId) |
Response |
editHomePage(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String homepageId,
HomePageBean homePageBean) |
Response |
getHomePages(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String keyword) |
Response |
getHomePages(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String keyword,
int privilegeType) |
@RequestMapping(value="/homepage", method=POST) @ResponseBody public Response addHomePage(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody HomePageBean homePageBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/homepage/{homepageId}", method=PUT) @ResponseBody public Response editHomePage(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="homepageId") java.lang.String homepageId, @RequestBody HomePageBean homePageBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/homepage/{homepageId}", method=DELETE) @ResponseBody public Response deleteHomePage(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="homepageId") java.lang.String homepageId) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/homepages", method=GET) @VisitRefer(required=false) @ResponseBody public Response getHomePages(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="/homepages/{privilegeType}", method=GET) @VisitRefer(required=false) @ResponseBody public Response getHomePages(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, @PathVariable(value="privilegeType") int privilegeType) throws java.lang.Exception
java.lang.Exception