|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opencms.search.CmsSearchResult
public class CmsSearchResult
Contains the data of a single item in a search result.
| Field Summary | |
|---|---|
protected Date |
m_dateCreated
The creation date of this search result. |
protected Date |
m_dateLastModified
The last modification date of this search result. |
protected String |
m_description
The description of this search result. |
protected String |
m_excerpt
The excerpt of this search result. |
protected String |
m_keyWords
The key words of this search result. |
protected String |
m_path
The resource path of this search result. |
protected int |
m_score
The score of this search result. |
protected String |
m_title
The title of this search result. |
| Constructor Summary | |
|---|---|
protected |
CmsSearchResult(int score,
Document luceneDocument,
String excerpt)
Creates a new search result. |
| Method Summary | |
|---|---|
int |
compareTo(Object obj)
|
Date |
getDateCreated()
Returns the date created. |
Date |
getDateLastModified()
Returns the date last modified. |
String |
getDescription()
Returns the description. |
String |
getExcerpt()
Returns the excerpt. |
String |
getKeywords()
Returns the key words. |
int |
getMemorySize()
Returns the memory size of the object. |
String |
getPath()
Returns the path. |
int |
getScore()
Returns the score. |
String |
getTitle()
Returns the title. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Date m_dateCreated
protected Date m_dateLastModified
protected String m_description
protected String m_excerpt
protected String m_keyWords
protected String m_path
protected int m_score
protected String m_title
| Constructor Detail |
|---|
protected CmsSearchResult(int score,
Document luceneDocument,
String excerpt)
score - the score of this search resultluceneDocument - the Lucene document to extract fields from such as description, title, key words etc. pp.excerpt - the excerpt of the search result's content| Method Detail |
|---|
public int compareTo(Object obj)
compareTo in interface ComparableComparable.compareTo(java.lang.Object)public Date getDateCreated()
public Date getDateLastModified()
public String getDescription()
public String getExcerpt()
public String getKeywords()
public int getMemorySize()
I_CmsMemoryMonitorable
getMemorySize in interface I_CmsMemoryMonitorableI_CmsMemoryMonitorable.getMemorySize()public String getPath()
public int getScore()
public String getTitle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||