@Controller @RequestMapping(value="/rooftype") public class CreateAndViewRoofTypeController extends Object
| Constructor and Description |
|---|
CreateAndViewRoofTypeController(org.egov.ptis.master.service.RoofTypeService roofTypeService) |
| Modifier and Type | Method and Description |
|---|---|
String |
create() |
String |
create(org.egov.ptis.domain.entity.property.RoofType roofType,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
javax.servlet.http.HttpServletRequest request) |
List<org.egov.ptis.domain.entity.property.RoofType> |
listRoofTypes() |
org.egov.ptis.domain.entity.property.RoofType |
RoofTypeModel() |
String |
showRoofTypes(org.springframework.ui.Model model) |
String |
view(Long id,
org.springframework.ui.Model model) |
@Autowired public CreateAndViewRoofTypeController(org.egov.ptis.master.service.RoofTypeService roofTypeService)
@ModelAttribute public org.egov.ptis.domain.entity.property.RoofType RoofTypeModel()
@ModelAttribute(value="roofTypes") public List<org.egov.ptis.domain.entity.property.RoofType> listRoofTypes()
@RequestMapping(value="/search",
method=GET)
public String showRoofTypes(org.springframework.ui.Model model)
@RequestMapping(value="/create",
method=GET)
public String create()
@RequestMapping(value="/view/{id}",
method=GET)
public String view(@PathVariable
Long id,
org.springframework.ui.Model model)
@RequestMapping(value="/create",
method=POST)
public String create(@ModelAttribute
org.egov.ptis.domain.entity.property.RoofType roofType,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
javax.servlet.http.HttpServletRequest request)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.