org.apache.shindig.social.opensocial.spi
Class UserId

java.lang.Object
  extended by org.apache.shindig.social.opensocial.spi.UserId

public class UserId
extends Object

Data structure representing a userid


Nested Class Summary
static class UserId.Type
           
 
Constructor Summary
UserId(UserId.Type type, String userId)
           
 
Method Summary
 boolean equals(Object o)
           
static UserId fromJson(String jsonId)
           
 UserId.Type getType()
           
 String getUserId()
           
 String getUserId(SecurityToken token)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserId

public UserId(UserId.Type type,
              String userId)
Method Detail

getType

public UserId.Type getType()

getUserId

public String getUserId()

getUserId

public String getUserId(SecurityToken token)

fromJson

public static UserId fromJson(String jsonId)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2012. All Rights Reserved.