|
Spring Social | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.social.connect.ConnectionKey
public final class ConnectionKey
The unique business key for a Connection
instance.
A composite key that consists of the providerId (e.g. "facebook") plus providerUserId (e.g. "125660").
Provides the basis for connection equals() and hashCode().
Constructor Summary | |
---|---|
ConnectionKey(java.lang.String providerId,
java.lang.String providerUserId)
Creates a new ConnectionKey . |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getProviderId()
The id of the provider as it is registered in the system. |
java.lang.String |
getProviderUserId()
The id of the external provider user representing the remote end of the connection. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConnectionKey(java.lang.String providerId, java.lang.String providerUserId)
ConnectionKey
.
providerId
- the id of the provider e.g. facebookproviderUserId
- id of the provider user account e.g. '125660'Method Detail |
---|
public java.lang.String getProviderId()
public java.lang.String getProviderUserId()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
Spring Social | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |