Class SponsoredLinksSearchService
- java.lang.Object
-
- fr.paris.lutece.portal.service.search.SponsoredLinksSearchService
-
- All Implemented Interfaces:
ISponsoredLinksSearchService
public class SponsoredLinksSearchService extends java.lang.Object implements ISponsoredLinksSearchService
Default sponsored links search service implementation
-
-
Constructor Summary
Constructors Constructor Description SponsoredLinksSearchService()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetHtmlCode(java.lang.String strRequest, java.util.Locale locale)Call a ISponsoredLinks service to compute the request and returns the result as html code.booleanisAvailable()
-
-
-
Method Detail
-
getHtmlCode
public java.lang.String getHtmlCode(java.lang.String strRequest, java.util.Locale locale)Call a ISponsoredLinks service to compute the request and returns the result as html code. Returns an empty string""if the service is not available or if no result was found- Specified by:
getHtmlCodein interfaceISponsoredLinksSearchService- Parameters:
strRequest- the request to computelocale- The locale- Returns:
- the html code of the computed request
-
isAvailable
public boolean isAvailable()
- Specified by:
isAvailablein interfaceISponsoredLinksSearchService- Returns:
- if a SponsoredLinks service is loaded
-
-