@Controller public class InformationController extends Object
| 构造器和说明 |
|---|
InformationController() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
addInformationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.graship.home.model.Information information) |
String |
deleteInformationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id) |
String |
getInformation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id) |
String |
getInformationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id) |
String |
getinformationList(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model) |
String |
getMultiInformationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long[] ids) |
String |
updateInformationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.graship.home.model.Information information) |
@RequestMapping(value="/c/information",
method=GET)
public String getinformationList(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model)
throws Exception
ServiceExceptionServiceDaoExceptionException@RequestMapping(value="/c/information/{id}",
method=GET)
public String getInformation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@PathVariable
Long id)
throws Exception
Exception@RequestMapping(value="/a/information/{id}",
method=GET)
public String getInformationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@PathVariable
Long id)
throws Exception
Exception@RequestMapping(value="/a/information/{id}",
method=PUT)
public String updateInformationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.graship.home.model.Information information)
throws Exception
Exception@RequestMapping(value="/a/information",
method=POST)
public String addInformationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.graship.home.model.Information information)
throws Exception
Exception@RequestMapping(value="/a/information/{id}",
method=DELETE)
public String deleteInformationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@PathVariable
Long id)
throws Exception
ExceptionCopyright © 2017. All rights reserved.