@Controller @RequestMapping(value="/usage/create") public class CreateUsageController extends Object
| Constructor and Description |
|---|
CreateUsageController(org.egov.ptis.master.service.PropertyUsageService propertyUsageService) |
| Modifier and Type | Method and Description |
|---|---|
String |
create(org.egov.ptis.domain.entity.property.PropertyUsage propertyUsage,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
String |
newForm(org.springframework.ui.Model model) |
org.egov.ptis.domain.entity.property.PropertyUsage |
propertyUsageModel() |
@Autowired public CreateUsageController(org.egov.ptis.master.service.PropertyUsageService propertyUsageService)
@ModelAttribute public org.egov.ptis.domain.entity.property.PropertyUsage propertyUsageModel()
@RequestMapping(method=GET) public String newForm(org.springframework.ui.Model model)
@RequestMapping(method=POST) public String create(@ModelAttribute org.egov.ptis.domain.entity.property.PropertyUsage propertyUsage, org.springframework.validation.BindingResult errors, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.