@Controller
@RequestMapping(value="/role/update/{name}")
public class UpdateRoleController
extends Object
| Constructor and Description |
|---|
UpdateRoleController(org.egov.infra.admin.master.service.RoleService roleService) |
| Modifier and Type | Method and Description |
|---|---|
org.egov.infra.admin.master.entity.Role |
roleModel(String name) |
String |
update(org.egov.infra.admin.master.entity.Role role,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs) |
String |
updateRoleForm() |
@Autowired public UpdateRoleController(org.egov.infra.admin.master.service.RoleService roleService)
@ModelAttribute
public org.egov.infra.admin.master.entity.Role roleModel(@PathVariable
String name)
@RequestMapping(method=GET) public String updateRoleForm()
@RequestMapping(method=POST) public String update(@ModelAttribute org.egov.infra.admin.master.entity.Role role, org.springframework.validation.BindingResult errors, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.