|
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 | |||||||||
java.lang.Objectcom.jivesoftware.community.webservices.WSProfileSearchQuery
public class WSProfileSearchQuery
Contains the necessary information required to perform a user search.
| Field Summary | |
|---|---|
static int |
SORT_BY_INDEX_ORDER
|
static int |
SORT_BY_RELEVANCE
|
| Constructor Summary | |
|---|---|
WSProfileSearchQuery()
|
|
| Method Summary | |
|---|---|
long |
getCommunityID()
Gets the community ID used for this query. -1 unless the user wants to find an expert in a specific community. |
java.util.List<WSProfileSearchFilter> |
getFilters()
Gets a list of WSProfileSearchFilters used to filter user results for this query. |
java.lang.String |
getKeywords()
Gets the keywords for the user search. |
int |
getSort()
Gets the sort used for this query. |
boolean |
isSearchEmail()
Returns true if the user's email field is to be searched, false otherwise. |
boolean |
isSearchName()
Returns true if the user's name field is to be searched, false otherwise. |
boolean |
isSearchProfile()
Returns true if the user's profile field values are to be searched, false otherwise. |
boolean |
isSearchUsername()
Returns true if the user's username field is to be searched, false otherwise. |
void |
setCommunity(long communityID)
Sets the community ID the user wants to find an expert in. |
void |
setFilters(java.util.List<WSProfileSearchFilter> filters)
Sets a list of WSProfileSearchFilters used to filter user results for this query. |
void |
setKeywords(java.lang.String keywords)
Sets the keywords for the user search. |
void |
setSearchEmail(boolean searchEmail)
True if the user's email field is to be searched, false otherwise. |
void |
setSearchName(boolean searchName)
True if the user's name field is to be searched, false otherwise. |
void |
setSearchProfile(boolean searchProfile)
True if the user's profile field values are to be searched, false otherwise. |
void |
setSearchUsername(boolean searchUsername)
True if the user's username field is to be searched, false otherwise. |
void |
setSort(int sort)
Sets the Sort used for this query. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SORT_BY_RELEVANCE
public static final int SORT_BY_INDEX_ORDER
| Constructor Detail |
|---|
public WSProfileSearchQuery()
| Method Detail |
|---|
public java.lang.String getKeywords()
public void setKeywords(java.lang.String keywords)
keywords - the keywords for the user searchpublic java.util.List<WSProfileSearchFilter> getFilters()
WSProfileSearchFilters used to filter user results for this query.
WSProfileSearchFilters used to filter user results for this query.public void setFilters(java.util.List<WSProfileSearchFilter> filters)
WSProfileSearchFilters used to filter user results for this query.
filters - a list of WSProfileSearchFilters used to filter user results for this query.public int getSort()
SORT_BY_RELEVANCE.
public void setSort(int sort)
Sort used for this query.
sort - sorting strategy for this query.public long getCommunityID()
public void setCommunity(long communityID)
communityID - the community ID the user wants to find an expert in.public boolean isSearchUsername()
public void setSearchUsername(boolean searchUsername)
searchUsername - true if the user's username field is to be searched, false otherwise.public boolean isSearchName()
com.jivesoftware.base.User#isNameVisible() is false.
public void setSearchName(boolean searchName)
com.jivesoftware.base.User#isNameVisible() is false.
searchName - true if the user's name field is to be searched, false otherwise.public boolean isSearchEmail()
com.jivesoftware.base.User#isEmailVisible() is false.
public void setSearchEmail(boolean searchEmail)
com.jivesoftware.base.User#isEmailVisible() is false.
searchEmail - true if the user's email field is to be searched, false otherwise.public boolean isSearchProfile()
com.jivesoftware.community.ProfileField#isVisible() is false.
public void setSearchProfile(boolean searchProfile)
com.jivesoftware.community.ProfileField#isVisible() is false.
searchProfile - true if the user's profile field values are to be searched, false otherwise.
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||