fr.paris.lutece.portal.service.search
Interface ISponsoredLinksSearchService
- All Known Implementing Classes:
- SponsoredLinksSearchService
public interface ISponsoredLinksSearchService
The interface for sponsored link search service
Method Summary |
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. |
boolean |
isAvailable()
|
getHtmlCode
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
- Parameters:
strRequest
- the request to computelocale
- The locale
- Returns:
- the html code of the computed request
isAvailable
boolean isAvailable()
- Returns:
- if a SponsoredLinks service is loaded
Copyright © 2011 Mairie de Paris. All Rights Reserved.