@Controller @RequestMapping(value="/common") public class AjaxCommonController extends Object
| Constructor and Description |
|---|
AjaxCommonController() |
| Modifier and Type | Method and Description |
|---|---|
String |
findAccountCodesForAccountDetailType(String glcode,
String accountDetailType) |
List<String> |
findEntitesByAccountDetailType(String name,
String accountDetailType) |
List<String> |
findFunctionNames(String name) |
List<org.egov.commons.Fundsource> |
getAllFundSourcesBySubSchemeId(String subSchemeId) |
List<org.egov.commons.Scheme> |
getAllSchemesByFundId(String fundId) |
List<org.egov.commons.SubScheme> |
getAllSubSchemesBySchemeId(String schemeId) |
List<org.egov.infra.admin.master.entity.AppConfigValues> |
getCheckListByBillSubType(String billSubType) |
String |
getNetPayableCodesByAccountDetailType(String accountDetailType) |
static <T> String |
toJSON(Collection<T> objects,
Class<? extends T> objectClazz,
Class<? extends com.google.gson.JsonSerializer<T>> adptorClazz) |
@RequestMapping(value="/getschemesbyfundid",
method=GET)
@ResponseBody
public List<org.egov.commons.Scheme> getAllSchemesByFundId(@RequestParam(value="fundId")
String fundId)
throws org.egov.infra.exception.ApplicationException
org.egov.infra.exception.ApplicationException@RequestMapping(value="/getsubschemesbyschemeid",
method=GET)
@ResponseBody
public List<org.egov.commons.SubScheme> getAllSubSchemesBySchemeId(@RequestParam(value="schemeId")
String schemeId)
throws org.egov.infra.exception.ApplicationException
org.egov.infra.exception.ApplicationException@RequestMapping(value="/getfundsourcesbysubschemeid",
method=GET)
@ResponseBody
public List<org.egov.commons.Fundsource> getAllFundSourcesBySubSchemeId(@RequestParam(value="subSchemeId")
String subSchemeId)
throws org.egov.infra.exception.ApplicationException
org.egov.infra.exception.ApplicationException@RequestMapping(value="/ajaxfunctionnames",
method=GET,
produces="application/json")
@ResponseBody
public List<String> findFunctionNames(@RequestParam
String name)
@RequestMapping(value="/getentitesbyaccountdetailtype",
method=GET,
produces="application/json")
@ResponseBody
public List<String> findEntitesByAccountDetailType(@RequestParam
String name,
@RequestParam
String accountDetailType)
@RequestMapping(value="/getaccountcodesforaccountdetailtype",
method=GET,
produces="application/json")
@ResponseBody
public String findAccountCodesForAccountDetailType(@RequestParam
String glcode,
@RequestParam
String accountDetailType)
@RequestMapping(value="/getnetpayablecodesbyaccountdetailtype",
method=GET,
produces="application/json")
@ResponseBody
public String getNetPayableCodesByAccountDetailType(@RequestParam(value="accountDetailType")
String accountDetailType)
throws org.egov.infra.exception.ApplicationException
org.egov.infra.exception.ApplicationException@RequestMapping(value="/getchecklistbybillsubtype",
method=GET,
produces="application/json")
@ResponseBody
public List<org.egov.infra.admin.master.entity.AppConfigValues> getCheckListByBillSubType(@RequestParam(value="billSubType")
String billSubType)
public static <T> String toJSON(Collection<T> objects, Class<? extends T> objectClazz, Class<? extends com.google.gson.JsonSerializer<T>> adptorClazz)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.