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, 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()
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,
String snippet,
PortletURL portletURL)
- Overrides:
getSummary
in class HitsOpenSearchImpl
getTitle
public String getTitle(String keywords)
- Specified by:
getTitle
in class HitsOpenSearchImpl
addSearchAttributes
protected void addSearchAttributes(long companyId,
SearchContext searchContext,
String keywords)
- Overrides:
addSearchAttributes
in class HitsOpenSearchImpl
getUserParams
protected LinkedHashMap<String,Object> getUserParams(long companyId,
String keywords)