public interface MultiTenantProductDao
| Modifier and Type | Method and Description |
|---|---|
Map<String,Map<Long,Set<Long>>> |
getOverrideCache()
Get a cached map that identifies standard site catalog ids that contain entity overrides for a template catalog entity.
|
Collection<Long> |
getProductionOverriddenCatalogIds(org.broadleafcommerce.core.catalog.domain.Indexable indexable)
For the given master template indexable, returns a list of Catalog IDs that have an overridden version of
said indexable in production.
|
Collection<Long> |
getProductionOverriddenCatalogIdsOnlyInRelationships(org.broadleafcommerce.core.catalog.domain.Product product)
Similar idea as
getProductionOverriddenCatalogIdsOnlyInRelationships(Product) except that this is only for
relationships of the given product (like CategoryProductXref). |
Collection<Long> getProductionOverriddenCatalogIds(org.broadleafcommerce.core.catalog.domain.Indexable indexable)
For the given master template indexable, returns a list of Catalog IDs that have an overridden version of said indexable in production.
So given this scenario:
Given another scenario:
This will look both at the clones of the given indexable as well as clones in relationships where the indexable itself would not have been cloned
indexable - from the parent catalog to find overrides forCollection<Long> getProductionOverriddenCatalogIdsOnlyInRelationships(org.broadleafcommerce.core.catalog.domain.Product product)
getProductionOverriddenCatalogIdsOnlyInRelationships(Product) except that this is only for
relationships of the given product (like CategoryProductXref). This is useful because if a change
occurs in one of these relationships the Product does not actually get cloned, only the relationship.product - #getProductionOverriddenCatalogIds(Indexable)}Copyright © 2020. All rights reserved.