public abstract static class UserProfile.Impl extends Object implements com.tinkerpop.frames.modules.javahandler.JavaHandlerContext<com.tinkerpop.blueprints.Vertex>, UserProfile
UserProfile.Impl
FOLLOWER_COUNT, FOLLOWING_COUNT, WATCHING_COUNT
Constructor and Description |
---|
Impl() |
Modifier and Type | Method and Description |
---|---|
void |
addBlocked(UserProfile user)
Add a user to this user's block list.
|
void |
addFollowing(UserProfile user)
Add a user the those this user follows.
|
void |
addWatching(Watchable item)
Add an item to this user's watch list.
|
Iterable<UserProfile> |
coGroupMembers()
Fetch users who share groups with this user.
|
int |
getFollowerCount() |
int |
getFollowingCount() |
int |
getWatchingCount() |
boolean |
isBlocking(UserProfile user)
Ascertain whether this user is blocking another user.
|
boolean |
isFollower(UserProfile otherUser)
Ascertain whether the other user is following this user.
|
boolean |
isFollowing(UserProfile otherUser)
Ascertain whether this user is following another user.
|
boolean |
isWatching(Watchable item)
Ascertain whether this user is watching an item.
|
void |
removeBlocked(UserProfile user)
Remove a user from this user's block list.
|
void |
removeFollowing(UserProfile user)
Remove a user from those this user follows.
|
void |
removeWatching(Watchable item)
Remove an item from this user's watch list.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
frame, frame, frame, frame, frame, frame, frameEdges, frameEdges, frameEdges, frameEdges, frameVertices, frameVertices, g, gremlin, gremlin, it
getAnnotations, getBlocked, getFollowers, getFollowing, getGroups, getLinks, getVirtualUnits, getWatching
addPermissionGrant, getAllParents, getParents, getPermissionGrants, isAdmin, isAnonymous
getIdentifier
getActions, getLatestAction
getAllPriorVersions, getPriorVersion
addAccessor, getAccessors, getHistory, getLatestEvent, getPermissionScope, getPermissionScopes, hasAccessRestriction, removeAccessor, setPermissionScope
getPermissionGrants
as, getId, getProperty, getProperty, getPropertyKeys, getType
addAnnotation, addAnnotationPart
public int getFollowerCount()
getFollowerCount
in interface UserProfile
public int getFollowingCount()
getFollowingCount
in interface UserProfile
public int getWatchingCount()
getWatchingCount
in interface UserProfile
public void addFollowing(UserProfile user)
UserProfile
addFollowing
in interface UserProfile
user
- a user framepublic void removeFollowing(UserProfile user)
UserProfile
removeFollowing
in interface UserProfile
user
- a user framepublic boolean isFollowing(UserProfile otherUser)
UserProfile
isFollowing
in interface UserProfile
otherUser
- a user framepublic boolean isFollower(UserProfile otherUser)
UserProfile
isFollower
in interface UserProfile
otherUser
- a user framepublic void addWatching(Watchable item)
UserProfile
addWatching
in interface UserProfile
item
- a generic item framepublic void removeWatching(Watchable item)
UserProfile
removeWatching
in interface UserProfile
item
- a generic item framepublic boolean isWatching(Watchable item)
UserProfile
isWatching
in interface UserProfile
item
- a generic item framepublic Iterable<UserProfile> coGroupMembers()
UserProfile
coGroupMembers
in interface UserProfile
public void addBlocked(UserProfile user)
UserProfile
addBlocked
in interface UserProfile
user
- a user framepublic void removeBlocked(UserProfile user)
UserProfile
removeBlocked
in interface UserProfile
user
- a user framepublic boolean isBlocking(UserProfile user)
UserProfile
isBlocking
in interface UserProfile
user
- a user frameCopyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.