Class DefaultSnQualifierTypeFactory

java.lang.Object
de.hybris.platform.searchservices.core.service.impl.DefaultSnQualifierTypeFactory
All Implemented Interfaces:
SnQualifierTypeFactory, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class DefaultSnQualifierTypeFactory extends Object implements SnQualifierTypeFactory, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
Default implementation of SnQualifierTypeFactory.
  • Constructor Details

    • DefaultSnQualifierTypeFactory

      public DefaultSnQualifierTypeFactory()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • loadQualifierProviders

      protected void loadQualifierProviders()
    • getAllQualifierTypeIds

      public List<String> getAllQualifierTypeIds()
      Description copied from interface: SnQualifierTypeFactory
      Returns all qualifier type ids.
      Specified by:
      getAllQualifierTypeIds in interface SnQualifierTypeFactory
      Returns:
      all qualifier type ids
    • getAllQualifierTypes

      public List<SnQualifierType> getAllQualifierTypes()
      Description copied from interface: SnQualifierTypeFactory
      Returns all qualifier types.
      Specified by:
      getAllQualifierTypes in interface SnQualifierTypeFactory
      Returns:
      all qualifier types
    • getQualifierType

      public Optional<SnQualifierType> getQualifierType(SnContext context, SnField field)
      Description copied from interface: SnQualifierTypeFactory
      Returns the qualifier type for a given context and field.
      Specified by:
      getQualifierType in interface SnQualifierTypeFactory
      Parameters:
      context - - the context
      field - - the field
      Returns:
      the qualifier type
    • getApplicationContext

      protected org.springframework.context.ApplicationContext getApplicationContext()
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware