components/src/main/java/eu/internetofus/common/components/profile_manager/WeNetProfileManager.java
/**
   * Update a profile.
   *
   * @param id      identifier of the profile to update.
   * @param profile to update.
   *
   * @return the future updated profile.
   */
Update a profile.
@param id      identifier of the profile to update.
@param profile to update.

@return the future updated profile.
Update a profile . @param id identifier of the profile to update . @param profile to update . @return the future updated profile .
@GenIgnore
  default Future<WeNetUserProfile> updateProfile(@NotNull final String id, @NotNull final WeNetUserProfile profile) {
    final Promise<JsonObject> promise = Promise.promise();
    this.updateProfile(id, profile.toJsonObject(), promise);
    return Model.fromFutureJsonObject(promise.future(), WeNetUserProfile.class);
  }
@ GenIgnore default Future < WeNetUserProfile > updateProfile ( @ NotNull final String id , @ NotNull final WeNetUserProfile profile ) { final Promise < JsonObject > promise = Promise . promise ( ) ; this . updateProfile ( id , profile . toJsonObject ( ) , promise ) ; return Model . fromFutureJsonObject ( promise . future ( ) , WeNetUserProfile . class ) ; }
Update a profile.
Update a profile .