public class GeneralLedgerHibernateDAO extends Object implements GeneralLedgerDAO
| Constructor and Description |
|---|
GeneralLedgerHibernateDAO() |
| Modifier and Type | Method and Description |
|---|---|
CGeneralLedger |
create(CGeneralLedger entity) |
void |
delete(CGeneralLedger entity) |
List<CGeneralLedger> |
findAll() |
CGeneralLedger |
findById(Number id,
boolean lock) |
List<CGeneralLedger> |
findCGeneralLedgerByVoucherHeaderId(Long voucherHeaderId) |
String |
getActualsDecCurr(String accCode,
String functionId,
String budgetingType)
This method will calculate the Actuals upto december of the current year.
|
String |
getActualsPrev(String accCode,
String functionId,
String budgetingType)
This method will calculate the Actuals for the previous year.
|
String |
getCBillDeductionAmtByVhId(Long voucherHeaderId) |
org.hibernate.Session |
getCurrentSession() |
BigDecimal |
getGlAmountbyGlcodeList(List glCodeList,
BigDecimal glAmount) |
BigDecimal |
getGlAmountForBudgetingType(Long budType,
List glcodeList,
String finYearID,
String functionId,
String schemeId,
String subSchemeId,
String asOnDate) |
CGeneralLedger |
update(CGeneralLedger entity) |
@Transactional public CGeneralLedger update(CGeneralLedger entity)
@Transactional public CGeneralLedger create(CGeneralLedger entity)
@Transactional public void delete(CGeneralLedger entity)
public CGeneralLedger findById(Number id, boolean lock)
public List<CGeneralLedger> findAll()
public org.hibernate.Session getCurrentSession()
public String getActualsPrev(String accCode, String functionId, String budgetingType) throws Exception
getActualsPrev in interface GeneralLedgerDAOExceptionpublic String getActualsDecCurr(String accCode, String functionId, String budgetingType) throws Exception
getActualsDecCurr in interface GeneralLedgerDAOExceptionpublic List<CGeneralLedger> findCGeneralLedgerByVoucherHeaderId(Long voucherHeaderId)
findCGeneralLedgerByVoucherHeaderId in interface GeneralLedgerDAOpublic String getCBillDeductionAmtByVhId(Long voucherHeaderId)
getCBillDeductionAmtByVhId in interface GeneralLedgerDAOpublic BigDecimal getGlAmountForBudgetingType(Long budType, List glcodeList, String finYearID, String functionId, String schemeId, String subSchemeId, String asOnDate) throws Exception
getGlAmountForBudgetingType in interface GeneralLedgerDAOExceptionpublic BigDecimal getGlAmountbyGlcodeList(List glCodeList, BigDecimal glAmount) throws Exception
getGlAmountbyGlcodeList in interface GeneralLedgerDAOExceptionCopyright © 2015–2016 eGovernments Foundation. All rights reserved.