类 RedisProductCategoryCache
java.lang.Object
com.walker.cache.AbstractCacheProvider<T>
com.walker.support.redis.cache.RedisCacheProvider<EbProductCategory>
com.ishop.merchant.cache.RedisProductCategoryCache
- 所有已实现的接口:
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 RedisProductCategoryCache
extends com.walker.support.redis.cache.RedisCacheProvider<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) void系统配置的存储文件前缀,根据文件存储类型自动配置。voidsetProductCategoryService(ProductCategoryServiceImpl productCategoryService) voidupdate(EbProductCategory category) 从类继承的方法 com.walker.support.redis.cache.RedisCacheProvider
destroy, getCacheCount, getCacheData, getRedisCache, getRedisRootData, provideCacheInstance, putCacheData, putCacheData, reload, removeCacheData, setRedisHelper, updateCacheData从类继承的方法 com.walker.cache.AbstractCacheProvider
afterPropertiesSet, getCache, getCacheList, getCacheParam, getCreateTime, getObject, getObjectType, isLoadPage, isSingleton, isUseRedis, loadPageDataToCache, putCacheList, putCacheList, putCacheListAppend, queryListLimit, removeCacheList, removeCacheList, setCacheParam, setLoadPage, setPageSize, setUseRedis, size, toString
-
构造器详细资料
-
RedisProductCategoryCache
public RedisProductCategoryCache()
-
-
方法详细资料
-
getThirdLevelCategoryList
返回第三级(平台)商品分类集合。- 指定者:
getThirdLevelCategoryList在接口中ProductCategoryCache- 参数:
firstId- 第一级IDlimit- 限制几条- 返回:
-
loadDataToCache
protected int loadDataToCache(com.walker.cache.Cache cache) - 覆盖:
loadDataToCache在类中com.walker.support.redis.cache.RedisCacheProvider<EbProductCategory>
-
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
-
getProviderName
- 指定者:
getProviderName在接口中com.walker.cache.CacheProvider<EbProductCategory>
-
getProviderType
- 指定者:
getProviderType在接口中com.walker.cache.CacheProvider<EbProductCategory>
-
setProductCategoryService
-
setCdnUrl
系统配置的存储文件前缀,根据文件存储类型自动配置。- 参数:
cdnUrl-
-