Package org.silverpeas.core.web.search
Class AbstractResultDisplayer
- java.lang.Object
-
- org.silverpeas.core.web.search.AbstractResultDisplayer
-
- All Implemented Interfaces:
ResultDisplayer
public abstract class AbstractResultDisplayer extends Object implements ResultDisplayer
This class shares common method to implement ResultDisplayer interface.
-
-
Constructor Summary
Constructors Constructor Description AbstractResultDisplayer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected UserPreferences
getUserPreferences(String userId)
protected void
setCommonAttributes(SearchResultContentVO searchResult, SilverpeasTemplate componentTemplate)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.web.search.ResultDisplayer
getResultContent
-
-
-
-
Method Detail
-
setCommonAttributes
protected void setCommonAttributes(SearchResultContentVO searchResult, SilverpeasTemplate componentTemplate)
- Parameters:
searchResult
- the SearchResultContentVO which encapsulates result datacomponentTemplate
- the silverpeas template where we set attributes
-
getUserPreferences
protected UserPreferences getUserPreferences(String userId)
- Returns:
- a UserPreferences object from Personalization service.
-
-