@Controller @RequestMapping(value="/assetcategory") public class AssetCategoryController extends Object
| Constructor and Description |
|---|
AssetCategoryController() |
| Modifier and Type | Method and Description |
|---|---|
String |
ajaxsearch(String mode,
org.springframework.ui.Model model,
org.egov.assets.model.AssetCategory assetCategory) |
String |
create(org.egov.assets.model.AssetCategory assetCategory,
org.springframework.validation.BindingResult errors,
org.springframework.ui.Model model,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs) |
void |
deleteCategoryProperty(Long categoryPropertyId) |
String |
edit(Long id,
org.springframework.ui.Model model) |
String |
fetchMasterData(Long id,
String value) |
String |
getParentAccounts(Long parentId) |
String |
newForm(org.springframework.ui.Model model) |
String |
properties(Long id,
org.springframework.ui.Model model) |
String |
result(Long id,
org.springframework.ui.Model model) |
String |
search(String mode,
org.springframework.ui.Model model) |
Object |
toSearchResultJson(Object object) |
String |
update(org.egov.assets.model.AssetCategory assetCategory,
org.springframework.validation.BindingResult errors,
org.springframework.ui.Model model,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs) |
String |
view(Long id,
org.springframework.ui.Model model) |
@RequestMapping(value="/new",
method=GET)
public String newForm(org.springframework.ui.Model model)
@RequestMapping(value="/create",
method=POST)
public String create(@ModelAttribute
org.egov.assets.model.AssetCategory assetCategory,
org.springframework.validation.BindingResult errors,
org.springframework.ui.Model model,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs)
@RequestMapping(value="/edit/{id}",
method=GET)
public String edit(@PathVariable(value="id")
Long id,
org.springframework.ui.Model model)
@RequestMapping(value="/update",
method=POST)
public String update(@ModelAttribute
org.egov.assets.model.AssetCategory assetCategory,
org.springframework.validation.BindingResult errors,
org.springframework.ui.Model model,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs)
@RequestMapping(value="/view/{id}",
method=GET)
public String view(@PathVariable(value="id")
Long id,
org.springframework.ui.Model model)
@RequestMapping(value="/properties/{id}",
method=GET)
public String properties(@PathVariable(value="id")
Long id,
org.springframework.ui.Model model)
@RequestMapping(value="/result/{id}",
method=GET)
public String result(@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="/ajaxsearch/{mode}",
method=POST,
produces="text/plain")
@ResponseBody
public String ajaxsearch(@PathVariable(value="mode")
String mode,
org.springframework.ui.Model model,
@ModelAttribute
org.egov.assets.model.AssetCategory assetCategory)
@RequestMapping(value="/getParentAccounts/{parentId}",
method=GET)
@ResponseBody
public String getParentAccounts(@PathVariable(value="parentId")
Long parentId)
@RequestMapping(value="/masterdata",
method=GET)
@ResponseBody
public String fetchMasterData(@RequestParam(value="id")
Long id,
@RequestParam(value="value")
String value)
@RequestMapping(value="/categoryproperty/delete",
method=GET)
@ResponseBody
public void deleteCategoryProperty(@RequestParam(value="categoryPropertyId")
Long categoryPropertyId)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.