Interface ISponsoredLinksSearchService

  • All Known Implementing Classes:
    SponsoredLinksSearchService

    public interface ISponsoredLinksSearchService
    The interface for sponsored link search service
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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()  
    • Method Detail

      • 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 compute
        locale - The locale
        Returns:
        the html code of the computed request
      • isAvailable

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