@Repository(value="propertyDAO") public class PropertyHibernateDAO extends Object implements PropertyDAO
| Constructor and Description |
|---|
PropertyHibernateDAO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkIfPropCountExceeds500(List bndryList)
This method checks if Count of Properties exceed 500
|
Property |
create(Property property) |
void |
delete(Property property) |
List<Property> |
findAll() |
Property |
findById(Integer id,
boolean lock) |
List |
getAllDemands(BasicProperty basicProperty)
Method called to get all the Demands(i.,e including the history and non
history) for a BasicProperty.
|
List |
getAllHistories(BasicProperty bp,
PropertySource src) |
List |
getAllNonDefaultProperties(BasicProperty basicProperty) |
List |
getAllNonHistoryPropertiesForSrc(BasicProperty basicProperty,
PropertySource src) |
List |
getAllProperties(BasicProperty basicProperty) |
List |
getAllPropertiesForGivenBndryListAndSrc(List bndryList,
String src) |
List |
getAllPropertiesForGivenBndryListSrcAndInst(List bndryList,
String src,
org.egov.commons.Installment inst) |
List |
getBasicPropertyListByDcNo(String dcNo) |
List |
getDmdCollAmtInstWise(org.egov.demand.model.EgDemand egDemand) |
List |
getDmdCollForAllDmdReasons(org.egov.demand.model.EgDemand egDemand)
Returns installment wise demand and collection for all the Demand reasons
|
List |
getDmdDetIdFromInstallandEgDemand(org.egov.commons.Installment installment,
org.egov.demand.model.EgDemand egDemand)
Called to get the EgDemandDetails Id From Installment and Egdemand.
|
List |
getDmdDetIdFromInstallandEgDemand(org.egov.commons.Installment installment,
org.egov.demand.model.EgDemand egDemand,
String demandReasonMasterCode)
Method called to get EgDemandDetails Ids based on given
EgDemand,Installment and Mastercode.
|
BigDecimal |
getEgptPropertyFromBillId(Long billId)
Method called to get the EgptProperty Id from the Bill Id.Property is
linked with EgDemand which internally linked with egBill.
|
List |
getOnlineDateByWardID(Integer wardId)
This method gives the OnlineWards object for given wardID
|
org.egov.portal.entity.Citizen |
getOwnerByOwnerId(Long citizenId) |
List |
getPenaltyDmdCollAmtInstWise(org.egov.demand.model.EgDemand egDemand) |
Property |
getPropertyByBasicPropertyID(BasicProperty basicProperty) |
Property |
getPropertyByID(String propID) |
Property |
getPropertyBySource(String src) |
Property |
getPropertyBySrcAndBp(BasicProperty basicProperty,
PropertySource src) |
List |
getPropertyCollection(String propertyId) |
List |
getPropertyDemand(String propertyId) |
Property |
getPropertyForInstallment(BasicProperty basicProperty,
org.egov.commons.Installment insatllment,
PropertySource src)
This is used to get a unique property based on 3 parameters
BasicProperty,assessmentYearand ProeprtySource, may throw exception in
case of multiple resultset.
|
List |
getPropertyRebate(String propertyId) |
List |
getPropMaterlizeViewList(org.hibernate.criterion.Projection projection,
org.hibernate.criterion.Criterion criterion,
org.hibernate.criterion.Order order)
To get the list of required values as of the Projection,restriction and
order in which the client passes as parameters.All these values are taken
from PropertyMaterlizeView table.
|
List |
getPropsMrkdForDeactByWard(org.egov.infra.admin.master.entity.Boundary boundary) |
List |
getPTDemandArvByNoticeNumber(String noticeNo) |
List |
getPtDemandArvProposedList(Property property)
This is used to get all the proposed arv's for that particular property.
|
List |
getResultsList(Class classObj,
org.hibernate.criterion.Projection projection,
org.hibernate.criterion.Criterion criterion,
org.hibernate.criterion.Order order)
To get the list of required values as of the Projection,restriction and
order in which the client passes as parameters..
|
List |
getResultsList(org.hibernate.criterion.DetachedCriteria detachedCriteria)
To get the list of required values
|
List |
getTotalDemandDetailsIncludingPenalty(org.egov.demand.model.EgDemand egDemand) |
List |
getWardWiseProperties() |
Property |
update(Property property) |
public Property getPropertyByID(String propID)
getPropertyByID in interface PropertyDAOpublic Property getPropertyByBasicPropertyID(BasicProperty basicProperty)
getPropertyByBasicPropertyID in interface PropertyDAOpublic List getOnlineDateByWardID(Integer wardId)
getOnlineDateByWardID in interface PropertyDAOwardId - public List getAllNonDefaultProperties(BasicProperty basicProperty)
getAllNonDefaultProperties in interface PropertyDAOpublic List getAllProperties(BasicProperty basicProperty)
getAllProperties in interface PropertyDAOpublic Property getPropertyForInstallment(BasicProperty basicProperty, org.egov.commons.Installment insatllment, PropertySource src)
getPropertyForInstallment in interface PropertyDAOpublic List getAllHistories(BasicProperty bp, PropertySource src)
getAllHistories in interface PropertyDAOpublic List getWardWiseProperties()
getWardWiseProperties in interface PropertyDAOpublic Property getPropertyBySource(String src)
getPropertyBySource in interface PropertyDAOpublic List getAllPropertiesForGivenBndryListAndSrc(List bndryList, String src)
getAllPropertiesForGivenBndryListAndSrc in interface PropertyDAOpublic List getAllPropertiesForGivenBndryListSrcAndInst(List bndryList, String src, org.egov.commons.Installment inst)
getAllPropertiesForGivenBndryListSrcAndInst in interface PropertyDAOpublic List getAllNonHistoryPropertiesForSrc(BasicProperty basicProperty, PropertySource src)
getAllNonHistoryPropertiesForSrc in interface PropertyDAOpublic Property getPropertyBySrcAndBp(BasicProperty basicProperty, PropertySource src) throws org.egov.infra.exception.ApplicationRuntimeException
getPropertyBySrcAndBp in interface PropertyDAOorg.egov.infra.exception.ApplicationRuntimeExceptionpublic boolean checkIfPropCountExceeds500(List bndryList) throws org.egov.infra.exception.ApplicationRuntimeException
checkIfPropCountExceeds500 in interface PropertyDAObndryList - org.egov.infra.exception.ApplicationRuntimeExceptionpublic List getBasicPropertyListByDcNo(String dcNo) throws org.egov.infra.exception.ApplicationRuntimeException
getBasicPropertyListByDcNo in interface PropertyDAOorg.egov.infra.exception.ApplicationRuntimeExceptionpublic List getPtDemandArvProposedList(Property property)
getPtDemandArvProposedList in interface PropertyDAOpublic org.egov.portal.entity.Citizen getOwnerByOwnerId(Long citizenId)
getOwnerByOwnerId in interface PropertyDAOpublic List getPropertyDemand(String propertyId)
getPropertyDemand in interface PropertyDAOpublic List getPropertyRebate(String propertyId)
getPropertyRebate in interface PropertyDAOpublic List getPropertyCollection(String propertyId)
getPropertyCollection in interface PropertyDAOpublic List getPTDemandArvByNoticeNumber(String noticeNo)
getPTDemandArvByNoticeNumber in interface PropertyDAOpublic List getPropsMrkdForDeactByWard(org.egov.infra.admin.master.entity.Boundary boundary) throws PropertyNotFoundException
getPropsMrkdForDeactByWard in interface PropertyDAOPropertyNotFoundExceptionpublic List getPropMaterlizeViewList(org.hibernate.criterion.Projection projection, org.hibernate.criterion.Criterion criterion, org.hibernate.criterion.Order order)
getPropMaterlizeViewList in interface PropertyDAOorg - .hibernate.criterion.Projection projectionorg - .hibernate.criterion.Criterion criterionorg - .hibernate.criterion.Order orderpublic List getResultsList(Class classObj, org.hibernate.criterion.Projection projection, org.hibernate.criterion.Criterion criterion, org.hibernate.criterion.Order order)
getResultsList in interface PropertyDAOClass - classObjorg - .hibernate.criterion.Projection classObjorg - .hibernate.criterion.Criterion criterionorg - .hibernate.criterion.Order orderpublic List getResultsList(org.hibernate.criterion.DetachedCriteria detachedCriteria)
getResultsList in interface PropertyDAOorg - .hibernate.criterion.DetachedCriteria detachedCriteriapublic List getDmdCollAmtInstWise(org.egov.demand.model.EgDemand egDemand)
getDmdCollAmtInstWise in interface PropertyDAOpublic List getPenaltyDmdCollAmtInstWise(org.egov.demand.model.EgDemand egDemand)
getPenaltyDmdCollAmtInstWise in interface PropertyDAOpublic List getDmdDetIdFromInstallandEgDemand(org.egov.commons.Installment installment, org.egov.demand.model.EgDemand egDemand)
PropertyDAOgetDmdDetIdFromInstallandEgDemand in interface PropertyDAOpublic BigDecimal getEgptPropertyFromBillId(Long billId)
getEgptPropertyFromBillId in interface PropertyDAObillId - - Id of the EgBill Object .public List getAllDemands(BasicProperty basicProperty)
getAllDemands in interface PropertyDAObasicProperty - - BasicProperty Object in which Demands needs are to retrievedpublic List getDmdDetIdFromInstallandEgDemand(org.egov.commons.Installment installment, org.egov.demand.model.EgDemand egDemand, String demandReasonMasterCode)
getDmdDetIdFromInstallandEgDemand in interface PropertyDAOinstallment - - Installment in which DemandDetail belongs.egDemand - -EgDemand Object.demandReasonMasterCode - - EgDemandReasonMaster codepublic List getDmdCollForAllDmdReasons(org.egov.demand.model.EgDemand egDemand)
getDmdCollForAllDmdReasons in interface PropertyDAOegDemand - -EgDemand Object.public List getTotalDemandDetailsIncludingPenalty(org.egov.demand.model.EgDemand egDemand)
getTotalDemandDetailsIncludingPenalty in interface PropertyDAOpublic Property findById(Integer id, boolean lock)
findById in interface PropertyDAOpublic List<Property> findAll()
findAll in interface PropertyDAOpublic Property create(Property property)
create in interface PropertyDAOpublic void delete(Property property)
delete in interface PropertyDAOpublic Property update(Property property)
update in interface PropertyDAOCopyright © 2015–2017 eGovernments Foundation. All rights reserved.