Class ProductCategoryFieldValueService
- Namespace
- Dynamicweb.Ecommerce.Products.Categories
- Assembly
- Dynamicweb.Ecommerce.dll
public class ProductCategoryFieldValueService : ICacheStorage<string, ProductCategoryValues>, ICacheStorage<string>, ICacheStorage
- Inheritance
-
ProductCategoryFieldValueService
- Implements
- Inherited Members
Constructors
ProductCategoryFieldValueService()
public ProductCategoryFieldValueService()
Methods
ClearCache()
Resets all keys to the default value for objects stored in the object cache
public void ClearCache()
ClearCache(IEnumerable<string>)
Resets the specified keys to the default value for objects stored in the object cache
public void ClearCache(IEnumerable<string> keys)
Parameters
keys
IEnumerable<string>- Keys to reset
ClearCache(string)
Resets the specified key to the default value for objects stored in the object cache
public void ClearCache(string key)
Parameters
key
string- Key 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
public void PrepareProductValues(IEnumerable<string> productIds)
Parameters
productIds
IEnumerable<string>
UpdatePropertyFields(Product, IList<Field>)
public void UpdatePropertyFields(Product product, IList<Field> propertiesFields)