See: Description
| Interface | Description |
|---|---|
| ApiAdapter<A> |
An adapter that bridges between the uniform
Connection model and a specific provider API model. |
| Connection<A> |
A link to a service provider user.
|
| ConnectionFactoryLocator |
A ServiceLocator for
ConnectionFactory instances. |
| ConnectionRepository |
Data access interface for saving and restoring Connection objects from a persistent store.
|
| ConnectionSignUp |
A command that signs up a new user in the event no user id could be mapped from a
Connection. |
| ConnectionValues |
A configuration interface used to set values on a
Connection from a specific service provider API instance. |
| UsersConnectionRepository |
A data access interface for managing a global store of users connections to service providers.
|
| Class | Description |
|---|---|
| ConnectionData |
A data transfer object that allows the internal state of a Connection to be persisted and transferred between layers of an application.
|
| ConnectionFactory<A> |
Base abstraction for factories that construct service provider
Connection instances. |
| ConnectionKey |
The unique business key for a
Connection instance. |
| UserProfile |
A normalized model representing a service provider user profile.
|
| UserProfileBuilder |
Builder for constructing a
UserProfile instance returned by ApiAdapter.fetchUserProfile(Object)
Makes it easy to construct a profile instance where some of the individual fields may be null. |
| Exception | Description |
|---|---|
| ConnectionRepositoryException |
Base exception class for
ConnectionRepository failures. |
| DuplicateConnectionException |
Thrown by a
ConnectionRepository when attempting to add a Connection and a connection already exists with the given key. |
| NoSuchConnectionException |
Thrown by a
ConnectionRepository when attempting to fetch a Connection and no such connection exists with the provided key. |
| NotConnectedException |
Thrown by a
ConnectionRepository when attempting to fetch a "primary" connection and the user is not connected to the provider in question. |