Class ResultSearchRenderer
- java.lang.Object
-
- org.silverpeas.core.web.search.AbstractResultDisplayer
-
- org.silverpeas.components.almanach.ResultSearchRenderer
-
- All Implemented Interfaces:
org.silverpeas.core.web.search.ResultDisplayer
@Service @Named("almanachResultDisplayer") public class ResultSearchRenderer extends org.silverpeas.core.web.search.AbstractResultDisplayer implements org.silverpeas.core.web.search.ResultDisplayer
This class implements a ResultDisplayer in order to customize search result display. It uses "Named" annotation to inject dependency. Be careful to not modify this name that uses the following rules : componentName + POSTFIX_BEAN_NAME POSTFIX_BEAN_NAME = ResultDisplayer
-
-
Constructor Summary
Constructors Constructor Description ResultSearchRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getResultContent(org.silverpeas.core.web.search.SearchResultContentVO searchResult)
protected void
loadConfig()
Loads the template configuration.
-
-
-
Method Detail
-
loadConfig
@PostConstruct protected void loadConfig()
Loads the template configuration.
-
getResultContent
public String getResultContent(org.silverpeas.core.web.search.SearchResultContentVO searchResult)
- Specified by:
getResultContent
in interfaceorg.silverpeas.core.web.search.ResultDisplayer
-
-