com.liferay.portal.search
Class PortalOpenSearchImpl

java.lang.Object
  extended bycom.liferay.portal.search.BaseOpenSearchImpl
      extended bycom.liferay.portal.search.PortalOpenSearchImpl
All Implemented Interfaces:
com.liferay.portal.kernel.search.OpenSearch

public class PortalOpenSearchImpl
extends BaseOpenSearchImpl

View Source

Author:
Charles May, Brian Wing Shun Chan

Field Summary
static java.lang.String SEARCH_PATH
           
 
Constructor Summary
PortalOpenSearchImpl()
           
 
Method Summary
protected  java.lang.String getJournalURL(com.liferay.portal.theme.ThemeDisplay themeDisplay, long groupId, com.liferay.portal.kernel.search.Document result)
           
 java.lang.String search(javax.servlet.http.HttpServletRequest req, java.lang.String keywords, int startPage, int itemsPerPage)
           
 
Methods inherited from class com.liferay.portal.search.BaseOpenSearchImpl
addSearchResult, addSearchResults, addSearchResults, addSearchResults, 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
Constructor Detail

PortalOpenSearchImpl

public PortalOpenSearchImpl()
Method Detail

search

public java.lang.String search(javax.servlet.http.HttpServletRequest req,
                               java.lang.String keywords,
                               int startPage,
                               int itemsPerPage)
                        throws com.liferay.portal.kernel.search.SearchException
Specified by:
search in interface com.liferay.portal.kernel.search.OpenSearch
Specified by:
search in class BaseOpenSearchImpl
Throws:
com.liferay.portal.kernel.search.SearchException

getJournalURL

protected java.lang.String getJournalURL(com.liferay.portal.theme.ThemeDisplay themeDisplay,
                                         long groupId,
                                         com.liferay.portal.kernel.search.Document result)
                                  throws java.lang.Exception
Throws:
java.lang.Exception