public interface HomePageExecutor extends CacheExecutor
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cache(HomePage homepage)
缓存首页
|
boolean |
containCache(long homepageId)
缓存中是否指定ID的首页
|
JSONArray |
getAllHomePageInfo()
获取所有首页信息
|
java.util.List<HomePage> |
getAllHomePages()
获取所有首页
|
HomePage[] |
getAllHomePagesSorted()
获取排序后的所有首页
|
HomePage |
getHomePage(long id)
获取缓存的首页
|
int |
getHomePageCount()
获取首页列表的大小
|
JSONObject |
getHomePageInfo(long id)
根据ID获取首页信息
|
void |
removeCache(long id)
重缓存中删除指定首页
|
buildCache, clearCache, getClassKey, rebuildCacheboolean containCache(long homepageId)
homepageId - 首页IDint getHomePageCount()
java.util.List<HomePage> getAllHomePages()
HomePage[] getAllHomePagesSorted()
JSONArray getAllHomePageInfo() throws JSONException
JSONExceptionHomePage getHomePage(long id)
id - 首页IDJSONObject getHomePageInfo(long id) throws java.lang.Exception
id - 首页IDjava.lang.Exceptionvoid cache(HomePage homepage)
homepage - 被缓存的首页对象void removeCache(long id)
id - 被删除首页的ID