@Controller @RequestMapping(value="/boundarytype/create") public class CreateBoundaryTypeController extends Object
| Constructor and Description |
|---|
CreateBoundaryTypeController(org.egov.infra.admin.master.service.BoundaryTypeService boundaryTypeService,
org.egov.infra.admin.master.service.HierarchyTypeService hierarchyTypeService) |
| Modifier and Type | Method and Description |
|---|---|
org.egov.infra.admin.master.entity.BoundaryType |
boundaryTypeModel() |
String |
create(org.egov.infra.admin.master.entity.BoundaryType boundaryType,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs) |
List<org.egov.infra.admin.master.entity.HierarchyType> |
getHierarchyTypes() |
String |
newForm() |
@Autowired
public CreateBoundaryTypeController(org.egov.infra.admin.master.service.BoundaryTypeService boundaryTypeService,
org.egov.infra.admin.master.service.HierarchyTypeService hierarchyTypeService)
@ModelAttribute public org.egov.infra.admin.master.entity.BoundaryType boundaryTypeModel()
@RequestMapping(method=GET) public String newForm()
@ModelAttribute(value="hierarchyTypes") public List<org.egov.infra.admin.master.entity.HierarchyType> getHierarchyTypes()
@RequestMapping(method=POST) public String create(@ModelAttribute org.egov.infra.admin.master.entity.BoundaryType boundaryType, org.springframework.validation.BindingResult errors, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.