@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) |
String |
findAllAccountCodes(String glcode) |
List<String> |
findEntitesByAccountDetailType(String name,
String accountDetailType) |
List<String> |
findFunctionNames(String name) |
BigDecimal |
getAccountBalance(String bankAccountId,
String voucherDate) |
List<org.egov.commons.Accountdetailtype> |
getAccountDetailTypesByGlcodeId(String glcodeId) |
List<org.egov.commons.Bankaccount> |
getAccountnoForPayment(String bankBranchId,
String fundId) |
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<String> |
getArfNumber(String advanceRequisitionNumber) |
List<org.egov.commons.Bankbranch> |
getBankbranchesByBankId(String bankId) |
List<org.egov.infra.admin.master.entity.AppConfigValues> |
getCheckListByBillSubType(String billSubType) |
String |
getNetPayableCodesByAccountDetailType(String accountDetailType) |
List<org.egov.commons.EgPartytype> |
getPartytype(String advanceRqnNumber) |
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)
@RequestMapping(value="/getallaccountcodes",
method=GET,
produces="application/json")
@ResponseBody
public String findAllAccountCodes(@RequestParam
String glcode)
@RequestMapping(value="/getaccountdetailtypesbyglcodeid",
method=GET)
@ResponseBody
public List<org.egov.commons.Accountdetailtype> getAccountDetailTypesByGlcodeId(@RequestParam(value="glcodeId")
String glcodeId)
throws org.egov.infra.exception.ApplicationException
org.egov.infra.exception.ApplicationException@RequestMapping(value="/getbankbranchesbybankid",
method=GET)
@ResponseBody
public List<org.egov.commons.Bankbranch> getBankbranchesByBankId(@RequestParam(value="bankId")
String bankId)
throws org.egov.infra.exception.ApplicationException
org.egov.infra.exception.ApplicationExceptionpublic static <T> String toJSON(Collection<T> objects, Class<? extends T> objectClazz, Class<? extends com.google.gson.JsonSerializer<T>> adptorClazz)
@RequestMapping(value="/ajaxarfnumbers-searcharf",
method=GET,
produces="application/json")
@ResponseBody
public List<String> getArfNumber(@RequestParam
String advanceRequisitionNumber)
@RequestMapping(value="/getpartytypebyarfnumber",
method=GET)
@ResponseBody
public List<org.egov.commons.EgPartytype> getPartytype(@RequestParam(value="advanceRqnNumber")
String advanceRqnNumber)
throws org.egov.infra.exception.ApplicationException
org.egov.infra.exception.ApplicationException@RequestMapping(value="/getaccountnobybranchidforpayment",
method=GET)
@ResponseBody
public List<org.egov.commons.Bankaccount> getAccountnoForPayment(@RequestParam(value="bankBranchId")
String bankBranchId,
@RequestParam(value="fundId")
String fundId)
throws org.egov.infra.exception.ApplicationException
org.egov.infra.exception.ApplicationException@RequestMapping(value="/getaccountbalance",
method=GET)
@ResponseBody
public BigDecimal getAccountBalance(@RequestParam(value="bankAccountId")
String bankAccountId,
@RequestParam(value="voucherDate")
String voucherDate)
throws org.egov.infra.exception.ApplicationException
org.egov.infra.exception.ApplicationExceptionCopyright © 2015–2017 eGovernments Foundation. All rights reserved.