| Package | Description |
|---|---|
| uk.ac.ncl.botnetwork.domain | |
| uk.ac.ncl.botnetwork.repositories |
| Modifier and Type | Method and Description |
|---|---|
User |
Connection.getDestination() |
User |
Connection.getOrigin() |
User |
GeneratedTweet.getUser() |
| Modifier and Type | Method and Description |
|---|---|
void |
Connection.setDestination(User destination) |
void |
Connection.setOrigin(User origin) |
void |
GeneratedTweet.setUser(User user) |
| Constructor and Description |
|---|
Connection(User origin,
User destination) |
Connection(User origin,
User destination,
Config config) |
GeneratedTweet(java.lang.String text,
java.lang.Long classificationId,
User user) |
GeneratedTweet(java.lang.String text,
java.lang.Long classificationId,
User user,
Config config) |
| Modifier and Type | Method and Description |
|---|---|
User |
UserRepository.findByScreenName(java.lang.String screenName)
Given a screen name, query the database and return the
entity that matches the scree name (a unique component
of a user).
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<User> |
ConnectionRepository.findAllFollowers(User user)
Given a user, query the database to find all users that
follower the user.
|
java.util.List<User> |
ConnectionRepository.findAllFollowing(User user)
Given a user, query the database to find users that the
user follows.
|
java.util.List<User> |
UserRepository.getByConfig(Config c)
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Connection> |
ConnectionRepository.findAllConnectionsFor(User user)
Given a user, query the database to find all
Connection's for
a given User. |
java.util.List<User> |
ConnectionRepository.findAllFollowers(User user)
Given a user, query the database to find all users that
follower the user.
|
java.util.List<java.lang.Long> |
ConnectionRepository.findAllFollowersIDs(User user)
Given a user, query the database to find all users that follower
the user and return their IDs.
|
java.util.List<User> |
ConnectionRepository.findAllFollowing(User user)
Given a user, query the database to find users that the
user follows.
|
java.util.List<java.lang.Long> |
ConnectionRepository.findAllFollowingIDs(User user)
Given a
User, query the database to find all users
that the user followers and return their twitter ids. |