public interface UserProfile
UserProfileHandler.saveUserProfile(UserProfile, boolean)
to persist the change.Modifier and Type | Field and Description |
---|---|
static String[] |
BUSINESE_INFO_KEYS
The predefine attributes of the user businese info.
|
static String[] |
HOME_INFO_KEYS
The predefine attributes of the user home info.
|
static String[] |
OTHER_KEYS
The predefine attributes of the exoplatform.
|
static String[] |
PERSONAL_INFO_KEYS
The predefine attributes of the user personal info.
|
Modifier and Type | Method and Description |
---|---|
String |
getAttribute(String attName) |
Map<String,String> |
getUserInfoMap() |
String |
getUserName() |
void |
setAttribute(String key,
String value)
Use this method to change or add a new attribute to the user info map.
|
void |
setUserInfoMap(Map<String,String> map) |
void |
setUserName(String username)
Deprecated.
The third party developer should not used this method. We
should pass the username to the
UserProfileHandler.createUserProfileInstance(String)
and set the username for the instance once only. |
static final String[] PERSONAL_INFO_KEYS
static final String[] HOME_INFO_KEYS
static final String[] BUSINESE_INFO_KEYS
static final String[] OTHER_KEYS
String getUserName()
void setUserName(String username)
UserProfileHandler.createUserProfileInstance(String)
and set the username for the instance once only.Map<String,String> getUserInfoMap()
void setUserInfoMap(Map<String,String> map)
map
- The map that contains the extra user information. The map should
contains only the java.lang.String as the key and the value.String getAttribute(String attName)
attName
- The key name of an attribute in the user info map.Copyright © 2003-2017 eXo Platform SAS. All Rights Reserved.