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

@return the future with the add or update relationship.
Add or update a relationship . @param relationships to add or update . @return the future with the add or update relationship .
@GenIgnore
  default Future<List<SocialNetworkRelationship>> addOrUpdateSocialNetworkRelationships(
      @NotNull final Iterable<SocialNetworkRelationship> relationships) {
    final Promise<JsonArray> promise = Promise.promise();
    this.addOrUpdateSocialNetworkRelationships(Model.toJsonArray(relationships), promise);
    return Model.fromFutureJsonArray(promise.future(), SocialNetworkRelationship.class);
  }
@ GenIgnore default Future < List < SocialNetworkRelationship > > addOrUpdateSocialNetworkRelationships ( @ NotNull final Iterable < SocialNetworkRelationship > relationships ) { final Promise < JsonArray > promise = Promise . promise ( ) ; this . addOrUpdateSocialNetworkRelationships ( Model . toJsonArray ( relationships ) , promise ) ; return Model . fromFutureJsonArray ( promise . future ( ) , SocialNetworkRelationship . class ) ; }
Add or update a relationship.
Add or update a relationship .