public class UserProfileManagementImpl extends UserProfileManagementBase
UserProfileManagement| Constructor and Description |
|---|
UserProfileManagementImpl() |
addMessagingConnectorConfig, anonymizeUserProfile, findUserProfileByUserId, findUserProfileDetailListItemByUserId, findUserProfileVOByUserId, getContactDao, getMessagerConnectorConfigDao, getMessagerConnectorConfigs, getNotificationConfigDao, getPrincipal, getUserDao, getUserImageDao, getUserProfileDao, hasCustomUserImage, loadImage, removeUserImage, setContactDao, setMessagerConnectorConfigDao, setNotificationConfigDao, setUserDao, setUserImageDao, setUserProfileDao, updateImage, updateNotificationConfig, updateUserProfile@Transactional(readOnly=true) public UserProfileDetails getUserProfileDetailsById(Long userId)
userId - the ID of the user@Transactional(readOnly=true) public UserProfileDetails getUserProfileDetailsById(Long userId, boolean needExternalAuthentications)
userId - the ID of the userneedExternalAuthentications - Set to true, if the external authentications are needed for the user.protected void handleAddMessagingConnectorConfig(Long notificationConfigId, MessagerConnectorConfig config)
UserProfileManagementBase.addMessagingConnectorConfig(Long, MessagerConnectorConfig)handleAddMessagingConnectorConfig in class UserProfileManagementBaseprotected void handleAnonymizeUserProfile(Long profileId)
UserProfileManagementBase.anonymizeUserProfile(Long)handleAnonymizeUserProfile in class UserProfileManagementBaseprotected UserProfile handleFindUserProfileByUserId(Long userId)
UserProfileManagementBase.findUserProfileByUserId(Long)handleFindUserProfileByUserId in class UserProfileManagementBaseprotected UserProfileDetailListItem handleFindUserProfileDetailListItemByUserId(Long userId)
UserProfileManagementBase.findUserProfileDetailListItemByUserId(Long)handleFindUserProfileDetailListItemByUserId in class UserProfileManagementBaseuserId - the ID of the userprotected UserProfileVO handleFindUserProfileVOByUserId(Long userId)
UserProfileManagementBase.findUserProfileVOByUserId(Long)handleFindUserProfileVOByUserId in class UserProfileManagementBaseprotected List<MessagerConnectorConfigTO> handleGetMessagerConnectorConfigs()
UserProfileManagementBase.getMessagerConnectorConfigs()handleGetMessagerConnectorConfigs in class UserProfileManagementBase@Transactional(readOnly=true) protected boolean handleHasCustomUserImage(Long userId)
handleHasCustomUserImage in class UserProfileManagementBaseprotected ImageVO handleLoadImage(Long userId)
#loadImage(Long, com.communote.server.persistence.user.ImageSizeType)handleLoadImage in class UserProfileManagementBaseuserId - The users id.protected boolean handleRemoveUserImage(Long userId) throws AuthorizationException, UserNotFoundException
UserProfileManagementBasehandleRemoveUserImage in class UserProfileManagementBaseuserId - The ID of the user whose image should be removedAuthorizationException - in case the current user is not the user whose image should be removed or client
manager or internal system userUserNotFoundException - in case the user with ID userId does not existprotected void handleUpdateImage(Long userId, byte[] userImage) throws UserNotFoundException, AuthorizationException
UserProfileManagementBasehandleUpdateImage in class UserProfileManagementBaseuserId - The users id.UserNotFoundException - in case the user with ID userId does not existAuthorizationException - in case the current user is not the user whose image should be updated or the
current user is not client manager or internal system userprotected void handleUpdateNotificationConfig(Map<MessagerConnectorType,MessagerConnectorConfigTO> connectorConfigs)
UserProfileManagementBase.updateNotificationConfig(Map)handleUpdateNotificationConfig in class UserProfileManagementBaseconnectorConfigs - the new configuration dataprotected void handleUpdateUserProfile(Long userId, UserProfileVO userProfile)
UserProfileManagementBase.updateUserProfile(Long, com.communote.server.persistence.user.UserProfileVO)handleUpdateUserProfile in class UserProfileManagementBaseCopyright © 2019 Communote team. All rights reserved.