Dekoh platform API

com.pramati.bfly.das.profile.helper
Class ProfileManager

java.lang.Object
  extended by com.pramati.bfly.das.profile.helper.ProfileManager

public class ProfileManager
extends Object

ProfileManager for managing profile information for a Dekoh User.

Since:
17 Jul, 2007

Method Summary
 File getUserImage(String contactId, ImageSize imageSize)
          Gets the Image file of the contact for given ImageSize.
 void updateSelfImage(File sourceImageFile, ImageSize imageSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUserImage

public File getUserImage(String contactId,
                         ImageSize imageSize)
Gets the Image file of the contact for given ImageSize.

Parameters:
contactId - ContactId for whose image file is needed.
imageSize - ImageSize
Returns:
File object to the contacts users Image of given size. will return null, if image cache directory for this desktopUser is deleted.

updateSelfImage

public void updateSelfImage(File sourceImageFile,
                            ImageSize imageSize)
                     throws ProfileException,
                            UserOfflineException,
                            ForbiddenException,
                            CASNotReachableException
Throws:
ProfileException
UserOfflineException
ForbiddenException
CASNotReachableException

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers