@Controller @RequestMapping(value="/walltype") public class CreateAndViewWallTypeController extends Object
| Constructor and Description |
|---|
CreateAndViewWallTypeController(org.egov.ptis.master.service.WallTypeService wallTypeService) |
| Modifier and Type | Method and Description |
|---|---|
String |
create() |
String |
create(org.egov.ptis.domain.entity.property.WallType wallType,
org.springframework.validation.BindingResult errors,
javax.servlet.http.HttpServletRequest request,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
List<org.egov.ptis.domain.entity.property.WallType> |
listWallTypes() |
String |
showWallTypes(org.springframework.ui.Model model) |
String |
view(Long id,
org.springframework.ui.Model model) |
org.egov.ptis.domain.entity.property.WallType |
wallTypeModel() |
@Autowired public CreateAndViewWallTypeController(org.egov.ptis.master.service.WallTypeService wallTypeService)
@ModelAttribute public org.egov.ptis.domain.entity.property.WallType wallTypeModel()
@ModelAttribute(value="wallTypes") public List<org.egov.ptis.domain.entity.property.WallType> listWallTypes()
@RequestMapping(value="/search",
method=GET)
public String showWallTypes(org.springframework.ui.Model model)
@RequestMapping(value="/create",
method=GET)
public String create()
@RequestMapping(value="/create",
method=POST)
public String create(@ModelAttribute
org.egov.ptis.domain.entity.property.WallType wallType,
org.springframework.validation.BindingResult errors,
javax.servlet.http.HttpServletRequest request,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.