Class AcmeNonceServiceImpl

    • Constructor Detail

      • AcmeNonceServiceImpl

        public AcmeNonceServiceImpl​(AcmeNonceRepository acmeNonceRepository)
    • Method Detail

      • save

        public AcmeNonce save​(AcmeNonce acmeNonce)
        Save a acmeNonce.
        Specified by:
        save in interface AcmeNonceService
        Parameters:
        acmeNonce - the entity to save.
        Returns:
        the persisted entity.
      • findAll

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

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

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