@Service @Transactional(readOnly=true) public class DemandGenerationLogService extends Object
| Constructor and Description |
|---|
DemandGenerationLogService(DemandGenerationLogRepository demandGenerationLogRepository,
DemandGenerationLogDetailRepository demandGenerationLogDetailRepository) |
| Modifier and Type | Method and Description |
|---|---|
DemandGenerationLog |
createDemandGenerationLog(DemandGenerationLog demandGenerationLog) |
DemandGenerationLogDetail |
createDemandGenerationLogDetail(DemandGenerationLog demandGenerationLog,
License license) |
DemandGenerationLog |
findByInstallmentYear(String installmentYear) |
DemandGenerationLog |
updateDemandGenerationLog(DemandGenerationLog demandGenerationLog,
ProcessStatus executionStatus,
ProcessStatus demandGenerationStatus) |
void |
updateDemandGenerationLogDetail(DemandGenerationLogDetail demandGenerationLogDetail,
ProcessStatus status,
String details) |
@Autowired public DemandGenerationLogService(DemandGenerationLogRepository demandGenerationLogRepository, DemandGenerationLogDetailRepository demandGenerationLogDetailRepository)
public DemandGenerationLog findByInstallmentYear(String installmentYear)
@Transactional(propagation=REQUIRES_NEW) public DemandGenerationLog createDemandGenerationLog(DemandGenerationLog demandGenerationLog)
@Transactional(propagation=REQUIRES_NEW) public DemandGenerationLogDetail createDemandGenerationLogDetail(DemandGenerationLog demandGenerationLog, License license)
@Transactional(propagation=REQUIRES_NEW) public void updateDemandGenerationLogDetail(DemandGenerationLogDetail demandGenerationLogDetail, ProcessStatus status, String details)
public DemandGenerationLog updateDemandGenerationLog(DemandGenerationLog demandGenerationLog, ProcessStatus executionStatus, ProcessStatus demandGenerationStatus)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.