public interface CatalogCacheService
| Modifier and Type | Interface and Description |
|---|---|
static class |
CatalogCacheService.NullCategory |
static class |
CatalogCacheService.NullProduct |
| Modifier and Type | Field and Description |
|---|---|
static CatalogCacheService.NullCategory |
NULL_CATEGORY
Used as a cached 404 result
|
static CatalogCacheService.NullProduct |
NULL_PRODUCT
Used as a cached 404 result
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToCategoryCache(org.broadleafcommerce.core.catalog.domain.Category category,
String requestUri) |
void |
addToProductCache(org.broadleafcommerce.core.catalog.domain.Product product,
String requestUri) |
List<org.broadleafcommerce.core.catalog.domain.Category> |
findAllPossibleChildCategories(String parentCategoryName,
Integer maxResults) |
org.broadleafcommerce.core.catalog.domain.Category |
getCategoryFromUrlCache(String requestUri) |
net.sf.ehcache.Cache |
getCategoryUrlCache() |
org.broadleafcommerce.core.catalog.domain.Product |
getProductFromUrlCache(String requestUri) |
net.sf.ehcache.Cache |
getProductUrlCache() |
void |
removeCategoryFromUrlCache(org.broadleafcommerce.core.catalog.domain.Category category) |
void |
removeProductFromUrlCache(org.broadleafcommerce.core.catalog.domain.Product product) |
static final CatalogCacheService.NullProduct NULL_PRODUCT
static final CatalogCacheService.NullCategory NULL_CATEGORY
net.sf.ehcache.Cache getProductUrlCache()
net.sf.ehcache.Cache getCategoryUrlCache()
void removeProductFromUrlCache(org.broadleafcommerce.core.catalog.domain.Product product)
void removeCategoryFromUrlCache(org.broadleafcommerce.core.catalog.domain.Category category)
List<org.broadleafcommerce.core.catalog.domain.Category> findAllPossibleChildCategories(String parentCategoryName, Integer maxResults)
org.broadleafcommerce.core.catalog.domain.Product getProductFromUrlCache(String requestUri)
org.broadleafcommerce.core.catalog.domain.Category getCategoryFromUrlCache(String requestUri)
void addToProductCache(org.broadleafcommerce.core.catalog.domain.Product product,
String requestUri)
void addToCategoryCache(org.broadleafcommerce.core.catalog.domain.Category category,
String requestUri)
Copyright © 2019. All rights reserved.