@Repository(value="ptDemandDAO") public class PtDemandHibernateDao extends Object implements PtDemandDao
| Constructor and Description |
|---|
PtDemandHibernateDao() |
| Modifier and Type | Method and Description |
|---|---|
Ptdemand |
create(Ptdemand ptdemand) |
void |
delete(Ptdemand ptdemand) |
List |
findAll() |
Ptdemand |
findById(Integer id,
boolean lock) |
Map<org.egov.demand.model.EgDemandReason,BigDecimal> |
getAllDemands(BasicProperty basicProperty,
org.egov.infra.admin.master.entity.Boundary divBoundary)
This method called getAllDemands gets Map
|
List<BigDecimal> |
getCurrentAmountsFromBill(Long billId)
Gets the current 1) demand amount, 2) collected amount, 3) rebate amount
for the demand associated with the given bill ID.
|
BigDecimal |
getCurrentDemandforProperty(Property property)
This method called getCurrentDemandforProperty gets Total Current Demand
Amount .
|
Map<String,BigDecimal> |
getDemandCollMap(Property property)
This method returns Map contains Demand and Collection for current and
arrears years individually.
The return map will contain four key-value pairs described below. CURR_DMD - Current Year Demand. ARR_DMD - Current Year Collection. CURR_COLL - Total Arrears years Demand. ARR_COLL - Total Arrears years Collection. |
Map<String,BigDecimal> |
getDemandIncludingPenaltyCollMap(Property property) |
Set<String> |
getDemandYears(String assessmentNo)
Deprecated.
|
List |
getDmdDetailsByPropertyIdBoundary(BasicProperty basicProperty,
org.egov.infra.admin.master.entity.Boundary divBoundary)
This method called getDmdDetailsByPropertyIdBoundary gets DemandDetails
List .
|
Ptdemand |
getNonHistoryCurrDmdForProperty(Property property)
This method returns current installment non-history EgptPtdemand
|
Ptdemand |
getNonHistoryDemandForProperty(Property property)
This method called getNonHistoryDemandForProperty gets EgptPtdemand
Object which is NonHistory.
|
Map<String,BigDecimal> |
getPenaltyDemandCollMap(Property property) |
List<Object> |
getPropertyTaxDetails(String assessmentNo) |
List<Object> |
getTaxDetailsForWaterConnection(String consumerNo,
String connectionType) |
List |
getTransactionByBasicProperty(BasicProperty basicProperty,
org.egov.commons.Installment installment,
String is_cancelled) |
Ptdemand |
update(Ptdemand ptdemand) |
Character |
whetherBillExistsForProperty(Property property,
String billnum,
org.egov.infra.admin.master.entity.Module module)
This method called WhetherBillExistsForProperty gets Character .
|
public BigDecimal getCurrentDemandforProperty(Property property)
This method returns Total Current Demand for given property.
getCurrentDemandforProperty in interface PtDemandDaoorg - .egov.ptis.property.model.Property propertypublic Character whetherBillExistsForProperty(Property property, String billnum, org.egov.infra.admin.master.entity.Module module)
This method returns Character for given Property , billnum and Module.
whetherBillExistsForProperty in interface PtDemandDaoorg - .egov.ptis.property.model.Property propertyjava - .lang.Integer billnumorg - .egov.infstr.commons.Module modulepublic Ptdemand getNonHistoryDemandForProperty(Property property)
This method returns EgptPtdemand Object for given property .
getNonHistoryDemandForProperty in interface PtDemandDaoorg - .egov.ptis.property.model.Property propertypublic List getDmdDetailsByPropertyIdBoundary(BasicProperty basicProperty, org.egov.infra.admin.master.entity.Boundary divBoundary)
This method returns DemandDetails List for given BasicProperty Object & Boundary Object(Optional) .
getDmdDetailsByPropertyIdBoundary in interface PtDemandDaoorg - .egov.ptis.property.model.BasicProperty basicPropertyorg - .egov.lib.admbndry.Boundary divBoundarypublic List getTransactionByBasicProperty(BasicProperty basicProperty, org.egov.commons.Installment installment, String is_cancelled)
public Map<org.egov.demand.model.EgDemandReason,BigDecimal> getAllDemands(BasicProperty basicProperty, org.egov.infra.admin.master.entity.Boundary divBoundary)
This method returns Map of DemandReason Objects and DemandDetails amount for given BasicProperty & divBoundary .
getAllDemands in interface PtDemandDaoorg - .egov.ptis.property.model.BasicProperty BasicPropertyorg - .egov.lib.admbndry.Boundary divBoundarypublic List<BigDecimal> getCurrentAmountsFromBill(Long billId)
getCurrentAmountsFromBill in interface PtDemandDaopublic Map<String,BigDecimal> getDemandCollMap(Property property)
PtDemandDaogetDemandCollMap in interface PtDemandDaoproperty - - Current installment non history default property.public Map<String,BigDecimal> getPenaltyDemandCollMap(Property property)
getPenaltyDemandCollMap in interface PtDemandDaopublic Ptdemand getNonHistoryCurrDmdForProperty(Property property)
This method returns EgptPtdemand Object for given property .
getNonHistoryCurrDmdForProperty in interface PtDemandDaoorg - .egov.ptis.property.model.Property propertypublic List findAll()
findAll in interface PtDemandDaopublic Ptdemand findById(Integer id, boolean lock)
findById in interface PtDemandDaopublic Ptdemand create(Ptdemand ptdemand)
create in interface PtDemandDaopublic void delete(Ptdemand ptdemand)
delete in interface PtDemandDaopublic Ptdemand update(Ptdemand ptdemand)
update in interface PtDemandDaopublic List<Object> getPropertyTaxDetails(String assessmentNo)
getPropertyTaxDetails in interface PtDemandDaopublic List<Object> getTaxDetailsForWaterConnection(String consumerNo, String connectionType)
getTaxDetailsForWaterConnection in interface PtDemandDao@Deprecated public Set<String> getDemandYears(String assessmentNo)
getDemandYears in interface PtDemandDaopublic Map<String,BigDecimal> getDemandIncludingPenaltyCollMap(Property property)
getDemandIncludingPenaltyCollMap in interface PtDemandDaoCopyright © 2015–2017 eGovernments Foundation. All rights reserved.