com.liferay.portal.kernel.search
Class HitsOpenSearchImpl
java.lang.Object
com.liferay.portal.kernel.search.BaseOpenSearchImpl
com.liferay.portal.kernel.search.HitsOpenSearchImpl
- All Implemented Interfaces:
- OpenSearch
public abstract class HitsOpenSearchImpl
- extends BaseOpenSearchImpl
Method Summary |
Indexer |
getIndexer()
|
abstract String |
getPortletId()
|
abstract String |
getSearchPath()
|
Summary |
getSummary(Indexer indexer,
Document document,
Locale locale,
String snippet,
PortletURL portletURL)
|
abstract String |
getTitle(String keywords)
|
protected String |
getURL(ThemeDisplay themeDisplay,
long groupId,
Document result,
PortletURL portletURL)
|
String |
search(javax.servlet.http.HttpServletRequest request,
long groupId,
long userId,
String keywords,
int startPage,
int itemsPerPage,
String format)
|
Methods inherited from class com.liferay.portal.kernel.search.BaseOpenSearchImpl |
addSearchResult, addSearchResult, addSearchResultAtom, addSearchResultRSS, addSearchResults, addSearchResults, addSearchResultsAtom, addSearchResultsRSS, getPortletURL, getPortletURL, isEnabled, search, search |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HitsOpenSearchImpl
public HitsOpenSearchImpl()
getIndexer
public Indexer getIndexer()
getPortletId
public abstract String getPortletId()
getSearchPath
public abstract String getSearchPath()
getSummary
public Summary getSummary(Indexer indexer,
Document document,
Locale locale,
String snippet,
PortletURL portletURL)
throws SearchException
- Throws:
SearchException
getTitle
public abstract String getTitle(String keywords)
search
public String search(javax.servlet.http.HttpServletRequest request,
long groupId,
long userId,
String keywords,
int startPage,
int itemsPerPage,
String format)
throws SearchException
- Specified by:
search
in interface OpenSearch
- Specified by:
search
in class BaseOpenSearchImpl
- Throws:
SearchException
getURL
protected String getURL(ThemeDisplay themeDisplay,
long groupId,
Document result,
PortletURL portletURL)
throws Exception
- Throws:
Exception