Class ACMEAccountServiceImpl
- java.lang.Object
-
- de.trustable.ca3s.core.service.impl.ACMEAccountServiceImpl
-
- All Implemented Interfaces:
ACMEAccountService
@Service @Transactional public class ACMEAccountServiceImpl extends Object implements ACMEAccountService
Service Implementation for managingACMEAccount.
-
-
Constructor Summary
Constructors Constructor Description ACMEAccountServiceImpl(ACMEAccountRepository aCMEAccountRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(Long id)Delete the aCMEAccount by id.List<ACMEAccount>findAll()Get all the aCMEAccounts.Optional<ACMEAccount>findOne(Long id)Get one aCMEAccount by id.ACMEAccountsave(ACMEAccount aCMEAccount)Save a aCMEAccount.
-
-
-
Constructor Detail
-
ACMEAccountServiceImpl
public ACMEAccountServiceImpl(ACMEAccountRepository aCMEAccountRepository)
-
-
Method Detail
-
save
public ACMEAccount save(ACMEAccount aCMEAccount)
Save a aCMEAccount.- Specified by:
savein interfaceACMEAccountService- Parameters:
aCMEAccount- the entity to save.- Returns:
- the persisted entity.
-
findAll
@Transactional(readOnly=true) public List<ACMEAccount> findAll()
Get all the aCMEAccounts.- Specified by:
findAllin interfaceACMEAccountService- Returns:
- the list of entities.
-
findOne
@Transactional(readOnly=true) public Optional<ACMEAccount> findOne(Long id)
Get one aCMEAccount by id.- Specified by:
findOnein interfaceACMEAccountService- Parameters:
id- the id of the entity.- Returns:
- the entity.
-
delete
public void delete(Long id)
Delete the aCMEAccount by id.- Specified by:
deletein interfaceACMEAccountService- Parameters:
id- the id of the entity.
-
-