@Service @Transactional(readOnly=true) public class WaterDemandConnectionService extends Object
| Modifier and Type | Field and Description |
|---|---|
protected WaterDemandConnectionRepository |
waterDemandConnectionRepository |
| Constructor and Description |
|---|
WaterDemandConnectionService(WaterDemandConnectionRepository waterDemandConnectionRepository) |
| Modifier and Type | Method and Description |
|---|---|
WaterDemandConnection |
createWaterDemandConnection(WaterDemandConnection waterDemandConnection) |
List<WaterDemandConnection> |
findAll() |
List<WaterDemandConnection> |
findByWaterConnectionDetails(WaterConnectionDetails waterConnectionDetails) |
WaterDemandConnection |
findByWaterConnectionDetailsAndDemand(WaterConnectionDetails waterConnectionDetails,
org.egov.demand.model.EgDemand demand) |
org.hibernate.Session |
getCurrentSession() |
WaterDemandConnection |
load(Long id) |
void |
updateWaterDemandConnection(WaterDemandConnection waterDemandConnection) |
protected WaterDemandConnectionRepository waterDemandConnectionRepository
@Autowired public WaterDemandConnectionService(WaterDemandConnectionRepository waterDemandConnectionRepository)
public List<WaterDemandConnection> findByWaterConnectionDetails(WaterConnectionDetails waterConnectionDetails)
public List<WaterDemandConnection> findAll()
public WaterDemandConnection load(Long id)
public WaterDemandConnection findByWaterConnectionDetailsAndDemand(WaterConnectionDetails waterConnectionDetails, org.egov.demand.model.EgDemand demand)
public org.hibernate.Session getCurrentSession()
@Transactional public WaterDemandConnection createWaterDemandConnection(WaterDemandConnection waterDemandConnection)
@Transactional public void updateWaterDemandConnection(WaterDemandConnection waterDemandConnection)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.