@Controller @RequestMapping(value="/masters") public class CategoryMasterController extends Object
| Constructor and Description |
|---|
CategoryMasterController() |
| Modifier and Type | Method and Description |
|---|---|
String |
createCategoryMasterData(org.egov.wtms.masters.entity.ConnectionCategory connectionCategory,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs,
org.springframework.ui.Model model) |
String |
editCategoryMasterData(org.egov.wtms.masters.entity.ConnectionCategory connectionCategory,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs,
org.springframework.ui.Model model,
long connectionCategoryId) |
String |
getCategoryMaster(org.springframework.ui.Model model) |
String |
getCategoryMasterDetails(org.springframework.ui.Model model,
String connectionCategoryId) |
String |
getCategoryMasterList(org.springframework.ui.Model model) |
String |
viewForm(org.springframework.ui.Model model) |
@RequestMapping(value="/categoryMaster",
method=GET)
public String viewForm(org.springframework.ui.Model model)
@RequestMapping(value="/categoryMaster",
method=POST)
public String createCategoryMasterData(@ModelAttribute
org.egov.wtms.masters.entity.ConnectionCategory connectionCategory,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs,
org.springframework.ui.Model model)
@RequestMapping(value="/categoryMaster/list",
method=GET)
public String getCategoryMasterList(org.springframework.ui.Model model)
@RequestMapping(value="/categoryMaster/edit",
method=GET)
public String getCategoryMaster(org.springframework.ui.Model model)
@RequestMapping(value="/categoryMaster/edit/{connectionCategoryId}",
method=GET)
public String getCategoryMasterDetails(org.springframework.ui.Model model,
@PathVariable
String connectionCategoryId)
@RequestMapping(value="/categoryMaster/edit/{connectionCategoryId}",
method=POST)
public String editCategoryMasterData(@ModelAttribute
org.egov.wtms.masters.entity.ConnectionCategory connectionCategory,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs,
org.springframework.ui.Model model,
@PathVariable
long connectionCategoryId)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.