|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectno.sesat.search.result.BasicResultItem
no.sesat.search.result.BlogSearchResultItem
public class BlogSearchResultItem
| Constructor Summary | |
|---|---|
BlogSearchResultItem()
|
|
| Method Summary | |
|---|---|
String |
getAuthor()
|
String |
getBlogTipsIcon()
|
String |
getBlogTitle()
Get the title of the blog |
String |
getBody()
|
String |
getBodyOrComments()
Get body or comment, depends on where the search matched. |
String |
getComments()
|
String |
getContentTitle()
|
String |
getDisplayDate()
|
String |
getLinkTitle()
Return first non-null value of contentTitle, blogTitle or url |
String |
getLinkTitleTrimmed()
Trim linktitle |
String |
getMoreHits()
|
String |
getParentUrl()
|
String |
getUrl()
The URL this result item represents. |
boolean |
hasAuthor()
hasAuthor() checks if the blog entry has an authorinformation. |
boolean |
hasMoreHitsFromBlog()
hasMoreHits() can be used to determine if we have severeal hits from blog |
boolean |
isFrontPage()
Todo: Come up with a better way to find out wether the result is a blog frontpage or not. |
void |
setAuthor(String author)
|
void |
setBlogTipsIcon(String blogTipsIcon)
|
void |
setBlogTitle(String title)
Set the title for the blog. |
void |
setBody(String body)
|
void |
setComments(String comments)
|
void |
setContentTitle(String contentTitle)
|
void |
setDisplayDate(String displayDate)
|
void |
setMoreHits(String moreHits)
|
void |
setParentUrl(String parentUrl)
|
BlogSearchResultItem |
setUrl(String url)
Sets the URL to the returned instance which is otherwise equal to this. |
| Methods inherited from class no.sesat.search.result.BasicResultItem |
|---|
addField, addObjectField, addToMultivaluedField, equals, getField, getField, getFieldNames, getFields, getInteger, getMultivaluedField, getObjectField, getTitle, hashCode, setTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlogSearchResultItem()
| Method Detail |
|---|
public String getContentTitle()
public void setContentTitle(String contentTitle)
public String getLinkTitle()
public String getLinkTitleTrimmed()
public String getAuthor()
public void setAuthor(String author)
public String getBlogTipsIcon()
public void setBlogTipsIcon(String blogTipsIcon)
public String getDisplayDate()
public void setDisplayDate(String displayDate)
public String getUrl()
ResultItem
getUrl in interface ResultItemgetUrl in class BasicResultItempublic BlogSearchResultItem setUrl(String url)
ResultItem
setUrl in interface ResultItemsetUrl in class BasicResultItempublic String getBody()
public void setBody(String body)
public String getComments()
public void setComments(String comments)
public String getMoreHits()
public void setMoreHits(String moreHits)
public String getParentUrl()
public void setParentUrl(String parentUrl)
public String getBlogTitle()
public void setBlogTitle(String title)
title - for blogpublic String getBodyOrComments()
public boolean hasAuthor()
public boolean hasMoreHitsFromBlog()
public boolean isFrontPage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||