Class SuperUserFollowerService
java.lang.Object
dev.getelements.elements.service.follower.SuperUserFollowerService
- All Implemented Interfaces:
FollowerService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateFollower(String profileId, CreateFollowerRequest createFollowerRequest) Creates a follower link between two profilesvoiddeleteFollower(String profileId, String profileToUnfollowId) Deletes the link between the supplied profile id's, throwing an exception if the supplied id is not valid.getFollowees(String profileId, int offset, int count) Gets the listing ofProfile's followees with the supplied offset and count.getFollower(String profileId, String followedId) Gets the listing ofProfilewith the supplied offset, count, and search query.getFollowers(String profileId, int offset, int count) Gets the listing ofProfile's followers with the supplied offset and count.voidsetCdnUtils(LargeObjectCdnUtils cdnUtils) voidsetFollowerDao(FollowerDao followerDao) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.getelements.elements.sdk.service.follower.FollowerService
redactPrivateInformation
-
Constructor Details
-
SuperUserFollowerService
public SuperUserFollowerService()
-
-
Method Details
-
getFollowers
Description copied from interface:FollowerServiceGets the listing ofProfile's followers with the supplied offset and count.- Specified by:
getFollowersin interfaceFollowerService- Parameters:
profileId- the profile id to fetch followers foroffset- the offsetcount- the count- Returns:
- the list of
Profileinstances
-
getFollowees
Description copied from interface:FollowerServiceGets the listing ofProfile's followees with the supplied offset and count.- Specified by:
getFolloweesin interfaceFollowerService- Parameters:
profileId- the profile id to fetch followers foroffset- the offsetcount- the count- Returns:
- the list of
Profileinstances
-
getFollower
Description copied from interface:FollowerServiceGets the listing ofProfilewith the supplied offset, count, and search query.- Specified by:
getFollowerin interfaceFollowerService- Parameters:
profileId- the profile id to fetch the follower forfollowedId- the specific follower id to get the profile for- Returns:
Profileinstance
-
createFollower
Description copied from interface:FollowerServiceCreates a follower link between two profiles- Specified by:
createFollowerin interfaceFollowerService- Parameters:
profileId- the id of the user profilecreateFollowerRequest- the request body containing the the id of the profile to follow.
-
deleteFollower
Description copied from interface:FollowerServiceDeletes the link between the supplied profile id's, throwing an exception if the supplied id is not valid.- Specified by:
deleteFollowerin interfaceFollowerService- Parameters:
profileId- the id of the user profile.profileToUnfollowId- the id of the profile to unfollow
-
getFollowerDao
-
setFollowerDao
-
getCdnUtils
-
setCdnUtils
-