components/src/main/java/eu/internetofus/common/components/profile_manager/WeNetProfileManager.java
/**
   * Add or update a relationship.
   *
   * @param relationship to add or update.
   *
   * @return the future with the add or update relationship.
   */
Add or update a relationship.
@param relationship to add or update.

@return the future with the add or update relationship.
Add or update a relationship . @param relationship to add or update . @return the future with the add or update relationship .
@GenIgnore
  default Future<SocialNetworkRelationship> addOrUpdateSocialNetworkRelationship(
      @NotNull final SocialNetworkRelationship relationship) {
    final Promise<JsonObject> promise = Promise.promise();
    this.addOrUpdateSocialNetworkRelationship(relationship.toJsonObject(), promise);
    return Model.fromFutureJsonObject(promise.future(), SocialNetworkRelationship.class);
  }
@ GenIgnore default Future < SocialNetworkRelationship > addOrUpdateSocialNetworkRelationship ( @ NotNull final SocialNetworkRelationship relationship ) { final Promise < JsonObject > promise = Promise . promise ( ) ; this . addOrUpdateSocialNetworkRelationship ( relationship . toJsonObject ( ) , promise ) ; return Model . fromFutureJsonObject ( promise . future ( ) , SocialNetworkRelationship . class ) ; }
Add or update a relationship.
Add or update a relationship .