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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
int
hashCode()
boolean
Whether or not marketplace catalog change events should be published to trigger reindexing for the products of this catalog.boolean
Whether or not creation of a marketplace application catalog should trigger a reindex of the catalog's products via aMarketplaceApplicationCatalogChangedEvent
.boolean
Whether or not deletion of a marketplace application catalog should trigger a reindex of the catalog's products via aMarketplaceApplicationCatalogChangedEvent
.boolean
Whether or not an update of a marketplace application catalog should trigger a reindex of the catalog's products via aMarketplaceApplicationCatalogChangedEvent
.boolean
boolean
boolean
boolean
void
setPublishReindexEvent
(boolean publishReindexEvent) Whether or not marketplace catalog change events should be published to trigger reindexing for the products of this catalog.void
setReindexOnCreate
(boolean reindexOnCreate) Whether or not creation of a marketplace application catalog should trigger a reindex of the catalog's products via aMarketplaceApplicationCatalogChangedEvent
.void
setReindexOnDelete
(boolean reindexOnDelete) Whether or not deletion of a marketplace application catalog should trigger a reindex of the catalog's products via aMarketplaceApplicationCatalogChangedEvent
.void
setReindexOnUpdate
(boolean reindexOnUpdate) Whether or not an update of a marketplace application catalog should trigger a reindex of the catalog's products via aMarketplaceApplicationCatalogChangedEvent
.toString()
-
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 aMarketplaceApplicationCatalogChangedEvent
. -
isReindexOnUpdate
public boolean isReindexOnUpdate()Whether or not an update of a marketplace application catalog should trigger a reindex of the catalog's products via aMarketplaceApplicationCatalogChangedEvent
. 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 aMarketplaceApplicationCatalogChangedEvent
. -
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 aMarketplaceApplicationCatalogChangedEvent
. -
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 aMarketplaceApplicationCatalogChangedEvent
. 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 aMarketplaceApplicationCatalogChangedEvent
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-