org.eclipse.higgins.sync.ws.rest
Class UserProfileRes

java.lang.Object
  extended by org.eclipse.higgins.sync.ws.rest.BaseRes
      extended by org.eclipse.higgins.sync.ws.rest.UserProfileRes

public class UserProfileRes
extends BaseRes

Represents UserProfile resource.

Author:
Alexander Yuhimenko

Constructor Summary
UserProfileRes()
           
 
Method Summary
 org.eclipse.higgins.sync.to.ResourceTO createUserProfile(org.eclipse.higgins.sync.to.ResourceTO resourceTO)
           
 void deleteUserProfile(String accessTokenId)
           
 org.eclipse.higgins.sync.to.ResourceTO getUserProfile(String accessTokenId)
           
 org.eclipse.higgins.sync.to.ResourceTO updateUserProfile(String accessTokenId, org.eclipse.higgins.sync.to.ResourceTO resourceTO)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserProfileRes

public UserProfileRes()
Method Detail

createUserProfile

public org.eclipse.higgins.sync.to.ResourceTO createUserProfile(org.eclipse.higgins.sync.to.ResourceTO resourceTO)
                                                         throws org.eclipse.higgins.sync.auth.exceptions.AuthenticationException,
                                                                org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException,
                                                                org.eclipse.higgins.user.profile.exception.UserProfileException,
                                                                NoSuchAlgorithmException,
                                                                UnsupportedEncodingException,
                                                                org.eclipse.higgins.user.account.exception.UserAccountException
Throws:
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException
org.eclipse.higgins.user.profile.exception.UserProfileException
NoSuchAlgorithmException
UnsupportedEncodingException
org.eclipse.higgins.user.account.exception.UserAccountException

updateUserProfile

public org.eclipse.higgins.sync.to.ResourceTO updateUserProfile(@HeaderParam(value="Authorization")
                                                                String accessTokenId,
                                                                org.eclipse.higgins.sync.to.ResourceTO resourceTO)
                                                         throws org.eclipse.higgins.sync.auth.exceptions.AuthenticationException,
                                                                org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException,
                                                                org.eclipse.higgins.user.profile.exception.UserProfileException,
                                                                org.eclipse.higgins.user.account.exception.UserAccountException
Throws:
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException
org.eclipse.higgins.user.profile.exception.UserProfileException
org.eclipse.higgins.user.account.exception.UserAccountException

getUserProfile

public org.eclipse.higgins.sync.to.ResourceTO getUserProfile(@HeaderParam(value="Authorization")
                                                             String accessTokenId)
                                                      throws org.eclipse.higgins.sync.auth.exceptions.AuthenticationException,
                                                             org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException,
                                                             org.eclipse.higgins.user.profile.exception.UserProfileException,
                                                             org.eclipse.higgins.user.account.exception.UserAccountException
Throws:
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException
org.eclipse.higgins.user.profile.exception.UserProfileException
org.eclipse.higgins.user.account.exception.UserAccountException

deleteUserProfile

public void deleteUserProfile(@HeaderParam(value="Authorization")
                              String accessTokenId)
                       throws org.eclipse.higgins.sync.auth.exceptions.AuthenticationException,
                              org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException,
                              org.eclipse.higgins.user.profile.exception.UserProfileException,
                              org.eclipse.higgins.user.account.exception.UserAccountException
Throws:
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException
org.eclipse.higgins.user.profile.exception.UserProfileException
org.eclipse.higgins.user.account.exception.UserAccountException