@Controller @RequestMapping(value="/escalation") public class ViewEscalationController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.egov.pgr.service.ComplaintTypeService |
complaintTypeService |
static String |
CONTENTTYPE_JSON |
| Constructor and Description |
|---|
ViewEscalationController(org.egov.pgr.service.ComplaintTypeService complaintTypeService,
org.egov.eis.service.PositionMasterService positionMasterService,
org.egov.commons.service.ObjectTypeService objectTypeService) |
| Modifier and Type | Method and Description |
|---|---|
List<org.egov.pgr.entity.ComplaintType> |
complaintTypes() |
EscalationForm |
escalationForm() |
List<org.egov.pims.commons.Position> |
positionMasterList() |
String |
saveEscalationForm(EscalationForm escalationForm,
org.springframework.ui.Model model,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs,
Long id) |
String |
searchEscalationForm(EscalationForm escalationForm,
org.springframework.ui.Model model) |
String |
searchForm(EscalationForm escalationForm,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs,
org.springframework.ui.Model model) |
public static final String CONTENTTYPE_JSON
protected final org.egov.pgr.service.ComplaintTypeService complaintTypeService
@Autowired
public ViewEscalationController(org.egov.pgr.service.ComplaintTypeService complaintTypeService,
org.egov.eis.service.PositionMasterService positionMasterService,
org.egov.commons.service.ObjectTypeService objectTypeService)
@ModelAttribute public EscalationForm escalationForm()
@ModelAttribute(value="complaintTypes") public List<org.egov.pgr.entity.ComplaintType> complaintTypes()
@ModelAttribute(value="positionMasterList") public List<org.egov.pims.commons.Position> positionMasterList()
@RequestMapping(value="/search-view",
method=GET)
public String searchEscalationForm(@ModelAttribute
EscalationForm escalationForm,
org.springframework.ui.Model model)
@RequestMapping(value="/search-view",
method=POST)
public String searchForm(@ModelAttribute
EscalationForm escalationForm,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs,
org.springframework.ui.Model model)
@RequestMapping(value="/update/{id}",
method=POST)
public String saveEscalationForm(@ModelAttribute
EscalationForm escalationForm,
org.springframework.ui.Model model,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs,
@PathVariable
Long id)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.