org.jboss.seam.social
Class UserProfile

java.lang.Object
  extended by org.jboss.seam.social.UserProfile
All Implemented Interfaces:
Serializable

public abstract class UserProfile
extends Object
implements Serializable

Generic abstract class to define a basic user information

Author:
Antoine Sabot-Durand
See Also:
Serialized Form

Field Summary
protected  String id
           
 
Constructor Summary
protected UserProfile(String id)
           
 
Method Summary
 boolean equals(Object obj)
           
abstract  String getFullName()
           
 String getId()
          Permanent identifier against the social relationship for the life-time of the network account
abstract  String getProfileImageUrl()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected final String id
Constructor Detail

UserProfile

protected UserProfile(String id)
Method Detail

getId

public String getId()
Permanent identifier against the social relationship for the life-time of the network account

Returns:
the user's social network key

getFullName

public abstract String getFullName()
Returns:
the user's full name

getProfileImageUrl

public abstract String getProfileImageUrl()
Returns:
the user's picture url

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2011 Seam Framework. All Rights Reserved.