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:
- OpenSearch
public class DirectoryOpenSearchImpl
- extends HitsOpenSearchImpl
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 String SEARCH_PATH
- See Also:
- Constant Field Values
TITLE
public static final String TITLE
- See Also:
- Constant Field Values
DirectoryOpenSearchImpl
public DirectoryOpenSearchImpl()
getIndexer
public Indexer getIndexer()
- Overrides:
getIndexer
in class HitsOpenSearchImpl
getPortletId
public String getPortletId()
- Specified by:
getPortletId
in class HitsOpenSearchImpl
getSearchPath
public String getSearchPath()
- Specified by:
getSearchPath
in class HitsOpenSearchImpl
getSummary
public Summary getSummary(Indexer indexer,
Document document,
Locale locale,
String snippet,
PortletURL portletURL)
throws SearchException
- Overrides:
getSummary
in class HitsOpenSearchImpl
- Throws:
SearchException
getTitle
public String getTitle(String keywords)
- Specified by:
getTitle
in class HitsOpenSearchImpl
getPortletURL
protected PortletURL getPortletURL(javax.servlet.http.HttpServletRequest request,
String portletId,
long scopeGroupId)
throws Exception
- Overrides:
getPortletURL
in class BaseOpenSearchImpl
- Throws:
Exception
getUserParams
protected LinkedHashMap<String,Object> getUserParams(long companyId,
String keywords)