Liferay 6.2-ce-ga5

com.liferay.portlet.directory.util
Class DirectoryOpenSearchImpl

java.lang.Object
  extended by com.liferay.portal.kernel.search.BaseOpenSearchImpl
      extended by com.liferay.portal.kernel.search.HitsOpenSearchImpl
          extended by com.liferay.portlet.directory.util.DirectoryOpenSearchImpl
All Implemented Interfaces:
OpenSearch

public class DirectoryOpenSearchImpl
extends HitsOpenSearchImpl


Field Summary
static String SEARCH_PATH
           
static String TITLE
           
 
Constructor Summary
DirectoryOpenSearchImpl()
           
 
Method Summary
 Indexer getIndexer()
           
 String getPortletId()
           
protected  PortletURL getPortletURL(javax.servlet.http.HttpServletRequest request, String portletId, long scopeGroupId)
           
 String getSearchPath()
           
 Summary getSummary(Indexer indexer, Document document, Locale locale, String snippet, PortletURL portletURL)
           
 String getTitle(String keywords)
           
protected  LinkedHashMap<String,Object> getUserParams(long companyId, 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
 

Field Detail

SEARCH_PATH

public static final String SEARCH_PATH
See Also:
Constant Field Values

TITLE

public static final String TITLE
See Also:
Constant Field Values
Constructor Detail

DirectoryOpenSearchImpl

public DirectoryOpenSearchImpl()
Method Detail

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)

Liferay 6.2-ce-ga5