@Controller @RequestMapping(value="/agenda") public class CouncilAgendaController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.egov.council.service.CommitteeTypeService |
committeeTypeService |
protected org.egov.council.service.CouncilAgendaService |
councilAgendaService |
protected org.egov.council.service.CouncilPreambleService |
councilPreambleService |
protected org.egov.infra.admin.master.service.DepartmentService |
departmentService |
| Constructor and Description |
|---|
CouncilAgendaController() |
| Modifier and Type | Method and Description |
|---|---|
String |
create(org.egov.council.entity.CouncilAgenda councilAgenda,
org.springframework.validation.BindingResult errors,
org.springframework.ui.Model model,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs) |
String |
edit(Long id,
org.springframework.ui.Model model,
javax.servlet.http.HttpServletResponse response) |
String |
editAgenda(String mode,
org.springframework.ui.Model model) |
List<org.egov.council.entity.CommitteeType> |
getCommitteTypeList() |
List<org.egov.infra.admin.master.entity.Department> |
getDepartmentList() |
List<org.egov.infra.admin.master.entity.Boundary> |
getWardsList() |
String |
newForm(org.springframework.ui.Model model) |
String |
result(Long id,
org.springframework.ui.Model model) |
String |
search(String mode,
org.springframework.ui.Model model) |
String |
searchAgendaToCreateMeeting(org.springframework.ui.Model model,
org.egov.council.entity.CouncilAgenda councilAgenda) |
String |
searchPreamble(org.springframework.ui.Model model,
org.egov.council.entity.CouncilPreamble councilPreamble) |
String |
searchPreamble(String mode,
org.springframework.ui.Model model,
org.egov.council.entity.CouncilAgenda councilAgenda) |
String |
update(org.egov.council.entity.CouncilAgenda councilAgenda,
org.springframework.ui.Model model,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs) |
String |
view(Long id,
org.springframework.ui.Model model) |
@Autowired protected org.egov.infra.admin.master.service.DepartmentService departmentService
@Autowired protected org.egov.council.service.CommitteeTypeService committeeTypeService
@Autowired protected org.egov.council.service.CouncilAgendaService councilAgendaService
@Autowired protected org.egov.council.service.CouncilPreambleService councilPreambleService
@ModelAttribute(value="departments") public List<org.egov.infra.admin.master.entity.Department> getDepartmentList()
@ModelAttribute(value="wards") public List<org.egov.infra.admin.master.entity.Boundary> getWardsList()
@ModelAttribute(value="committeeType") public List<org.egov.council.entity.CommitteeType> getCommitteTypeList()
@RequestMapping(value="/new",
method=GET)
public String newForm(org.springframework.ui.Model model)
@RequestMapping(value="/create",
method=POST)
public String create(@ModelAttribute
org.egov.council.entity.CouncilAgenda councilAgenda,
org.springframework.validation.BindingResult errors,
org.springframework.ui.Model model,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs)
@RequestMapping(value="/result/{id}",
method=GET)
public String result(@PathVariable(value="id")
Long id,
org.springframework.ui.Model model)
@RequestMapping(value="/view/{id}",
method=GET)
public String view(@PathVariable(value="id")
Long id,
org.springframework.ui.Model model)
@RequestMapping(value="/search/{mode}",
method=GET)
public String search(@PathVariable(value="mode")
String mode,
org.springframework.ui.Model model)
@RequestMapping(value="/searchagenda/{mode}",
method=GET)
public String editAgenda(@PathVariable(value="mode")
String mode,
org.springframework.ui.Model model)
@RequestMapping(value="/edit/{id}",
method=GET)
public String edit(@PathVariable(value="id")
Long id,
org.springframework.ui.Model model,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException@RequestMapping(value="/update",
method=POST)
public String update(@ModelAttribute
org.egov.council.entity.CouncilAgenda councilAgenda,
org.springframework.ui.Model model,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs)
@RequestMapping(value="/ajaxsearch/{mode}",
method=POST,
produces="text/plain")
@ResponseBody
public String searchPreamble(@PathVariable(value="mode")
String mode,
org.springframework.ui.Model model,
@ModelAttribute
org.egov.council.entity.CouncilAgenda councilAgenda)
@RequestMapping(value="/ajaxsearch",
method=POST,
produces="text/plain")
@ResponseBody
public String searchPreamble(org.springframework.ui.Model model,
@ModelAttribute
org.egov.council.entity.CouncilPreamble councilPreamble)
@RequestMapping(value="/searchagenda-tocreatemeeting",
method=POST,
produces="text/plain")
@ResponseBody
public String searchAgendaToCreateMeeting(org.springframework.ui.Model model,
@ModelAttribute
org.egov.council.entity.CouncilAgenda councilAgenda)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.