Liferay 7.0-ce-m3

com.liferay.portal.kernel.search
Class SearchResultUtil

java.lang.Object
  extended by com.liferay.portal.kernel.search.SearchResultUtil

public class SearchResultUtil
extends Object


Field Summary
protected static int SUMMARY_MAX_CONTENT_LENGTH
           
 
Constructor Summary
SearchResultUtil()
           
 
Method Summary
static List<SearchResult> getSearchResults(Hits hits, Locale locale, PortletURL portletURL)
           
static List<SearchResult> getSearchResults(Hits hits, Locale locale, PortletURL portletURL, PortletRequest portletRequest, PortletResponse portletResponse)
           
protected static Summary getSummary(Document document, String className, long classPK, Locale locale, PortletURL portletURL, PortletRequest portletRequest, PortletResponse portletResponse)
           
protected static Summary getSummary(String className, long classPK, Locale locale, PortletURL portletURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUMMARY_MAX_CONTENT_LENGTH

protected static final int SUMMARY_MAX_CONTENT_LENGTH
See Also:
Constant Field Values
Constructor Detail

SearchResultUtil

public SearchResultUtil()
Method Detail

getSearchResults

public static List<SearchResult> getSearchResults(Hits hits,
                                                  Locale locale,
                                                  PortletURL portletURL)

getSearchResults

public static List<SearchResult> getSearchResults(Hits hits,
                                                  Locale locale,
                                                  PortletURL portletURL,
                                                  PortletRequest portletRequest,
                                                  PortletResponse portletResponse)

getSummary

protected static Summary getSummary(Document document,
                                    String className,
                                    long classPK,
                                    Locale locale,
                                    PortletURL portletURL,
                                    PortletRequest portletRequest,
                                    PortletResponse portletResponse)
                             throws PortalException
Throws:
PortalException

getSummary

protected static Summary getSummary(String className,
                                    long classPK,
                                    Locale locale,
                                    PortletURL portletURL)
                             throws PortalException
Throws:
PortalException

Liferay 7.0-ce-m3