com.liferay.portlet.directory.util
Class DirectoryOpenSearchImpl
java.lang.Object
com.liferay.portal.search.BaseOpenSearchImpl
com.liferay.portal.search.HitsOpenSearchImpl
com.liferay.portlet.directory.util.DirectoryOpenSearchImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.search.OpenSearch
public class DirectoryOpenSearchImpl
- extends HitsOpenSearchImpl
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
com.liferay.portal.kernel.search.DocumentSummary |
getDocumentSummary(com.liferay.portal.kernel.search.Indexer indexer,
com.liferay.portal.kernel.search.Document document,
java.lang.String snippet,
javax.portlet.PortletURL portletURL)
|
com.liferay.portal.kernel.search.Hits |
getHits(long companyId,
long groupId,
long userId,
java.lang.String keywords,
int start,
int end)
|
protected javax.portlet.PortletURL |
getPortletURL(javax.servlet.http.HttpServletRequest request,
java.lang.String portletId,
long groupId)
|
java.lang.String |
getSearchPath()
|
java.lang.String |
getTitle(java.lang.String keywords)
|
protected java.lang.String |
getURL(com.liferay.portal.theme.ThemeDisplay themeDisplay,
long groupId,
com.liferay.portal.kernel.search.Document result,
javax.portlet.PortletURL portletURL)
|
Methods inherited from class com.liferay.portal.search.BaseOpenSearchImpl |
addSearchResult, addSearchResult, addSearchResultAtom, addSearchResultRSS, addSearchResults, addSearchResults, addSearchResultsAtom, addSearchResultsRSS, getPortletURL, isEnabled, search, search |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SEARCH_PATH
public static final java.lang.String SEARCH_PATH
- See Also:
- Constant Field Values
TITLE
public static final java.lang.String TITLE
- See Also:
- Constant Field Values
DirectoryOpenSearchImpl
public DirectoryOpenSearchImpl()
getDocumentSummary
public com.liferay.portal.kernel.search.DocumentSummary getDocumentSummary(com.liferay.portal.kernel.search.Indexer indexer,
com.liferay.portal.kernel.search.Document document,
java.lang.String snippet,
javax.portlet.PortletURL portletURL)
- Overrides:
getDocumentSummary
in class HitsOpenSearchImpl
getHits
public com.liferay.portal.kernel.search.Hits getHits(long companyId,
long groupId,
long userId,
java.lang.String keywords,
int start,
int end)
throws java.lang.Exception
- Specified by:
getHits
in class HitsOpenSearchImpl
- Throws:
java.lang.Exception
getPortletURL
protected javax.portlet.PortletURL getPortletURL(javax.servlet.http.HttpServletRequest request,
java.lang.String portletId,
long groupId)
throws javax.portlet.PortletModeException,
com.liferay.portal.SystemException,
javax.portlet.WindowStateException
- Overrides:
getPortletURL
in class BaseOpenSearchImpl
- Throws:
javax.portlet.PortletModeException
com.liferay.portal.SystemException
javax.portlet.WindowStateException
getURL
protected java.lang.String getURL(com.liferay.portal.theme.ThemeDisplay themeDisplay,
long groupId,
com.liferay.portal.kernel.search.Document result,
javax.portlet.PortletURL portletURL)
throws java.lang.Exception
- Overrides:
getURL
in class HitsOpenSearchImpl
- Throws:
java.lang.Exception
getSearchPath
public java.lang.String getSearchPath()
- Specified by:
getSearchPath
in class HitsOpenSearchImpl
getTitle
public java.lang.String getTitle(java.lang.String keywords)
- Specified by:
getTitle
in class HitsOpenSearchImpl