Package com.emc.documentum.rest.dfc
Interface UserProfileImageManager
public interface UserProfileImageManager
The user display picture manager.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteProfileImage
(String userName) Delete display Picture by its user name.getProfileImage
(String userName) Get display Picture by its user name.setProfileImage
(String userName, ContentfulObject object) Set display Picture by its user name.
-
Method Details
-
getProfileImage
Get display Picture by its user name.- Parameters:
userName
- the user name- Returns:
- DisplayPictureDataSource The user display picture object
- Throws:
com.documentum.fc.common.DfException
- exception during the operation
-
setProfileImage
UserObject setProfileImage(String userName, ContentfulObject object) throws com.documentum.fc.common.DfException Set display Picture by its user name.- Parameters:
userName
- the user nameobject
- the Contentful Object- Returns:
- UserObject the user data
- Throws:
com.documentum.fc.common.DfException
- exception during the operation
-
deleteProfileImage
Delete display Picture by its user name.- Parameters:
userName
- The user name whose display picture need to be deleted- Throws:
com.documentum.fc.common.DfException
- exception during the operation
-