public class UserProfileHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PROTOCOL |
static String |
KEY |
static String |
OTHER_KEY |
static String |
URL_KEY |
static String |
VALUE |
| Constructor and Description |
|---|
UserProfileHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
decodeHTML(String s) |
static String |
encodeHTML(String s) |
static List<Map<String,String>> |
getDisplayExperience(org.exoplatform.social.core.identity.model.Profile currentProfile) |
static Map<String,Object> |
getDisplayProfileInfo(org.exoplatform.social.core.identity.model.Profile currentProfile) |
static String |
getIconCss(String key) |
static String |
getLabel(org.exoplatform.webui.application.WebuiRequestContext context,
String key) |
static List<Map<String,String>> |
getMultiValues(org.exoplatform.social.core.identity.model.Profile currentProfile,
String key) |
static List<String> |
getURLValues(org.exoplatform.social.core.identity.model.Profile currentProfile) |
static boolean |
isEmpty(String s) |
static boolean |
isExistingEmail(String email)
Checks if input email is existing already or not.
|
static boolean |
isGender(String key) |
static boolean |
isIMs(String key) |
static boolean |
isString(Object s) |
static boolean |
isURL(String key) |
static String |
toAbsoluteURL(String url) |
public static final String KEY
public static final String VALUE
public static final String URL_KEY
public static final String OTHER_KEY
public static final String DEFAULT_PROTOCOL
public static Map<String,Object> getDisplayProfileInfo(org.exoplatform.social.core.identity.model.Profile currentProfile)
currentProfile - public static boolean isEmpty(String s)
s - public static List<Map<String,String>> getDisplayExperience(org.exoplatform.social.core.identity.model.Profile currentProfile) throws Exception
currentProfile - Exceptionpublic static List<Map<String,String>> getMultiValues(org.exoplatform.social.core.identity.model.Profile currentProfile, String key)
public static List<String> getURLValues(org.exoplatform.social.core.identity.model.Profile currentProfile)
public static boolean isString(Object s)
public static boolean isURL(String key)
public static boolean isIMs(String key)
public static boolean isGender(String key)
public static String getLabel(org.exoplatform.webui.application.WebuiRequestContext context, String key)
public static boolean isExistingEmail(String email)
email - Input email to check.Copyright © 2003–2018 eXo Platform SAS. All rights reserved.