1
|
package eu.dnetlib.goldoa.service;
|
2
|
|
3
|
import eu.dnetlib.goldoa.domain.BankTransferReceipt;
|
4
|
import eu.dnetlib.goldoa.domain.ManagerException;
|
5
|
import eu.dnetlib.goldoa.service.dao.BankTransferReceiptDao;
|
6
|
import org.springframework.beans.factory.annotation.Autowired;
|
7
|
import org.springframework.stereotype.Service;
|
8
|
import org.springframework.transaction.annotation.Transactional;
|
9
|
|
10
|
/**
|
11
|
* Created by panagiotis on 14/12/2017.
|
12
|
*/
|
13
|
@Transactional
|
14
|
@Service("bankTransferReceiptManager")
|
15
|
public class BankTransferReceiptManagerImpl implements BankTransferReceiptManager {
|
16
|
|
17
|
@Autowired
|
18
|
private BankTransferReceiptDao bankTransferReceiptDAO;
|
19
|
|
20
|
@Override
|
21
|
public BankTransferReceipt getBankTransferReceipt(String id) throws ManagerException {
|
22
|
return bankTransferReceiptDAO.getById(id);
|
23
|
}
|
24
|
}
|