@Controller @RequestMapping(value="/employee") public class ViewAndUpdateEmployeController extends Object
| Constructor and Description |
|---|
ViewAndUpdateEmployeController() |
| Modifier and Type | Method and Description |
|---|---|
String |
edit(org.springframework.ui.Model model,
String code) |
org.egov.eis.entity.Employee |
employeeModel(String code) |
String |
update(org.egov.eis.entity.Employee employee,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs,
org.springframework.ui.Model model,
org.springframework.web.multipart.MultipartFile file,
String removedJurisdictionIds,
String removedassignIds) |
String |
view(String code,
org.springframework.ui.Model model) |
@ModelAttribute
public org.egov.eis.entity.Employee employeeModel(@PathVariable
String code)
@RequestMapping(value="/update/{code}",
method=GET)
public String edit(org.springframework.ui.Model model,
@PathVariable
String code)
@RequestMapping(value="/update/{code}",
method=POST)
public String update(@ModelAttribute
org.egov.eis.entity.Employee employee,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs,
org.springframework.ui.Model model,
@RequestParam
org.springframework.web.multipart.MultipartFile file,
@RequestParam
String removedJurisdictionIds,
@RequestParam
String removedassignIds)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.