Interface AcmeContactService

    • Method Detail

      • save

        AcmeContact save​(AcmeContact acmeContact)
        Save a acmeContact.
        Parameters:
        acmeContact - the entity to save.
        Returns:
        the persisted entity.
      • findAll

        List<AcmeContact> findAll()
        Get all the acmeContacts.
        Returns:
        the list of entities.
      • findOne

        Optional<AcmeContact> findOne​(Long id)
        Get the "id" acmeContact.
        Parameters:
        id - the id of the entity.
        Returns:
        the entity.
      • delete

        void delete​(Long id)
        Delete the "id" acmeContact.
        Parameters:
        id - the id of the entity.