@Service @Transactional(readOnly=true) public class DonationMasterService extends Object
| Constructor and Description |
|---|
DonationMasterService(DonationMasterRepository donationMasterRepository) |
@Autowired public DonationMasterService(DonationMasterRepository donationMasterRepository)
public DonationMaster findById(Long id)
@Transactional public DonationMaster create(DonationMaster donationMaster)
@Transactional public void update(DonationMaster donationMaster)
public List<DonationMaster> findAll()
public List<DonationMaster> findAllByPropertyType(PropertyType propertyType)
public DonationMaster load(Long id)
public DonationMaster findByPropertyTypeAndFromDateAndActive(PropertyType propertyType, Date fromDate, boolean active)
public DonationMaster findByPropertyTypeAndActive(PropertyType propertyType, boolean active)
public BigDecimal getDonationAmountByNoOfClosetsAndPropertytypeForCurrentDate(Integer noOfClosetsResidential, PropertyType propertyType)
public List<DonationMaster> getLatestActiveRecordByPropertyTypeAndActive(PropertyType propertyType, boolean active)
public List<DonationMasterSearch> getDonationMasters(PropertyType propertyType, String date, String status) throws ParseException
ParseException@Transactional public DonationMaster createDonationRate(DonationMaster donationMaster)
@Transactional public void delete(DonationMaster donationMaster)
public List<DonationMaster> searchConnectionRecordsBySearchParams(PropertyType propertyType, String date, String status)
public List<Date> findFromDateByPropertyType(PropertyType propertyType)
public String checkClosetsPresentForGivenCombination(PropertyType propertyType, Integer noofclosets)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.