@Controller
@RequestMapping(value="/role/view/{name}")
public class ViewRoleController
extends Object
| Constructor and Description |
|---|
ViewRoleController(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 |
search(org.egov.infra.admin.master.entity.Role role,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs,
javax.servlet.http.HttpServletRequest request) |
String |
viewRole() |
@Autowired public ViewRoleController(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 viewRole()
@RequestMapping(method=POST) public String search(@ModelAttribute org.egov.infra.admin.master.entity.Role role, org.springframework.validation.BindingResult errors, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs, javax.servlet.http.HttpServletRequest request)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.