@Repository(value="demandGenericDAO") public class DemandGenericHibDao extends Object implements DemandGenericDao
| Constructor and Description |
|---|
DemandGenericHibDao() |
| Modifier and Type | Method and Description |
|---|---|
List<EgBill> |
getAllBillsForDemand(EgDemand demand,
String includeHistory,
String includeCancelled)
This method called getAllBillsForDemand gets List
|
List<EgdmCollectedReceipt> |
getAllEgdmCollectedReceipts(String receiptNo)
Method called to get all EgdmCollectedReceipts with given receiptNumber.
|
BigDecimal |
getBalanceByDmdMasterCode(EgDemand demand,
String dmdReasonMasterCode,
org.egov.infra.admin.master.entity.Module module)
Method called to get the balance Amount for the given Demand reason
Master Code ,module and demand Installment will be taken from EgDemand.
|
BigDecimal |
getBalanceByDmdMasterCodeInst(EgDemand demand,
String dmdReasonMasterCode,
org.egov.infra.admin.master.entity.Module module,
org.egov.commons.Installment installment)
Method called to get the balance Amount for the given Demand reason
Master Code ,Module and Installment.
|
List<BillReceipt> |
getBillReceipts(EgDemand egDemand)
Method called to get Receipt Details.
|
List<BillReceipt> |
getBillReceipts(List<EgDemand> egDemand)
Method called to get all the Bill Receipt Objects which exists for the
Demands .
|
List |
getBillsByBillNumber(String BillNo,
org.egov.infra.admin.master.entity.Module module)
This method called getBillsByBillNumber gets List
|
List |
getDCB(EgDemand egDemand,
org.egov.infra.admin.master.entity.Module module)
Method called to get DCB(Demand and collection Totals with Some Basic
Info).
|
List |
getDCBByReasonCode(EgDemand egDemand,
org.egov.infra.admin.master.entity.Module module,
String reasonCode) |
List<EgDemandDetails> |
getDemandDetailsForDemand(EgDemand demand,
org.egov.commons.EgwStatus status)
This method called getDemandDetailsForDemand gets List
|
List<EgDemandDetails> |
getDemandDetailsForDemandAndReasons(EgDemand demand,
List<EgDemandReason> demandReasonList)
This method called getDemandDetailsForDemandAndReasons gets
List
|
List<EgDemandReason> |
getDemandReasonByDemandReasonMaster(EgDemandReasonMaster egDemandReasonMaster)
This method called getDemandReasonByDemandReasonMaster gets
List
|
List<EgDemandReason> |
getDemandReasonByInstallmentAndModule(org.egov.commons.Installment installment,
org.egov.infra.admin.master.entity.Module module)
This method called getDemandReasonByInstallmentAndModule gets
List
|
List<EgDemandReasonMaster> |
getDemandReasonMasterByCategoryAndModule(EgReasonCategory egReasonCategory,
org.egov.infra.admin.master.entity.Module module)
This method called getDemandReasonMasterByCategoryAndModule gets
List
|
EgDemandReasonMaster |
getDemandReasonMasterByCode(String code,
org.egov.infra.admin.master.entity.Module module)
This method called getDemandReasonMasterByCode gets EgDemandReasonMaster
object.
|
List<EgDemandReasonMaster> |
getDemandReasonMasterByModule(org.egov.infra.admin.master.entity.Module module)
This method called getDemandReasonMasterByModule gets
List
|
List |
getDmdAmtAndCollAmt(EgDemand egDemand,
org.egov.commons.Installment installment)
Called to get the Sum of Demand and Sum of Collection with installment
and EgDemand .
|
List<EgDemandDetails> |
getDmdDetailList(EgDemand egDemand,
org.egov.commons.Installment installment,
org.egov.infra.admin.master.entity.Module module,
EgDemandReasonMaster dmdResMster)
Called to get the EgDemandDetails Ids fron EG_DEMAND_DETAILS table .
|
EgDemandReason |
getDmdReasonByDmdReasonMsterInstallAndMod(EgDemandReasonMaster demandReasonMaster,
org.egov.commons.Installment installment,
org.egov.infra.admin.master.entity.Module module)
This method called getDmdReasonByDmdReasonMsterInstallAndMod gets
EgDemandReason object.
|
EgDemandReason |
getEgDemandReasonByCodeInstallmentModule(String demandReasonMasterCode,
org.egov.commons.Installment installment,
org.egov.infra.admin.master.entity.Module module,
String egReasonCategoryCode) |
List |
getEgDemandReasonMasterIds(EgDemand egDemand)
Method called to get ReasonMaster IDs of the Demand which is provided.
|
List<EgReasonCategory> |
getEgReasonCategoryByCode(String code)
This method called getEgReasonCategoryByCode gets List
|
EgReasonCategory |
getReasonCategoryByCode(String code)
getReasonCategoryByCode gets List
|
List |
getReasonWiseDCB(EgDemand egDemand,
org.egov.infra.admin.master.entity.Module module)
Called to get Reasonwise Demand & collection details
|
public List<EgDemandReasonMaster> getDemandReasonMasterByModule(org.egov.infra.admin.master.entity.Module module)
This method returns List
getDemandReasonMasterByModule in interface DemandGenericDaoorg - .egov.infstr.commons.Module module.public List<EgDemandReasonMaster> getDemandReasonMasterByCategoryAndModule(EgReasonCategory egReasonCategory, org.egov.infra.admin.master.entity.Module module)
This method returns List
getDemandReasonMasterByCategoryAndModule in interface DemandGenericDaoorg - .egov.infstr.DCB.model.EgReasonCategory egReasonCategory.org - .egov.infstr.commons.Module module.public EgDemandReasonMaster getDemandReasonMasterByCode(String code, org.egov.infra.admin.master.entity.Module module)
This method returns EgDemandReasonMaster object for given code and module.
getDemandReasonMasterByCode in interface DemandGenericDaojava - .lang.Integer code.org - .egov.infstr.commons.Module module.public List<EgDemandReason> getDemandReasonByInstallmentAndModule(org.egov.commons.Installment installment, org.egov.infra.admin.master.entity.Module module)
This method returns List
getDemandReasonByInstallmentAndModule in interface DemandGenericDaoorg - .egov.commons.Installment installment.org - .egov.infstr.commons.Module module.public List<EgDemandReason> getDemandReasonByDemandReasonMaster(EgDemandReasonMaster egDemandReasonMaster)
This method returns List
getDemandReasonByDemandReasonMaster in interface DemandGenericDaoorg - .egov.infstr.DCB.model.EgDemandReasonMaster
egDemandReasonMaster.public List<EgReasonCategory> getEgReasonCategoryByCode(String code)
This method returns List
getEgReasonCategoryByCode in interface DemandGenericDaojava - .lang.String code.public EgDemandReason getDmdReasonByDmdReasonMsterInstallAndMod(EgDemandReasonMaster demandReasonMaster, org.egov.commons.Installment installment, org.egov.infra.admin.master.entity.Module module)
This method returns EgDemandReason object for given demandReasonMaster , installment and module.
getDmdReasonByDmdReasonMsterInstallAndMod in interface DemandGenericDaoorg - .egov.infstr.DCB.model.EgDemandReasonMaster
egDemandReasonMaster.org - .egov.commons.Installment installment.org - .egov.infstr.commons.Module module.public List<EgDemandDetails> getDemandDetailsForDemand(EgDemand demand, org.egov.commons.EgwStatus status)
This method returns List
getDemandDetailsForDemand in interface DemandGenericDaoorg - .egov.infstr.DCB.model.EgDemand demand.org - .egov.commons.EgwStatus status.public List<EgDemandDetails> getDemandDetailsForDemandAndReasons(EgDemand demand, List<EgDemandReason> demandReasonList)
This method returns List
getDemandDetailsForDemandAndReasons in interface DemandGenericDaoorg - .egov.infstr.DCB.model.EgDemand demand.java - .util.Listpublic List<EgBill> getAllBillsForDemand(EgDemand demand, String includeHistory, String includeCancelled)
This method returns List
getAllBillsForDemand in interface DemandGenericDaoorg - .egov.infstr.DCB.model.EgDemand demand.java - .lang.String includeHistory.java - .lang.String includeCancelled.public List getBillsByBillNumber(String BillNo, org.egov.infra.admin.master.entity.Module module)
This method returns List
getBillsByBillNumber in interface DemandGenericDaoorg - .egov.infstr.commons.Module module.java - .lang.Long BillNo.public List getDmdAmtAndCollAmt(EgDemand egDemand, org.egov.commons.Installment installment)
getDmdAmtAndCollAmt in interface DemandGenericDaooorg - .egov.demand.model.EgDemand.org - .egov.commons.installmentpublic List<EgDemandDetails> getDmdDetailList(EgDemand egDemand, org.egov.commons.Installment installment, org.egov.infra.admin.master.entity.Module module, EgDemandReasonMaster dmdResMster)
getDmdDetailList in interface DemandGenericDaooorg - .egov.demand.model.EgDemand.org - .egov.commons.installmentorg - .egov.infstr.commons.Moduleorg - .egov.demand.model.EgDemandReasonMasterpublic List getDCB(EgDemand egDemand, org.egov.infra.admin.master.entity.Module module)
getDCB in interface DemandGenericDaoorg - .egov.demand.model.EgDemandorg - .egov.infstr.commons.Modulepublic List getReasonWiseDCB(EgDemand egDemand, org.egov.infra.admin.master.entity.Module module)
org - .egov.demand.model.EgDemandorg - .egov.infstr.commons.Modulepublic List getEgDemandReasonMasterIds(EgDemand egDemand)
getEgDemandReasonMasterIds in interface DemandGenericDaoorg - .egov.demand.model.EgDemandpublic List<BillReceipt> getBillReceipts(EgDemand egDemand)
getBillReceipts in interface DemandGenericDaoorg - .egov.demand.model.EgDemandpublic List<BillReceipt> getBillReceipts(List<EgDemand> egDemand)
getBillReceipts in interface DemandGenericDaopublic EgReasonCategory getReasonCategoryByCode(String code)
This method returns List
getReasonCategoryByCode in interface DemandGenericDaocode - .public EgDemandReason getEgDemandReasonByCodeInstallmentModule(String demandReasonMasterCode, org.egov.commons.Installment installment, org.egov.infra.admin.master.entity.Module module, String egReasonCategoryCode)
getEgDemandReasonByCodeInstallmentModule in interface DemandGenericDaopublic BigDecimal getBalanceByDmdMasterCode(EgDemand demand, String dmdReasonMasterCode, org.egov.infra.admin.master.entity.Module module)
getBalanceByDmdMasterCode in interface DemandGenericDaodemand - - EgDemand Object.dmdReasonMasterCode - - Code of the EgDemandReasonMastermodule - - EgModule objectpublic List<EgdmCollectedReceipt> getAllEgdmCollectedReceipts(String receiptNo)
DemandGenericDaogetAllEgdmCollectedReceipts in interface DemandGenericDaopublic List getDCBByReasonCode(EgDemand egDemand, org.egov.infra.admin.master.entity.Module module, String reasonCode)
egDemand - module - reasonCode - public BigDecimal getBalanceByDmdMasterCodeInst(EgDemand demand, String dmdReasonMasterCode, org.egov.infra.admin.master.entity.Module module, org.egov.commons.Installment installment)
getBalanceByDmdMasterCodeInst in interface DemandGenericDaodemand - - EgDemand Object.dmdReasonMasterCode - - Code of the EgDemandReasonMastermodule - - EgModule objectinstallment - - Installment of the demand detailsCopyright © 2015–2016 eGovernments Foundation. All rights reserved.