com.liferay.portlet.journal.util
Class JournalOpenSearchImpl

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

public class JournalOpenSearchImpl
extends HitsOpenSearchImpl

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String SEARCH_PATH
           
static java.lang.String TITLE
           
 
Constructor Summary
JournalOpenSearchImpl()
           
 
Method Summary
 com.liferay.portal.kernel.search.Hits getHits(long companyId, java.lang.String keywords, int start, int end)
           
 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.HitsOpenSearchImpl
search
 
Methods inherited from class com.liferay.portal.search.BaseOpenSearchImpl
addSearchResult, addSearchResult, addSearchResultAtom, addSearchResultRSS, addSearchResults, addSearchResultsAtom, addSearchResultsRSS, getPortletURL, getPortletURL, isEnabled, 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 java.lang.String SEARCH_PATH
See Also:
Constant Field Values

TITLE

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

JournalOpenSearchImpl

public JournalOpenSearchImpl()
Method Detail

getHits

public com.liferay.portal.kernel.search.Hits getHits(long companyId,
                                                     java.lang.String keywords,
                                                     int start,
                                                     int end)
                                              throws java.lang.Exception
Specified by:
getHits 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

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