java.lang.Object
de.hybris.platform.acceleratorservices.dataexport.generic.query.impl.FlexibleSearchExportQuery
All Implemented Interfaces:
ExportQuery, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware

public class FlexibleSearchExportQuery extends Object implements ExportQuery, org.springframework.beans.factory.BeanFactoryAware
Default implementation of ExportQuery.
  • Constructor Details

    • FlexibleSearchExportQuery

      public FlexibleSearchExportQuery()
  • Method Details

    • getBeanFactory

      protected org.springframework.beans.factory.BeanFactory getBeanFactory()
    • setBeanFactory

      public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
      Specified by:
      setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
      Throws:
      org.springframework.beans.BeansException
    • getFlexibleSearchService

      protected FlexibleSearchService getFlexibleSearchService()
    • setFlexibleSearchService

      public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
    • getQuery

      protected String getQuery()
    • setQuery

      public void setQuery(String query)
    • getParameters

      protected Map<String,String> getParameters()
    • setParameters

      public void setParameters(Map<String,String> parameters)
    • getImpersonationService

      public ImpersonationService getImpersonationService()
    • setImpersonationService

      public void setImpersonationService(ImpersonationService impersonationService)
    • search

      public List<PK> search(org.springframework.messaging.Message<?> message, ExportDataEvent exportDataEvent) throws Throwable
      Description copied from interface: ExportQuery
      Search for a list of PK's to send to the next step in the chain
      Specified by:
      search in interface ExportQuery
      Parameters:
      message - The Spring message in the chain
      exportDataEvent - The object that contains the type of event and all relevant data to search
      Returns:
      list of PK's
      Throws:
      Throwable
    • prepareParameters

      protected Map<String,Object> prepareParameters(org.springframework.messaging.Message<?> message, Map<String,String> parameters)
    • evalExpression

      protected <T> T evalExpression(org.springframework.messaging.Message<?> message, String expressionString, Class<T> resultType)