Class ErpResponseCache
- Namespace
- Dynamicweb.Ecommerce.Integration
- Assembly
- Dynamicweb.Ecommerce.dll
The class ErpResponseCache represents cache service for ERP responce.
[Obsolete("Use Dynamicweb.Ecommerce.DynamicwebLiveIntegration.Cache.ErpResponseCache instead")]
public class ErpResponseCache
- Inheritance
-
ErpResponseCache
- Inherited Members
Methods
ClearAllCaches()
Clears all the cache.
public static void ClearAllCaches()
GetConnectorResponses<T>(CacheLevel, string)
Gets chached web orders.
public static Dictionary<string, T> GetConnectorResponses<T>(CacheLevel cacheModel, string cacheKey)
Parameters
cacheModelCacheLevel- The model of cache.
cacheKeystring
Returns
- Dictionary<string, T>
- The web orders.
Type Parameters
T
GetProductInfos(CacheLevel)
Gets chached product infos.
public static Dictionary<string, ProductInfo> GetProductInfos(CacheLevel cacheModel)
Parameters
cacheModelCacheLevel- The model of cache.
Returns
- Dictionary<string, ProductInfo>
- The product infos.
GetWebOrdersConnectorResponses(CacheLevel)
Gets chached web orders.
public static Dictionary<string, XmlDocument> GetWebOrdersConnectorResponses(CacheLevel cacheModel)
Parameters
cacheModelCacheLevel- The model of cache.
Returns
- Dictionary<string, XmlDocument>
- The web orders.
IsProductInCache(CacheLevel, string)
Check if product is cached.
public static bool IsProductInCache(CacheLevel productCacheLevel, string productIdentifier)
Parameters
productCacheLevelCacheLevelproductIdentifierstring
Returns
- bool
Trueif product is cached, otherwisefalse.