Class AcmeNonceServiceImpl
- java.lang.Object
-
- de.trustable.ca3s.core.service.impl.AcmeNonceServiceImpl
-
- All Implemented Interfaces:
AcmeNonceService
@Service @Transactional public class AcmeNonceServiceImpl extends Object implements AcmeNonceService
Service Implementation for managingAcmeNonce.
-
-
Constructor Summary
Constructors Constructor Description AcmeNonceServiceImpl(AcmeNonceRepository acmeNonceRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(Long id)Delete the acmeNonce by id.List<AcmeNonce>findAll()Get all the acmeNonces.Optional<AcmeNonce>findOne(Long id)Get one acmeNonce by id.AcmeNoncesave(AcmeNonce acmeNonce)Save a acmeNonce.
-
-
-
Constructor Detail
-
AcmeNonceServiceImpl
public AcmeNonceServiceImpl(AcmeNonceRepository acmeNonceRepository)
-
-
Method Detail
-
save
public AcmeNonce save(AcmeNonce acmeNonce)
Save a acmeNonce.- Specified by:
savein interfaceAcmeNonceService- Parameters:
acmeNonce- the entity to save.- Returns:
- the persisted entity.
-
findAll
@Transactional(readOnly=true) public List<AcmeNonce> findAll()
Get all the acmeNonces.- Specified by:
findAllin interfaceAcmeNonceService- Returns:
- the list of entities.
-
findOne
@Transactional(readOnly=true) public Optional<AcmeNonce> findOne(Long id)
Get one acmeNonce by id.- Specified by:
findOnein interfaceAcmeNonceService- Parameters:
id- the id of the entity.- Returns:
- the entity.
-
delete
public void delete(Long id)
Delete the acmeNonce by id.- Specified by:
deletein interfaceAcmeNonceService- Parameters:
id- the id of the entity.
-
-