Class RDNServiceImpl

  • All Implemented Interfaces:
    RDNService

    @Service
    @Transactional
    public class RDNServiceImpl
    extends Object
    implements RDNService
    Service Implementation for managing RDN.
    • Constructor Detail

      • RDNServiceImpl

        public RDNServiceImpl​(RDNRepository rDNRepository)
    • Method Detail

      • save

        public RDN save​(RDN rDN)
        Save a rDN.
        Specified by:
        save in interface RDNService
        Parameters:
        rDN - the entity to save.
        Returns:
        the persisted entity.
      • findAll

        @Transactional(readOnly=true)
        public List<RDN> findAll()
        Get all the rDNS.
        Specified by:
        findAll in interface RDNService
        Returns:
        the list of entities.
      • findOne

        @Transactional(readOnly=true)
        public Optional<RDN> findOne​(Long id)
        Get one rDN by id.
        Specified by:
        findOne in interface RDNService
        Parameters:
        id - the id of the entity.
        Returns:
        the entity.
      • delete

        public void delete​(Long id)
        Delete the rDN by id.
        Specified by:
        delete in interface RDNService
        Parameters:
        id - the id of the entity.