@Controller @RequestMapping(value="/locator") public class LocatorController extends Object
| 构造器和说明 |
|---|
LocatorController() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
add(Integer id,
org.springframework.ui.Model model) |
String |
add(LocatorDTO locatorDTO,
org.springframework.validation.BindingResult br) |
String |
delete(Integer id) |
ICaseService |
getCaseService() |
ILocatorService |
getLocatorService() |
String |
list(Integer id,
org.springframework.ui.Model model) |
void |
setCaseService(ICaseService caseService) |
void |
setLocatorService(ILocatorService locatorService) |
String |
update(Integer id,
LocatorDTO locatorDTO,
org.springframework.validation.BindingResult br,
org.springframework.ui.Model model) |
String |
update(Integer id,
org.springframework.ui.Model model) |
public ICaseService getCaseService()
public void setCaseService(ICaseService caseService)
public ILocatorService getLocatorService()
public void setLocatorService(ILocatorService locatorService)
@RequestMapping(value="/case/{id}")
public String list(@PathVariable
Integer id,
org.springframework.ui.Model model)
@RequestMapping(value="/add/{id}",
method=GET)
public String add(@PathVariable
Integer id,
org.springframework.ui.Model model)
@RequestMapping(value="/add/{id}",
method=POST)
public String add(LocatorDTO locatorDTO,
org.springframework.validation.BindingResult br)
@RequestMapping(value="/update/{id}",
method=GET)
public String update(@PathVariable
Integer id,
org.springframework.ui.Model model)
@RequestMapping(value="/update/{id}",
method=POST)
public String update(@PathVariable
Integer id,
LocatorDTO locatorDTO,
org.springframework.validation.BindingResult br,
org.springframework.ui.Model model)
Copyright © 2015. All rights reserved.