Class DefaultSolrFieldSearchFacadeStrategy<T extends ItemModel>

  • All Implemented Interfaces:
    com.hybris.cockpitng.dataaccess.facades.search.AutosuggestionSupport, com.hybris.cockpitng.dataaccess.facades.search.FieldSearchFacade<T>, com.hybris.cockpitng.dataaccess.facades.search.FieldSearchFacadeStrategy<T>, com.hybris.cockpitng.dataaccess.facades.search.OrderedFieldSearchFacadeStrategy<T>, org.springframework.core.Ordered

    @Deprecated(since="2105",
                forRemoval=true)
    public class DefaultSolrFieldSearchFacadeStrategy<T extends ItemModel>
    extends java.lang.Object
    implements com.hybris.cockpitng.dataaccess.facades.search.AutosuggestionSupport, com.hybris.cockpitng.dataaccess.facades.search.OrderedFieldSearchFacadeStrategy<T>
    Deprecated, for removal: This API element is subject to removal in a future version.
    (Using class BackofficeSolrFieldSearchFacadeStrategy to replace current class)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String STRATEGY_NAME
      Deprecated, for removal: This API element is subject to removal in a future version.
      Strategy name to be used in configuration when preferred search strategy is to be changed
      • Fields inherited from interface com.hybris.cockpitng.dataaccess.facades.search.FieldSearchFacadeStrategy

        CONTEXT_ORIGINAL_QUERY
      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultSolrFieldSearchFacadeStrategy()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean canHandle​(java.lang.String typeCode)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      boolean canHandle​(java.lang.String typeCode, com.hybris.cockpitng.dataaccess.context.Context context)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.util.Map<java.lang.String,​java.util.Collection<java.lang.String>> getAutosuggestionsForQuery​(com.hybris.cockpitng.search.data.AutosuggestionQueryData queryData)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.util.Map<java.lang.String,​java.util.Collection<java.lang.String>> getAutosuggestionsForQuery​(com.hybris.cockpitng.search.data.AutosuggestionQueryData queryData, com.hybris.cockpitng.dataaccess.context.Context context)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected java.util.List<ItemModel> getFilteredResults​(java.util.List<ItemModel> itemModels)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      int getOrder()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.lang.String getStrategyName()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      boolean isSortable​(com.hybris.cockpitng.dataaccess.facades.type.DataType type, java.lang.String attributeQualifier, com.hybris.cockpitng.dataaccess.context.Context context)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      com.hybris.cockpitng.search.data.pageable.Pageable<T> search​(com.hybris.cockpitng.search.data.SearchQueryData queryData)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setCommonI18NService​(CommonI18NService commonI18NService)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setFacetSearchConfigService​(BackofficeFacetSearchConfigService facetSearchConfigService)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setFacetSearchService​(BackofficeFacetSearchService facetSearchService)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setFullTextSearchDataConverter​(FullTextSearchDataConverter fullTextSearchDataConverter)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setOrder​(int order)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setSolrAutoSuggestService​(SolrAutoSuggestService solrAutoSuggestService)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setSolrFieldSearchDAO​(SolrFieldSearchDAO solrFieldSearchDAO)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.hybris.cockpitng.dataaccess.facades.search.FieldSearchFacade

        search
      • Methods inherited from interface com.hybris.cockpitng.dataaccess.facades.search.FieldSearchFacadeStrategy

        useOrForGlobalOperator
    • Field Detail

      • STRATEGY_NAME

        public static final java.lang.String STRATEGY_NAME
        Deprecated, for removal: This API element is subject to removal in a future version.
        Strategy name to be used in configuration when preferred search strategy is to be changed
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultSolrFieldSearchFacadeStrategy

        public DefaultSolrFieldSearchFacadeStrategy()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • canHandle

        public boolean canHandle​(java.lang.String typeCode)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        canHandle in interface com.hybris.cockpitng.dataaccess.facades.search.FieldSearchFacadeStrategy<T extends ItemModel>
      • canHandle

        public boolean canHandle​(java.lang.String typeCode,
                                 com.hybris.cockpitng.dataaccess.context.Context context)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        canHandle in interface com.hybris.cockpitng.dataaccess.facades.search.FieldSearchFacadeStrategy<T extends ItemModel>
      • isSortable

        public boolean isSortable​(com.hybris.cockpitng.dataaccess.facades.type.DataType type,
                                  java.lang.String attributeQualifier,
                                  com.hybris.cockpitng.dataaccess.context.Context context)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        isSortable in interface com.hybris.cockpitng.dataaccess.facades.search.FieldSearchFacade<T extends ItemModel>
      • search

        public com.hybris.cockpitng.search.data.pageable.Pageable<T> search​(com.hybris.cockpitng.search.data.SearchQueryData queryData)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        search in interface com.hybris.cockpitng.dataaccess.facades.search.FieldSearchFacade<T extends ItemModel>
      • getAutosuggestionsForQuery

        public java.util.Map<java.lang.String,​java.util.Collection<java.lang.String>> getAutosuggestionsForQuery​(com.hybris.cockpitng.search.data.AutosuggestionQueryData queryData)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getAutosuggestionsForQuery in interface com.hybris.cockpitng.dataaccess.facades.search.AutosuggestionSupport
      • getAutosuggestionsForQuery

        public java.util.Map<java.lang.String,​java.util.Collection<java.lang.String>> getAutosuggestionsForQuery​(com.hybris.cockpitng.search.data.AutosuggestionQueryData queryData,
                                                                                                                       com.hybris.cockpitng.dataaccess.context.Context context)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getAutosuggestionsForQuery in interface com.hybris.cockpitng.dataaccess.facades.search.AutosuggestionSupport
      • getFilteredResults

        protected java.util.List<ItemModel> getFilteredResults​(java.util.List<ItemModel> itemModels)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setFacetSearchService

        public void setFacetSearchService​(BackofficeFacetSearchService facetSearchService)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setCommonI18NService

        public void setCommonI18NService​(CommonI18NService commonI18NService)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setFacetSearchConfigService

        public void setFacetSearchConfigService​(BackofficeFacetSearchConfigService facetSearchConfigService)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setSolrFieldSearchDAO

        public void setSolrFieldSearchDAO​(SolrFieldSearchDAO solrFieldSearchDAO)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setSolrAutoSuggestService

        public void setSolrAutoSuggestService​(SolrAutoSuggestService solrAutoSuggestService)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setFullTextSearchDataConverter

        public void setFullTextSearchDataConverter​(FullTextSearchDataConverter fullTextSearchDataConverter)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getOrder

        public int getOrder()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • setOrder

        public void setOrder​(int order)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getStrategyName

        public java.lang.String getStrategyName()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getStrategyName in interface com.hybris.cockpitng.dataaccess.facades.search.FieldSearchFacadeStrategy<T extends ItemModel>