Interface AsSearchProfileContext

All Known Implementing Classes:
DefaultAsSearchProfileContext

public interface AsSearchProfileContext
This interface represents a context used for search profile related operations.
  • Method Details

    • getQueryContexts

      List<String> getQueryContexts()
      Returns the query contexts.
      Returns:
      the query contexts
    • getIndexConfiguration

      String getIndexConfiguration()
      Returns the index configuration.
      Returns:
      the index configuration
    • getIndexType

      String getIndexType()
      Returns the index type.
      Returns:
      the index type
    • getCatalogVersions

      List<CatalogVersionModel> getCatalogVersions()
      Returns the catalog versions.
      Returns:
      the catalog versions
    • getSessionCatalogVersions

      List<CatalogVersionModel> getSessionCatalogVersions()
      Returns the session catalog versions. Sometimes the search query runs in a local session context which sets the catalog versions in the session to the ones used in the search query, for this reason this method should be used instead of CatalogVersionService.getSessionCatalogVersions().
      Returns:
      the session catalog versions
    • getCategoryPath

      List<CategoryModel> getCategoryPath()
      Returns the category path.
      Returns:
      the category path
    • getLanguage

      LanguageModel getLanguage()
      Returns the language.
      Returns:
      the language
    • getCurrency

      CurrencyModel getCurrency()
      Returns the currency.
      Returns:
      the currency
    • getKeywords

      List<AsKeyword> getKeywords()
      Returns the keywords.
      Returns:
      the keywords
    • setKeywords

      void setKeywords(List<AsKeyword> keywords)
      Sets the keywords.
      Parameters:
      keywords - - the keywords
    • getQuery

      String getQuery()
      Returns the query.
      Returns:
      the query
    • setQuery

      void setQuery(String query)
      Sets the query.
      Parameters:
      query - - the query
    • getQualifiers

      Map<String,List<String>> getQualifiers()
      Returns a Map instance with the qualifiers.
      Returns:
      the map containing the attributes
    • getAttributes

      Map<String,Object> getAttributes()
      Returns a Map instance that can be used to store attributes.
      Returns:
      the map containing the attributes