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 Details

    • handle

      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. Implementors must consume the DataFeedCollectionRequest and 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
    • canHandle

      boolean canHandle(DataFeedCollectionRequest request)
      Indicates if this DataFeedCollector can handle this type of DataFeedProcessExecution, presumably because of an entity type or other feed type indicator.
      Parameters:
      request -
      Returns: