|
Clearspace API (2.0.15) Web Services Client Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProfileSearchService
Provides the ability to search users.
| Method Summary | |
|---|---|
java.util.List<WSUser> |
getSimilarUserResults(long targetUserID)
Returns the the first 5 users that are similar to the specified user. |
boolean |
isSearchEnabled()
Returns true if the profile search feature is turned on. |
java.util.List<WSUser> |
search(WSProfileSearchQuery query)
Returns the users that correspond to the search query. |
java.util.List<WSUser> |
searchBounded(WSProfileSearchQuery query,
int startIndex,
int numResults)
Returns the users that correspond to the search query beginning at startIndex and until the number results equals numResults. |
| Method Detail |
|---|
boolean isSearchEnabled()
java.util.List<WSUser> search(WSProfileSearchQuery query)
throws CommunityNotFoundException,
UnauthorizedException
query - the profile search query
CommunityNotFoundException - if the community in the query could no be found.
UnauthorizedException - if the user is not authorized to perform the query.
java.util.List<WSUser> searchBounded(WSProfileSearchQuery query,
int startIndex,
int numResults)
throws CommunityNotFoundException,
UnauthorizedException
query - the profile search querystartIndex - the starting index in the search result to return.numResults - the number of users to return in the search result.
CommunityNotFoundException - if the community in the query could no be found.
UnauthorizedException - if the user is not authorized to perform the query.java.util.List<WSUser> getSimilarUserResults(long targetUserID)
targetUserID - the user ID that other user records will be similar to
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||