类 LocalProductCategoryCache
java.lang.Object
com.walker.cache.AbstractCacheProvider<EbProductCategory>
com.ishop.merchant.cache.LocalProductCategoryCache
- 所有已实现的接口:
ProductCategoryCache,com.walker.cache.CacheProvider<EbProductCategory>,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<com.walker.cache.CacheProvider<EbProductCategory>>,org.springframework.beans.factory.InitializingBean
public class LocalProductCategoryCache
extends com.walker.cache.AbstractCacheProvider<EbProductCategory>
implements ProductCategoryCache
-
字段概要
从类继承的字段 com.walker.cache.AbstractCacheProvider
count, logger, userCache从接口继承的字段 org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明get(int id) Class<?>getThirdLevelCategoryList(Integer firstId, int limit) 返回第三级(平台)商品分类集合。获取商品分类树。protected intloadDataToCache(com.walker.cache.Cache cache) voidremove(int id) voidsave(EbProductCategory category) voidvoidsetProductCategoryService(ProductCategoryServiceImpl productCategoryService) voidupdate(EbProductCategory category) 从类继承的方法 com.walker.cache.AbstractCacheProvider
afterPropertiesSet, destroy, getCache, getCacheCount, getCacheData, getCacheList, getCacheParam, getCreateTime, getObject, getObjectType, isLoadPage, isSingleton, isUseRedis, loadPageDataToCache, provideCacheInstance, putCacheData, putCacheData, putCacheList, putCacheList, putCacheListAppend, queryListLimit, reload, removeCacheData, removeCacheList, removeCacheList, setCacheParam, setLoadPage, setPageSize, setUseRedis, size, toString, updateCacheData
-
构造器详细资料
-
LocalProductCategoryCache
public LocalProductCategoryCache()
-
-
方法详细资料
-
getThirdLevelCategoryList
返回第三级(平台)商品分类集合。- 指定者:
getThirdLevelCategoryList在接口中ProductCategoryCache- 参数:
firstId- 第一级IDlimit- 限制几条- 返回:
-
getTree
从接口复制的说明:ProductCategoryCache获取商品分类树。- 指定者:
getTree在接口中ProductCategoryCache- 参数:
isShow- 是否显示:1 或 0,目前看:平台时为空(看所有的),商户必须为1- 返回:
-
getListTree
- 指定者:
getListTree在接口中ProductCategoryCache
-
get
- 指定者:
get在接口中ProductCategoryCache
-
save
- 指定者:
save在接口中ProductCategoryCache
-
update
- 指定者:
update在接口中ProductCategoryCache
-
remove
public void remove(int id) - 指定者:
remove在接口中ProductCategoryCache
-
loadDataToCache
protected int loadDataToCache(com.walker.cache.Cache cache) - 指定者:
loadDataToCache在类中com.walker.cache.AbstractCacheProvider<EbProductCategory>
-
getProviderName
- 指定者:
getProviderName在接口中com.walker.cache.CacheProvider<EbProductCategory>
-
getProviderType
- 指定者:
getProviderType在接口中com.walker.cache.CacheProvider<EbProductCategory>
-
setProductCategoryService
-
setCdnUrl
-