@Controller @RequestMapping(value="/role/create") public class CreateRoleController extends Object
| Constructor and Description |
|---|
CreateRoleController(org.egov.infra.admin.master.service.RoleService roleService) |
| Modifier and Type | Method and Description |
|---|---|
String |
create(org.egov.infra.admin.master.entity.Role role,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs) |
String |
newForm() |
org.egov.infra.admin.master.entity.Role |
roleModel() |
@Autowired public CreateRoleController(org.egov.infra.admin.master.service.RoleService roleService)
@ModelAttribute public org.egov.infra.admin.master.entity.Role roleModel()
@RequestMapping(method=GET) public String newForm()
@RequestMapping(method=POST) public String create(@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.