@Service @Transactional public class BankAccountServiceImpl extends java.lang.Object implements BankAccountService
Constructor and Description |
---|
BankAccountServiceImpl(BankAccountRepository bankAccountRepository,
BankAccountMapper bankAccountMapper) |
Modifier and Type | Method and Description |
---|---|
void |
delete(java.lang.Long id)
Delete the bankAccount by id.
|
java.util.List<BankAccountDTO> |
findAll()
Get all the bankAccounts.
|
BankAccountDTO |
findOne(java.lang.Long id)
Get one bankAccount by id.
|
BankAccountDTO |
save(BankAccountDTO bankAccountDTO)
Save a bankAccount.
|
public BankAccountServiceImpl(BankAccountRepository bankAccountRepository, BankAccountMapper bankAccountMapper)
public BankAccountDTO save(BankAccountDTO bankAccountDTO)
save
in interface BankAccountService
bankAccountDTO
- the entity to save@Transactional(readOnly=true) public java.util.List<BankAccountDTO> findAll()
findAll
in interface BankAccountService
@Transactional(readOnly=true) public BankAccountDTO findOne(java.lang.Long id)
findOne
in interface BankAccountService
id
- the id of the entitypublic void delete(java.lang.Long id)
delete
in interface BankAccountService
id
- the id of the entityCopyright © 2017 Osgiliath. All rights reserved.