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
 String getHtmlCode(String strRequest, Locale locale)
          Call a ISponsoredLinks service to compute the request and returns the result as html code.
 boolean isAvailable()
           
 

Method Detail

getHtmlCode

String getHtmlCode(String strRequest,
                   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 compute
locale - The locale
Returns:
the html code of the computed request

isAvailable

boolean isAvailable()
Returns:
if a SponsoredLinks service is loaded


Copyright © 2014 Mairie de Paris. All Rights Reserved.