@Controller @RequestMapping(value="/floortype") public class CreateAndViewFloorTypeController extends Object
| Constructor and Description |
|---|
CreateAndViewFloorTypeController(org.egov.ptis.master.service.FloorTypeService floorTypeService) |
| Modifier and Type | Method and Description |
|---|---|
String |
create(org.egov.ptis.domain.entity.property.FloorType floorType,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model) |
String |
create(org.springframework.ui.Model model) |
org.egov.ptis.domain.entity.property.FloorType |
FloorTypeModel() |
List<org.egov.ptis.domain.entity.property.FloorType> |
listFloorTypes() |
String |
showFloorTypes(org.springframework.ui.Model model) |
String |
view(Long id,
org.springframework.ui.Model model) |
@Autowired public CreateAndViewFloorTypeController(org.egov.ptis.master.service.FloorTypeService floorTypeService)
@ModelAttribute public org.egov.ptis.domain.entity.property.FloorType FloorTypeModel()
@ModelAttribute(value="floortypes") public List<org.egov.ptis.domain.entity.property.FloorType> listFloorTypes()
@RequestMapping(value="/search",
method=GET)
public String showFloorTypes(org.springframework.ui.Model model)
@RequestMapping(value="/create",
method=GET)
public String create(org.springframework.ui.Model model)
@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.FloorType floorType,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.