Class 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 Detail

      • ResultSearchRenderer

        public ResultSearchRenderer()
    • 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 interface org.silverpeas.core.web.search.ResultDisplayer