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