Class UserProfileOperationsHandler
-
- All Implemented Interfaces:
public class UserProfileOperationsHandlerUser profile operations handler.
Note: Call stop to release resources when done.
- Since:
5.12.0
-
-
Field Summary
Fields Modifier and Type Field Description public final static DataKey<Boolean>KEY_UPDATE_MY_USER_PROFILEpublic final static DataKey<Boolean>KEY_UPDATE_MY_USER_PROFILE_EXAMINEpublic final static DataKey<Boolean>KEY_SET_FRIEND_INFOpublic final static DataKey<Boolean>KEY_SET_FRIEND_INFO_EXMAINE
-
Constructor Summary
Constructors Constructor Description UserProfileOperationsHandler()
-
Method Summary
Modifier and Type Method Description voidupdateMyUserProfile(UserProfile userProfile)Updates the current user's profile. voidupdateMyUserProfileExamine(UserProfile userProfile)Updates the current user's profile with review. voidsetFriendInfo(String userId, String remark, Map<String, String> extProfile)Sets friend info. voidsetFriendInfoExamine(String userId, String remark, Map<String, String> extProfile)Sets friend info with review. -
-
Method Detail
-
updateMyUserProfile
@Deprecated() void updateMyUserProfile(UserProfile userProfile)
Updates the current user's profile.
- Parameters:
userProfile- the user profile
-
updateMyUserProfileExamine
void updateMyUserProfileExamine(UserProfile userProfile)
Updates the current user's profile with review.
- Parameters:
userProfile- the user profile
-
setFriendInfo
@Deprecated() void setFriendInfo(String userId, String remark, Map<String, String> extProfile)
Sets friend info.
- Parameters:
userId- the user IDremark- the remarkextProfile- the extended profile
-
setFriendInfoExamine
void setFriendInfoExamine(String userId, String remark, Map<String, String> extProfile)
Sets friend info with review.
- Parameters:
userId- the user IDremark- the remarkextProfile- the extended profile
-
-
-
-