@Controller public class CreateBoundaryController extends Object
| Constructor and Description |
|---|
CreateBoundaryController(org.egov.infra.admin.master.service.BoundaryService boundaryService) |
| Modifier and Type | Method and Description |
|---|---|
String |
createOrUpdateBoundary(org.egov.infra.admin.master.entity.Boundary boundary,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
org.springframework.ui.Model model) |
List<org.egov.infra.admin.master.entity.Boundary> |
getWardByZone(Long zoneId) |
@Autowired public CreateBoundaryController(org.egov.infra.admin.master.service.BoundaryService boundaryService)
@RequestMapping(value="/boundary/create",
method=POST)
public String createOrUpdateBoundary(@ModelAttribute
org.egov.infra.admin.master.entity.Boundary boundary,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
org.springframework.ui.Model model)
@RequestMapping(value="/wards-by-zone",
method=GET,
produces="application/json")
@ResponseBody
public List<org.egov.infra.admin.master.entity.Boundary> getWardByZone(@RequestParam
Long zoneId)
throws IOException
IOExceptionCopyright © 2015–2016 eGovernments Foundation. All rights reserved.