Package im.getsocial.sdk.communities
Class TagsQuery
- java.lang.Object
-
- im.getsocial.sdk.communities.TagsQuery
-
public class TagsQuery extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TagsQuery
all()
Get all tags.static TagsQuery
find(java.lang.String term)
static TagsQuery
followedByUser(UserId userId)
Get tags followed by a specific user.java.lang.String
getSearchTerm()
PostActivityTarget
getTarget()
TagsQuery
inTarget(PostActivityTarget target)
TagsQuery
onlyTrending(boolean trending)
Get trending tags.
-
-
-
Method Detail
-
all
public static TagsQuery all()
Get all tags.- Returns:
- new instance.
-
find
public static TagsQuery find(java.lang.String term)
-
followedByUser
public static TagsQuery followedByUser(UserId userId)
Get tags followed by a specific user.- Parameters:
userId
- ID of user.- Returns:
- new instance.
-
onlyTrending
public TagsQuery onlyTrending(boolean trending)
Get trending tags.- Parameters:
trending
- Only trending or all tags.- Returns:
- new query.
-
inTarget
public TagsQuery inTarget(PostActivityTarget target)
-
getTarget
public PostActivityTarget getTarget()
-
getSearchTerm
public java.lang.String getSearchTerm()
-
-