Class FlexibleSearchExportQuery
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> TevalExpression(org.springframework.messaging.Message<?> message, String expressionString, Class<T> resultType) protected org.springframework.beans.factory.BeanFactoryprotected FlexibleSearchServiceprotected StringgetQuery()prepareParameters(org.springframework.messaging.Message<?> message, Map<String, String> parameters) search(org.springframework.messaging.Message<?> message, ExportDataEvent exportDataEvent) Search for a list of PK's to send to the next step in the chainvoidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService) voidsetImpersonationService(ImpersonationService impersonationService) voidsetParameters(Map<String, String> parameters) void
-
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:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Throws:
org.springframework.beans.BeansException
-
getFlexibleSearchService
-
setFlexibleSearchService
-
getQuery
-
setQuery
-
getParameters
-
setParameters
-
getImpersonationService
-
setImpersonationService
-
search
public List<PK> search(org.springframework.messaging.Message<?> message, ExportDataEvent exportDataEvent) throws Throwable Description copied from interface:ExportQuerySearch for a list of PK's to send to the next step in the chain- Specified by:
searchin interfaceExportQuery- Parameters:
message- The Spring message in the chainexportDataEvent- The object that contains the type of event and all relevant data to search- Returns:
- list of PK's
- Throws:
Throwable
-
prepareParameters
-
evalExpression
-