KIE Uberfire Social Activities API 6.2.0.CR1

org.kie.uberfire.social.activities.model
Class SocialUser

java.lang.Object
  extended by org.kie.uberfire.social.activities.model.SocialUser
All Implemented Interfaces:
Serializable

@Portable
public class SocialUser
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
SocialUser()
           
SocialUser(String username)
           
SocialUser(String username, List<String> followersName, List<String> followingName)
           
SocialUser(String username, String realName, String email, List<String> followersName, List<String> followingName)
           
 
Method Summary
 boolean equals(Object o)
           
 void follow(SocialUser anotherUser)
           
 String getEmail()
           
 List<String> getFollowersName()
           
 List<String> getFollowingName()
           
 String getRealName()
           
 String getUserName()
           
 int hashCode()
           
 void setEmail(String email)
           
 void setRealName(String realName)
           
 String toString()
           
 void unfollow(SocialUser anotherUser)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SocialUser

public SocialUser()

SocialUser

public SocialUser(String username)

SocialUser

public SocialUser(String username,
                  List<String> followersName,
                  List<String> followingName)

SocialUser

public SocialUser(String username,
                  String realName,
                  String email,
                  List<String> followersName,
                  List<String> followingName)
Method Detail

follow

public void follow(SocialUser anotherUser)

unfollow

public void unfollow(SocialUser anotherUser)

getFollowersName

public List<String> getFollowersName()

getUserName

public String getUserName()

getFollowingName

public List<String> getFollowingName()

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getEmail

public String getEmail()

getRealName

public String getRealName()

setRealName

public void setRealName(String realName)

setEmail

public void setEmail(String email)

KIE Uberfire Social Activities API 6.2.0.CR1

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.