Class MarketplaceCatalogReindexProperties

java.lang.Object
com.broadleafcommerce.data.tracking.core.tenant.service.MarketplaceCatalogReindexProperties

@ConfigurationProperties("broadleaf.common.data.tenant.marketplace.reindex") public class MarketplaceCatalogReindexProperties extends Object
Configuration for automatically reindexing Marketplace Catalog products.
Author:
Marie Standeven (marieStandeven)
  • Constructor Details

    • MarketplaceCatalogReindexProperties

      public MarketplaceCatalogReindexProperties()
  • Method Details

    • publishReindexEvent

      public boolean publishReindexEvent()
    • reindexOnCreate

      public boolean reindexOnCreate()
    • reindexOnUpdate

      public boolean reindexOnUpdate()
    • reindexOnDelete

      public boolean reindexOnDelete()
    • isPublishReindexEvent

      public boolean isPublishReindexEvent()
      Whether or not marketplace catalog change events should be published to trigger reindexing for the products of this catalog.
    • isReindexOnCreate

      public boolean isReindexOnCreate()
      Whether or not creation of a marketplace application catalog should trigger a reindex of the catalog's products via a MarketplaceApplicationCatalogChangedEvent.
    • isReindexOnUpdate

      public boolean isReindexOnUpdate()
      Whether or not an update of a marketplace application catalog should trigger a reindex of the catalog's products via a MarketplaceApplicationCatalogChangedEvent. Note: if a catalog status is updated (e.g. ONLINE or OFFLINE), this will affect whether the catalog's products should be indexed or removed from the Solr collection.
    • isReindexOnDelete

      public boolean isReindexOnDelete()
      Whether or not deletion of a marketplace application catalog should trigger a reindex of the catalog's products via a MarketplaceApplicationCatalogChangedEvent.
    • setPublishReindexEvent

      public void setPublishReindexEvent(boolean publishReindexEvent)
      Whether or not marketplace catalog change events should be published to trigger reindexing for the products of this catalog.
    • setReindexOnCreate

      public void setReindexOnCreate(boolean reindexOnCreate)
      Whether or not creation of a marketplace application catalog should trigger a reindex of the catalog's products via a MarketplaceApplicationCatalogChangedEvent.
    • setReindexOnUpdate

      public void setReindexOnUpdate(boolean reindexOnUpdate)
      Whether or not an update of a marketplace application catalog should trigger a reindex of the catalog's products via a MarketplaceApplicationCatalogChangedEvent. Note: if a catalog status is updated (e.g. ONLINE or OFFLINE), this will affect whether the catalog's products should be indexed or removed from the Solr collection.
    • setReindexOnDelete

      public void setReindexOnDelete(boolean reindexOnDelete)
      Whether or not deletion of a marketplace application catalog should trigger a reindex of the catalog's products via a MarketplaceApplicationCatalogChangedEvent.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object