@Controller @RequestMapping(value="/apartment") public class ApartmentController extends Object
| Modifier and Type | Field and Description |
|---|---|
org.egov.infra.admin.master.service.UserService |
userService |
| Constructor and Description |
|---|
ApartmentController(org.egov.ptis.master.service.ApartmentService apartmentService) |
| Modifier and Type | Method and Description |
|---|---|
org.egov.ptis.domain.entity.property.Apartment |
apartmentModel() |
String |
create(org.egov.ptis.domain.entity.property.Apartment apartment,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs,
org.springframework.ui.Model model) |
String |
create(org.springframework.ui.Model model) |
List<org.egov.ptis.domain.entity.property.Apartment> |
listApartment() |
String |
search(org.springframework.ui.Model model) |
String |
view(Long id,
org.springframework.ui.Model model) |
@Autowired public org.egov.infra.admin.master.service.UserService userService
@Autowired public ApartmentController(org.egov.ptis.master.service.ApartmentService apartmentService)
@ModelAttribute public org.egov.ptis.domain.entity.property.Apartment apartmentModel()
@ModelAttribute(value="apartmenttype") public List<org.egov.ptis.domain.entity.property.Apartment> listApartment()
@RequestMapping(value="/search",
method=GET)
public String search(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.Apartment apartment,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs,
org.springframework.ui.Model model)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.