org.exoplatform.services.jcr.ext.organization
Class UserProfileImpl

java.lang.Object
  extended by org.exoplatform.services.jcr.ext.organization.UserProfileImpl
All Implemented Interfaces:
org.exoplatform.services.organization.UserProfile

public class UserProfileImpl
extends java.lang.Object
implements org.exoplatform.services.organization.UserProfile

Created by The eXo Platform SAS Date: 24.07.2008

Version:
$Id: UserProfileImpl.java 21856 2008-10-23 14:18:20Z tolusha $
Author:
Peter Nedonosko

Field Summary
 
Fields inherited from interface org.exoplatform.services.organization.UserProfile
BUSINESE_INFO_KEYS, HOME_INFO_KEYS, OTHER_KEYS, PERSONAL_INFO_KEYS
 
Constructor Summary
UserProfileImpl()
          UserProfileImpl constructor.
UserProfileImpl(java.lang.String name)
          UserProfileImpl constructor.
 
Method Summary
 java.lang.String getAttribute(java.lang.String attName)
          
 java.util.Map<java.lang.String,java.lang.String> getUserInfoMap()
          
 java.lang.String getUserName()
          
 void setAttribute(java.lang.String key, java.lang.String value)
          
 void setUserInfoMap(java.util.Map<java.lang.String,java.lang.String> map)
          
 void setUserName(java.lang.String username)
          Deprecated. The third party developer should not used this method. We should pass the username to the @see UserProfileHandler.createUserInstance() and set the username for the instance once only.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserProfileImpl

public UserProfileImpl()
UserProfileImpl constructor.


UserProfileImpl

public UserProfileImpl(java.lang.String name)
UserProfileImpl constructor.

Parameters:
name - The user name
Method Detail

getAttribute

public java.lang.String getAttribute(java.lang.String attName)

Specified by:
getAttribute in interface org.exoplatform.services.organization.UserProfile

getUserInfoMap

public java.util.Map<java.lang.String,java.lang.String> getUserInfoMap()

Specified by:
getUserInfoMap in interface org.exoplatform.services.organization.UserProfile

getUserName

public java.lang.String getUserName()

Specified by:
getUserName in interface org.exoplatform.services.organization.UserProfile

setAttribute

public void setAttribute(java.lang.String key,
                         java.lang.String value)

Specified by:
setAttribute in interface org.exoplatform.services.organization.UserProfile

setUserInfoMap

public void setUserInfoMap(java.util.Map<java.lang.String,java.lang.String> map)

Specified by:
setUserInfoMap in interface org.exoplatform.services.organization.UserProfile

setUserName

public void setUserName(java.lang.String username)
Deprecated. The third party developer should not used this method. We should pass the username to the @see UserProfileHandler.createUserInstance() and set the username for the instance once only.

Set user name

Specified by:
setUserName in interface org.exoplatform.services.organization.UserProfile

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object


Copyright © 2010 eXo Platform SAS. All Rights Reserved.