com.liferay.portal.search
Class PortalOpenSearchImpl

java.lang.Object
  extended by com.liferay.portal.search.BaseOpenSearchImpl
      extended by com.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 request, java.lang.String keywords, int startPage, int itemsPerPage, java.lang.String format)
           
 
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
Constructor Detail

PortalOpenSearchImpl

public PortalOpenSearchImpl()
Method Detail

search

public java.lang.String search(javax.servlet.http.HttpServletRequest request,
                               java.lang.String keywords,
                               int startPage,
                               int itemsPerPage,
                               java.lang.String format)
                        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