Package com.emc.d2fs.interfaces

# Interface ID2ProfileImageService

All Superinterfaces:
  `ID2fsService`

public interface ID2ProfileImageService extends ID2fsService

- ## Method Summary

  Modifier and Type
  Method
  Description
  `FileDataSource`
  `downloadProfileImage(Context context, String userId)`
  This method downloads the user's profile image, stores it in the local application server and returns the FileDataSource of the file.
  `void`
  `removeProfileImage(Context context, String userId)`
  This method remove the user's profile image from the Documentum server.
  `void`
  `uploaddProfileImage(Context context, String userId, FileDataSource fileDataSource)`
  This method uploads the user's profile image to the Documentum server.

  ### Methods inherited from interface com.emc.d2fs.interfaces.ID2fsService

  `isRemote, setRemote`

- ## Method Details

  - ### downloadProfileImage

    FileDataSource downloadProfileImage(Context context, String userId) throws Exception
    This method downloads the user's profile image, stores it in the local application server and returns the FileDataSource of the file.
    Returns:
      FileDataSource.
    Throws:
      `Exception`

  - ### uploaddProfileImage

    void uploaddProfileImage(Context context, String userId, FileDataSource fileDataSource) throws Exception
    This method uploads the user's profile image to the Documentum server.
    Throws:
      `Exception`

  - ### removeProfileImage

    void removeProfileImage(Context context, String userId) throws Exception
    This method remove the user's profile image from the Documentum server.
    Throws:
      `Exception`