org.starhope.appius.user
Class UserList
java.lang.Object
org.starhope.appius.user.UserList
public class UserList
- extends Object
Generic class that handles both buddy lists and ignore lists,
depending upon its mood. Unlike most of my stuff, you can actually
use the constructor safely, here.
- Author:
- brpocock@star-hope.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserList
public UserList()
getBuddyApprovalCookie
public static String getBuddyApprovalCookie(AbstractUser requester,
AbstractUser requestee)
- Generate an opaque cookie which can only be produced by the
requester, and must be returned by the requestee in order to
prove that a request has been made. Note that a buddy list
request will (by design) be invalid after either user changes
their user name.
- Parameters:
requester
- user placing the buddy requestrequestee
- user being requested as a buddy
- Returns:
- the cookie