@Controller @RequestMapping(value="/role") public class SearchRoleController extends Object
| Constructor and Description |
|---|
SearchRoleController(org.egov.infra.admin.master.service.RoleService roleService) |
| Modifier and Type | Method and Description |
|---|---|
org.egov.infra.admin.master.entity.Role |
roleModel() |
List<org.egov.infra.admin.master.entity.Role> |
roles() |
String |
updateSearch(org.springframework.ui.Model model) |
String |
updateSearch(org.egov.infra.admin.master.entity.Role role,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs) |
String |
viewRole(org.egov.infra.admin.master.entity.Role role,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs) |
String |
viewSearch(org.springframework.ui.Model model) |
@Autowired public SearchRoleController(org.egov.infra.admin.master.service.RoleService roleService)
@ModelAttribute public org.egov.infra.admin.master.entity.Role roleModel()
@ModelAttribute(value="roles") public List<org.egov.infra.admin.master.entity.Role> roles()
@RequestMapping(value="/viewsearch",
method=GET)
public String viewSearch(org.springframework.ui.Model model)
@RequestMapping(value="/updatesearch",
method=GET)
public String updateSearch(org.springframework.ui.Model model)
@RequestMapping(value="/view",
method=POST)
public String viewRole(@ModelAttribute
org.egov.infra.admin.master.entity.Role role,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs)
@RequestMapping(value="/update",
method=POST)
public String updateSearch(@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.