@Controller @VisitRefer(refer="decision-management-appearance") @RequestMapping(value="/{version}/config/appearance") public class AppearanceResource extends java.lang.Object
构造器和说明 |
---|
AppearanceResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
getAllThemes(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getLoginConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getStyleConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
setCurrentTheme(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
ThemeConfigBean bean) |
Response |
setLoginConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
LoginAppearanceConfigBean bean) |
Response |
setStyleConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
StyleConfigBean bean) |
@RequestMapping(value="/login", method=GET) @ResponseBody public Response getLoginConfig(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="/login", method=PUT) @ResponseBody public Response setLoginConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody LoginAppearanceConfigBean bean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/themes", method=GET) @ResponseBody public Response getAllThemes(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="/theme", method=PUT) @ResponseBody public Response setCurrentTheme(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody ThemeConfigBean bean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/style", method=GET) @ResponseBody public Response getStyleConfig(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="/style", method=PUT) @ResponseBody public Response setStyleConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody StyleConfigBean bean) throws java.lang.Exception
java.lang.Exception