Package com.emc.documentum.rest.dfc

# Interface UserProfileImageManager

public interface UserProfileImageManager
The user display picture manager.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `deleteProfileImage(String userName)`
  Delete display Picture by its user name.
  `FileDataSource`
  `getProfileImage(String userName)`
  Get display Picture by its user name.
  `UserObject`
  `setProfileImage(String userName, ContentfulObject object)`
  Set display Picture by its user name.

- ## Method Details

  - ### getProfileImage

    FileDataSource getProfileImage(String userName) throws com.documentum.fc.common.DfException
    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 name
      `object` - the Contentful Object
    Returns:
      UserObject the user data
    Throws:
      `com.documentum.fc.common.DfException` - exception during the operation

  - ### deleteProfileImage

    void deleteProfileImage(String userName) throws com.documentum.fc.common.DfException
    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