com.silverpeas.search
Class AbstractResultDisplayer
java.lang.Object
com.silverpeas.search.AbstractResultDisplayer
- All Implemented Interfaces:
- ResultDisplayer
public abstract class AbstractResultDisplayer
- extends Object
- implements ResultDisplayer
This class shares common method to implement ResultDisplayer interface.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractResultDisplayer
public AbstractResultDisplayer()
setCommonAttributes
protected SilverpeasTemplate setCommonAttributes(SearchResultContentVO searchResult,
SilverpeasTemplate componentTemplate)
- Parameters:
searchResult
- the SearchResultContentVO which encapsulates result datacomponentTemplate
- the silverpeas template where we set attributes
- Returns:
- a SilverpeasTemplate with additional common attributes.
getUserPreferences
protected UserPreferences getUserPreferences(String userId)
- Returns:
- a UserPreferences object from Personalization service.
- Throws:
javax.servlet.jsp.JspTagException
Copyright © 2016 Silverpeas. All Rights Reserved.