Class RDNServiceImpl
- java.lang.Object
-
- de.trustable.ca3s.core.service.impl.RDNServiceImpl
-
- All Implemented Interfaces:
RDNService
@Service @Transactional public class RDNServiceImpl extends Object implements RDNService
Service Implementation for managingRDN.
-
-
Constructor Summary
Constructors Constructor Description RDNServiceImpl(RDNRepository rDNRepository)
-
-
-
Constructor Detail
-
RDNServiceImpl
public RDNServiceImpl(RDNRepository rDNRepository)
-
-
Method Detail
-
save
public RDN save(RDN rDN)
Save a rDN.- Specified by:
savein interfaceRDNService- Parameters:
rDN- the entity to save.- Returns:
- the persisted entity.
-
findAll
@Transactional(readOnly=true) public List<RDN> findAll()
Get all the rDNS.- Specified by:
findAllin interfaceRDNService- Returns:
- the list of entities.
-
findOne
@Transactional(readOnly=true) public Optional<RDN> findOne(Long id)
Get one rDN by id.- Specified by:
findOnein interfaceRDNService- Parameters:
id- the id of the entity.- Returns:
- the entity.
-
delete
public void delete(Long id)
Delete the rDN by id.- Specified by:
deletein interfaceRDNService- Parameters:
id- the id of the entity.
-
-