railo.runtime.search
Class SearchResulItemImpl
java.lang.Object
railo.runtime.search.SearchResulItemImpl
- All Implemented Interfaces:
- SearchResulItem, SearchResultItemPro
public class SearchResulItemImpl
- extends Object
- implements SearchResultItemPro
A Single Record of a Search Result
Constructor Summary |
SearchResulItemImpl(String id,
String title,
float score,
String key,
String url,
String summary,
String contextSummary,
String categoryTree,
String category,
String custom1,
String custom2,
String custom3,
String custom4,
String mimeType,
String author,
String size)
|
SearchResulItemImpl
public SearchResulItemImpl(String id,
String title,
float score,
String key,
String url,
String summary,
String contextSummary,
String categoryTree,
String category,
String custom1,
String custom2,
String custom3,
String custom4,
String mimeType,
String author,
String size)
- Parameters:
id
- title
- score
- key
- url
- summary
- custom1
- custom2
- custom3
- custom4
- mimeType
- author
- size
-
getRecordsSearched
public int getRecordsSearched()
- Specified by:
getRecordsSearched
in interface SearchResulItem
- Returns:
- Returns the recordsSearched.
- See Also:
railo.runtime.search.coreDuplicate.SearchResulItem#getRecordsSearched()
getScore
public float getScore()
- Specified by:
getScore
in interface SearchResulItem
- Returns:
- Returns the score.
- See Also:
railo.runtime.search.coreDuplicate.SearchResulItem#getScore()
getSummary
public String getSummary()
- Specified by:
getSummary
in interface SearchResulItem
- Returns:
- Returns the summary.
- See Also:
railo.runtime.search.coreDuplicate.SearchResulItem#getSummary()
getTitle
public String getTitle()
- Specified by:
getTitle
in interface SearchResulItem
- Returns:
- Returns the title.
- See Also:
railo.runtime.search.coreDuplicate.SearchResulItem#getTitle()
getId
public String getId()
- Specified by:
getId
in interface SearchResulItem
- Returns:
- Returns the id.
- See Also:
railo.runtime.search.coreDuplicate.SearchResulItem#getId()
getKey
public String getKey()
- Specified by:
getKey
in interface SearchResulItem
- Returns:
- Returns the key
- See Also:
railo.runtime.search.coreDuplicate.SearchResulItem#getKey()
getUrl
public String getUrl()
- Specified by:
getUrl
in interface SearchResulItem
- Returns:
- Returns the url
- See Also:
railo.runtime.search.coreDuplicate.SearchResulItem#getUrl()
getCustom1
public String getCustom1()
- Specified by:
getCustom1
in interface SearchResulItem
- Returns:
- Returns the custom1.
- See Also:
railo.runtime.search.coreDuplicate.SearchResulItem#getCustom1()
getCustom2
public String getCustom2()
- Specified by:
getCustom2
in interface SearchResulItem
- Returns:
- Returns the custom2.
- See Also:
railo.runtime.search.coreDuplicate.SearchResulItem#getCustom2()
getCustom3
public String getCustom3()
- Specified by:
getCustom3
in interface SearchResulItem
- Returns:
- Returns the custom3.
- See Also:
railo.runtime.search.coreDuplicate.SearchResulItem#getCustom3()
getCustom4
public String getCustom4()
- Specified by:
getCustom4
in interface SearchResulItem
- Returns:
- Returns the custom4.
- See Also:
railo.runtime.search.coreDuplicate.SearchResulItem#getCustom4()
getCategory
public String getCategory()
- Specified by:
getCategory
in interface SearchResultItemPro
- Returns:
- the category
getCategoryTree
public String getCategoryTree()
- Specified by:
getCategoryTree
in interface SearchResultItemPro
- Returns:
- the categoryTree
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in interface SearchResultItemPro
- Returns:
- the mimeType
getAuthor
public String getAuthor()
- Specified by:
getAuthor
in interface SearchResultItemPro
- Returns:
- the author
getSize
public String getSize()
- Specified by:
getSize
in interface SearchResultItemPro
- Returns:
- the size
getContextSummary
public String getContextSummary()
- Specified by:
getContextSummary
in interface SearchResultItemPro
- Returns:
- the contextSummary
toSearchResultItemPro
public static SearchResultItemPro toSearchResultItemPro(SearchResulItem item)
Copyright © 2012 Railo