|
|||||||||
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 ServiceProviderConnection 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 ServiceProviderConnectionKey. |
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionKey(java.lang.String providerId, java.lang.String providerUserId)
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |