Class DefaultTypeConditionDecorator

java.lang.Object
com.hybris.backoffice.solrsearch.decorators.impl.AbstractOrderedSearchConditionDecorator
com.hybris.backoffice.solrsearch.decorators.impl.DefaultTypeConditionDecorator
All Implemented Interfaces:
SearchConditionDecorator, org.springframework.core.Ordered

public class DefaultTypeConditionDecorator extends AbstractOrderedSearchConditionDecorator
Adds search type condition to filter query.
  • Constructor Details

    • DefaultTypeConditionDecorator

      public DefaultTypeConditionDecorator()
  • Method Details

    • decorate

      public void decorate(SearchConditionData conditionData, com.hybris.cockpitng.search.data.SearchQueryData queryData, IndexedType indexedType)
      Description copied from interface: SearchConditionDecorator
      Decorates SearchConditionData. In this decorator list of fq conditions and search conditions can be modified.
      Parameters:
      conditionData - search condition data which contains filter query conditions and query conditions.
      queryData - query data which comes from client side.
      indexedType - indexed type.
    • prepareTypeCondition

      protected SolrSearchCondition prepareTypeCondition(com.hybris.cockpitng.search.data.SearchQueryData queryData, IndexedType indexedType)
    • hasIndexedTypeCodeField

      protected boolean hasIndexedTypeCodeField(IndexedType indexedType)
    • getIndexedPropertyType

      protected String getIndexedPropertyType(IndexedType indexedType)
    • setTypeCodeFieldName

      public void setTypeCodeFieldName(String typeCodeFieldName)
    • getTypeCodeFieldName

      public String getTypeCodeFieldName()
    • setTypeService

      public void setTypeService(TypeService typeService)
    • getTypeService

      public TypeService getTypeService()