com.liferay.portlet.directory.util
Class DirectoryOpenSearchImpl
java.lang.Object
com.liferay.portal.kernel.search.BaseOpenSearchImpl
com.liferay.portal.kernel.search.HitsOpenSearchImpl
com.liferay.portlet.directory.util.DirectoryOpenSearchImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.search.OpenSearch
public class DirectoryOpenSearchImpl
- extends com.liferay.portal.kernel.search.HitsOpenSearchImpl
- Author:
- Brian Wing Shun Chan, Marcellus Tavares, Ryan Park
|
Method Summary |
com.liferay.portal.kernel.search.Indexer |
getIndexer()
|
java.lang.String |
getPortletId()
|
protected javax.portlet.PortletURL |
getPortletURL(javax.servlet.http.HttpServletRequest request,
java.lang.String portletId,
long scopeGroupId)
|
java.lang.String |
getSearchPath()
|
com.liferay.portal.kernel.search.Summary |
getSummary(com.liferay.portal.kernel.search.Indexer indexer,
com.liferay.portal.kernel.search.Document document,
java.util.Locale locale,
java.lang.String snippet,
javax.portlet.PortletURL portletURL)
|
java.lang.String |
getTitle(java.lang.String keywords)
|
protected java.util.LinkedHashMap<java.lang.String,java.lang.Object> |
getUserParams(long companyId,
java.lang.String keywords)
|
| Methods inherited from class com.liferay.portal.kernel.search.HitsOpenSearchImpl |
getURL, search |
| Methods inherited from class com.liferay.portal.kernel.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()
getIndexer
public com.liferay.portal.kernel.search.Indexer getIndexer()
- Overrides:
getIndexer in class com.liferay.portal.kernel.search.HitsOpenSearchImpl
getPortletId
public java.lang.String getPortletId()
- Specified by:
getPortletId in class com.liferay.portal.kernel.search.HitsOpenSearchImpl
getSearchPath
public java.lang.String getSearchPath()
- Specified by:
getSearchPath in class com.liferay.portal.kernel.search.HitsOpenSearchImpl
getSummary
public com.liferay.portal.kernel.search.Summary getSummary(com.liferay.portal.kernel.search.Indexer indexer,
com.liferay.portal.kernel.search.Document document,
java.util.Locale locale,
java.lang.String snippet,
javax.portlet.PortletURL portletURL)
throws com.liferay.portal.kernel.search.SearchException
- Overrides:
getSummary in class com.liferay.portal.kernel.search.HitsOpenSearchImpl
- Throws:
com.liferay.portal.kernel.search.SearchException
getTitle
public java.lang.String getTitle(java.lang.String keywords)
- Specified by:
getTitle in class com.liferay.portal.kernel.search.HitsOpenSearchImpl
getPortletURL
protected javax.portlet.PortletURL getPortletURL(javax.servlet.http.HttpServletRequest request,
java.lang.String portletId,
long scopeGroupId)
throws java.lang.Exception
- Overrides:
getPortletURL in class com.liferay.portal.kernel.search.BaseOpenSearchImpl
- Throws:
java.lang.Exception
getUserParams
protected java.util.LinkedHashMap<java.lang.String,java.lang.Object> getUserParams(long companyId,
java.lang.String keywords)