Class UserProfileManipulater


  • public class UserProfileManipulater
    extends Object
    Author:
    https://github.com/floriankammermann [Florian Kammermann] on 02.07.2015
    • Constructor Detail

      • UserProfileManipulater

        public UserProfileManipulater​(org.slf4j.Logger log)
    • Method Detail

      • enrichProfile

        protected int enrichProfile​(io.vertx.core.MultiMap headers,
                                    io.vertx.core.json.JsonObject profile,
                                    String userId,
                                    Collection<UserProfileConfiguration.ProfileProperty> profileProperties)
        Calls updateField for each property.
        Returns:
        Update count (0 to len(profileProperties)).
      • createProfileWithLanguage

        protected io.vertx.core.json.JsonObject createProfileWithLanguage​(io.vertx.core.MultiMap headers)
      • getLang

        public static String getLang​(io.vertx.core.MultiMap headers)