Interface DataFeedCollector
- All Known Implementing Classes:
- AbstractJsonArrayDataFeedCollector,- ProductDataFeedCollector
public interface DataFeedCollector
Component that gathers or collects data (e.g. Catalog data or Customer data) and writes it to a
 JSON file to be transformed and fed to syndicates like Google, Facebook, eBay, SalesForce, etc.
- Author:
- Kelly Tisdell (ktisdell)
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanHandle(DataFeedCollectionRequest request) Indicates if thisDataFeedCollectorcan handle this type ofDataFeedProcessExecution, presumably because of an entity type or other feed type indicator.handle(DataFeedCollectionRequest request) This method handles collecting and transforming data of a certain type into a JSON file that will be used to transform and publish to syndicates such as Google or Facebook.
- 
Method Details- 
handleThis method handles collecting and transforming data of a certain type into a JSON file that will be used to transform and publish to syndicates such as Google or Facebook. Implementors must consume theDataFeedCollectionRequestand use it to fetch data (e.g. from the CatalogService) and then write that data to a file system for future processing or publication.- Parameters:
- request-
- Returns:
- the DataFeedCollectionResponse containing details about the data collection step
 
- 
canHandleIndicates if thisDataFeedCollectorcan handle this type ofDataFeedProcessExecution, presumably because of an entity type or other feed type indicator.- Parameters:
- request-
- Returns:
 
 
-