Package com.emc.d2fs.interfaces
Interface ID2ProfileImageService
- All Superinterfaces:
ID2fsService
-
Method Summary
Modifier and TypeMethodDescriptiondownloadProfileImage
(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
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
This method remove the user's profile image from the Documentum server.- Throws:
Exception
-