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 com.liferay.portal.search.HitsOpenSearchImpl

View Source

Author:
Brian Wing Shun Chan, Wesley Gong

Field Summary
static java.lang.String SEARCH_PATH
           
static java.lang.String TITLE
           
 
Constructor Summary
JournalOpenSearchImpl()
           
 
Method Summary
protected  java.lang.String getLayoutURL(com.liferay.portal.theme.ThemeDisplay themeDisplay, java.lang.String articleId)
           
 java.lang.String getPortletId()
           
 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, 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
 

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

getPortletId

public java.lang.String getPortletId()
Specified by:
getPortletId in class com.liferay.portal.search.HitsOpenSearchImpl

getSearchPath

public java.lang.String getSearchPath()
Specified by:
getSearchPath in class com.liferay.portal.search.HitsOpenSearchImpl

getTitle

public java.lang.String getTitle(java.lang.String keywords)
Specified by:
getTitle in class com.liferay.portal.search.HitsOpenSearchImpl

getLayoutURL

protected java.lang.String getLayoutURL(com.liferay.portal.theme.ThemeDisplay themeDisplay,
                                        java.lang.String articleId)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

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 com.liferay.portal.search.HitsOpenSearchImpl
Throws:
java.lang.Exception