|
Clearspace API (2.5.29) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.user.profile.ProfileSearchResult
public class ProfileSearchResult
Contains the necessary user information to be displayed during a user search.
| Constructor Summary | |
|---|---|
ProfileSearchResult()
|
|
ProfileSearchResult(User user,
org.apache.lucene.document.Document document,
float score,
long points)
|
|
| Method Summary | |
|---|---|
org.apache.lucene.document.Document |
getDocument()
Gets the search Document for this user. |
long |
getPoints()
Gets the StatusLevel points for this user. |
float |
getRelevance()
Gets the search relevance for this user, a floating point number between 0.0 and 1.0. |
User |
getUser()
Gets the user that this search result represents. |
void |
setDocument(org.apache.lucene.document.Document document)
Sets the search Document for this user. |
void |
setPoints(int points)
Sets the StatusLevel points for this user. |
void |
setRelevance(float relevance)
Sets the search relevance for this user, a floating point number between 0.0 and 1.0. |
void |
setUser(User user)
Set the user that this search result represents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProfileSearchResult()
public ProfileSearchResult(User user,
org.apache.lucene.document.Document document,
float score,
long points)
| Method Detail |
|---|
public User getUser()
public void setUser(User user)
user - the user that this search result represents.public org.apache.lucene.document.Document getDocument()
Document for this user. This document comes from the user search
index and contains user information.
Document for this user.public void setDocument(org.apache.lucene.document.Document document)
Document for this user. This document comes from the user search
index and contains user information.
document - the search Document for this user.public float getRelevance()
public void setRelevance(float relevance)
relevance - the search relevance for this user.public long getPoints()
StatusLevel points for this user.
StatusLevel points for this user.public void setPoints(int points)
StatusLevel points for this user.
points - the StatusLevel points for this user.
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||