railo.runtime.search
Class SearchResulItemImpl
java.lang.Object
railo.runtime.search.SearchResulItemImpl
- All Implemented Interfaces:
- SearchResulItem
public class SearchResulItemImpl
- extends Object
- implements SearchResulItem
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.
getScore
public float getScore()
- Specified by:
getScore
in interface SearchResulItem
- Returns:
- Returns the score.
getSummary
public String getSummary()
- Specified by:
getSummary
in interface SearchResulItem
- Returns:
- Returns the summary.
getTitle
public String getTitle()
- Specified by:
getTitle
in interface SearchResulItem
- Returns:
- Returns the title.
getId
public String getId()
- Specified by:
getId
in interface SearchResulItem
- Returns:
- Returns the id.
getKey
public String getKey()
- Specified by:
getKey
in interface SearchResulItem
- Returns:
- Returns the key
getUrl
public String getUrl()
- Specified by:
getUrl
in interface SearchResulItem
- Returns:
- Returns the url
getCustom1
public String getCustom1()
- Specified by:
getCustom1
in interface SearchResulItem
- Returns:
- Returns the custom1.
getCustom2
public String getCustom2()
- Specified by:
getCustom2
in interface SearchResulItem
- Returns:
- Returns the custom2.
getCustom3
public String getCustom3()
- Specified by:
getCustom3
in interface SearchResulItem
- Returns:
- Returns the custom3.
getCustom4
public String getCustom4()
- Specified by:
getCustom4
in interface SearchResulItem
- Returns:
- Returns the custom4.
getCustom
public String getCustom(int index)
throws SearchException
- Specified by:
getCustom
in interface SearchResulItem
- Throws:
SearchException
getCategory
public String getCategory()
- Specified by:
getCategory
in interface SearchResulItem
- Returns:
- the category
getCategoryTree
public String getCategoryTree()
- Specified by:
getCategoryTree
in interface SearchResulItem
- Returns:
- the categoryTree
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in interface SearchResulItem
- Returns:
- the mimeType
getAuthor
public String getAuthor()
- Specified by:
getAuthor
in interface SearchResulItem
- Returns:
- the author
getSize
public String getSize()
- Specified by:
getSize
in interface SearchResulItem
- Returns:
- the size
getContextSummary
public String getContextSummary()
- Specified by:
getContextSummary
in interface SearchResulItem
- Returns:
- the contextSummary
Copyright © 2012 Railo