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
cacheModel
CacheLevel- The model of cache.
cacheKey
string
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
cacheModel
CacheLevel- 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
cacheModel
CacheLevel- 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
productCacheLevel
CacheLevelproductIdentifier
string
Returns
- bool
True
if product is cached, otherwisefalse
.