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
- Direct Known Subclasses:
- BlogsOpenSearchImpl, BookmarksOpenSearchImpl, CalendarOpenSearchImpl, DirectoryOpenSearchImpl, DLOpenSearchImpl, IGOpenSearchImpl, JournalOpenSearchImpl, MBOpenSearchImpl, WikiOpenSearchImpl
public abstract class HitsOpenSearchImpl
- extends BaseOpenSearchImpl
Method Summary |
protected void |
addSearchAttributes(long companyId,
SearchContext searchContext,
String keywords)
|
abstract String |
getPortletId()
|
abstract String |
getSearchPath()
|
Summary |
getSummary(Indexer indexer,
Document document,
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()
getPortletId
public abstract String getPortletId()
getSearchPath
public abstract String getSearchPath()
getSummary
public Summary getSummary(Indexer indexer,
Document document,
String snippet,
PortletURL portletURL)
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
addSearchAttributes
protected void addSearchAttributes(long companyId,
SearchContext searchContext,
String keywords)
getURL
protected String getURL(ThemeDisplay themeDisplay,
long groupId,
Document result,
PortletURL portletURL)
throws Exception
- Throws:
Exception