Class CatalogChangeHelper

java.lang.Object
com.broadleafcommerce.data.tracking.core.tenant.service.CatalogChangeHelper
All Implemented Interfaces:
CatalogChangeService

public class CatalogChangeHelper extends Object implements CatalogChangeService
Helper class used to simplify sync catalog changes against a catalog discriminated domain type,. Usually used in conjunction with an implementation of TenantPersistenceHandler.
Author:
Jeff Fischer
  • Constructor Details

  • Method Details

    • sync

      public void sync(Trackable catalog, Class<Trackable> type, boolean isNew)
      Description copied from interface: CatalogChangeService
      Sync catalog change information to one or more instances of <D>
      Specified by:
      sync in interface CatalogChangeService
      Parameters:
      catalog - The catalog instance whose state changed
      type - The class representing the related entity type
      isNew - Whether or not the catalog change is for a new catalog