Liferay 7.0-ce-m6

com.liferay.portal.kernel.search
Class BaseSearchResultManager

java.lang.Object
  extended by com.liferay.portal.kernel.search.BaseSearchResultManager
All Implemented Interfaces:
SearchResultManager

public abstract class BaseSearchResultManager
extends Object
implements SearchResultManager


Field Summary
static int SUMMARY_MAX_CONTENT_LENGTH
           
 
Constructor Summary
BaseSearchResultManager()
           
 
Method Summary
protected  void addRelatedModel(SearchResult searchResult, Document document, Locale locale, PortletRequest portletRequest, PortletResponse portletResponse)
           
 SearchResult createSearchResult(Document document)
           
protected static Summary getSummary(Document document, String className, long classPK, Locale locale, PortletRequest portletRequest, PortletResponse portletResponse)
           
protected static Summary getSummary(String className, long classPK, Locale locale)
           
 void updateSearchResult(SearchResult searchResult, Document document, Locale locale, PortletRequest portletRequest, PortletResponse portletResponse)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUMMARY_MAX_CONTENT_LENGTH

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

BaseSearchResultManager

public BaseSearchResultManager()
Method Detail

createSearchResult

public SearchResult createSearchResult(Document document)
Specified by:
createSearchResult in interface SearchResultManager

updateSearchResult

public void updateSearchResult(SearchResult searchResult,
                               Document document,
                               Locale locale,
                               PortletRequest portletRequest,
                               PortletResponse portletResponse)
                        throws PortalException
Specified by:
updateSearchResult in interface SearchResultManager
Throws:
PortalException

getSummary

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

getSummary

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

addRelatedModel

protected void addRelatedModel(SearchResult searchResult,
                               Document document,
                               Locale locale,
                               PortletRequest portletRequest,
                               PortletResponse portletResponse)
                        throws PortalException
Throws:
PortalException

Liferay 7.0-ce-m6