Class ProductCategoryFieldValueService
- Namespace
- Dynamicweb.Ecommerce.Products.Categories
- Assembly
- Dynamicweb.Ecommerce.dll
public class ProductCategoryFieldValueService : ICacheStorage<string, ProductCategoryValues>, ICacheStorage<string>, ICacheStorage
- Inheritance
-
Product
Category Field Value Service
- Implements
- Inherited Members
Constructors
ProductCategoryFieldValueService()
Methods
ClearCache()
Resets all keys to the default value for objects stored in the object cache
ClearCache(IEnumerable<string>)
Resets the specified keys to the default value for objects stored in the object cache
Parameters
keys
IEnumerable<string>Keys to reset
ClearCache(string)
Resets the specified key to the default value for objects stored in the object cache
Parameters
key
stringKey to reset
GetProductCategoryValueSorting(IList<Product>)
public Dictionary<string, List<FieldSortingInfo>> GetProductCategoryValueSorting(IList<Product> products)
Parameters
Returns
PrepareProductValues(IEnumerable<string>)
Requests the values for the given productIds and stores them in the cache
Parameters
productIds
IEnumerable<string>