public class ContentServiceImpl extends EModelService<Content> implements ContentService
dao| 构造器和说明 |
|---|
ContentServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
conbt(Content content,
String[] conbtTo)
投稿抄送
|
Content |
first(String channelId)
返回栏目内第一篇文章
|
void |
genStaticPage(String ids)
生成指定文章的静态页面
|
List<com.jfinal.plugin.activerecord.Record> |
getBetweenYears(String domain,
Integer yearf,
Integer yeare)
返回指定年份的文章
|
List<Content> |
getByChannelId(String channelId)
返回指定栏目内的全部文章
|
List<Content> |
getByChannelId(String channelId,
Integer limit)
返回栏目内头几篇文章
注1:按倒叙返回文章列表
注2:不包含子栏目文章
|
List<Content> |
getByChannelId(String channelId,
Integer limit,
Boolean desc)
返回栏目内头几篇文章
注1:不包含子栏目文章
|
List<com.jfinal.plugin.activerecord.Record> |
getDraft()
草稿箱文章列表
|
com.jfinal.plugin.activerecord.Page<Content> |
getPageByChannelId(String channelId,
Integer pageNum,
Integer pageSize,
Boolean desc)
返回栏目内指定页码的文章列表
|
com.jfinal.plugin.activerecord.Page<Content> |
getPageByChannelId(String channelId,
Integer pageNum,
Integer pageSize,
Boolean desc,
Boolean ignoreValid)
返回栏目内指定页码的文章列表
|
List<Content> |
getSameContent(String caption)
检索同名文章
|
List<Content> |
getTops(String pid)
返回栏目内的置顶文章
|
Content |
last(String channelId)
返回栏目内最后一篇文章
|
Content |
next(String channelId,
Integer sort,
Date cdate)
返回栏目内下一篇文章
|
Content |
previous(String channelId,
Integer sort,
Date cdate)
返回栏目内上一篇文章
|
List<Content> |
queryByTag(String codes,
String keyword,
Integer limit,
Boolean desc,
Boolean domainSelf)
根据标签返回文章列表(跨站)
|
com.jfinal.plugin.activerecord.Page<Content> |
queryPageByTag(String codes,
Integer pageNum,
Integer pageSize,
Boolean desc,
Boolean domainSelf)
根据标签分页返回文章列表(跨站)
|
void |
removeBetweenYears(String domain,
Integer yearf,
Integer yeare)
删除指定年份的文章
|
void |
removeByChannels(String channelIds)
删除栏目内的全部文章
|
void |
removeStaticPage(String ids)
删除指定文章的静态页面
|
List<Content> |
searchByChannelId(String channelId,
String keyword,
Boolean desc)
搜索栏目内的文章
|
com.jfinal.plugin.activerecord.Page<Content> |
searchPageByChannelId(String channelId,
String keyword,
Boolean desc,
Integer pageNum,
Integer pageSize)
搜索栏目内的文章
|
List<com.jfinal.plugin.activerecord.Record> |
supSearch(EMap map)
后台文章搜索
|
com.jfinal.plugin.activerecord.Page<com.jfinal.plugin.activerecord.Record> |
supSearchPage(EMap map,
Integer page,
Integer pageSize)
后台文章搜索
|
able, batchSave, batchUpdate, dbo, deleteByCodes, deleteById, deleteByIda, deleteByIds, disable, disable, disableByIda, disableByIds, enable, enable, enableByIda, enableByIds, findByCode, findByCodea, findByCodes, findByDomain, findByDomainSingle, findById, findByIda, findByIds, getConfigName, paginate, paginate, removeRepeat, save, saveOrUpdate, select, select, select, select, select, select, select, select, selectAll, selectAll, selectAllBy, selectAllBy, selectCol, selectCol, selectCol, selectFirst, selectFirst, selectFirst, selectFirst, selectFirst, selectFirst, selectFirst, update$comp, $domain, $logined, $uid, $user, $UUID, append, append, join, parseModel, parseRecordsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitable, batchSave, batchUpdate, deleteByCodes, deleteById, deleteByIda, deleteByIds, disable, disable, disableByIda, disableByIds, enable, enable, enableByIda, enableByIds, findByCode, findByCodea, findByCodes, findByDomain, findByDomainSingle, findById, findByIda, findByIds, paginate, paginate, removeRepeat, save, saveOrUpdate, select, select, select, select, select, select, select, select, selectAll, selectAll, selectAllBy, selectAllBy, selectCol, selectCol, selectCol, selectFirst, selectFirst, selectFirst, selectFirst, selectFirst, updatepublic List<Content> getByChannelId(String channelId)
ContentService返回指定栏目内的全部文章
getByChannelId 在接口中 ContentServicepublic List<Content> getByChannelId(String channelId, Integer limit)
ContentService返回栏目内头几篇文章 注1:按倒叙返回文章列表 注2:不包含子栏目文章
getByChannelId 在接口中 ContentServicepublic List<Content> getByChannelId(String channelId, Integer limit, Boolean desc)
ContentService返回栏目内头几篇文章 注1:不包含子栏目文章
getByChannelId 在接口中 ContentServicepublic com.jfinal.plugin.activerecord.Page<Content> getPageByChannelId(String channelId, Integer pageNum, Integer pageSize, Boolean desc)
ContentService返回栏目内指定页码的文章列表
getPageByChannelId 在接口中 ContentServicepublic com.jfinal.plugin.activerecord.Page<Content> getPageByChannelId(String channelId, Integer pageNum, Integer pageSize, Boolean desc, Boolean ignoreValid)
ContentService返回栏目内指定页码的文章列表
getPageByChannelId 在接口中 ContentServicepublic List<Content> searchByChannelId(String channelId, String keyword, Boolean desc)
ContentService搜索栏目内的文章
searchByChannelId 在接口中 ContentServicepublic com.jfinal.plugin.activerecord.Page<Content> searchPageByChannelId(String channelId, String keyword, Boolean desc, Integer pageNum, Integer pageSize)
ContentService搜索栏目内的文章
searchPageByChannelId 在接口中 ContentServicepublic Content first(String channelId)
ContentService返回栏目内第一篇文章
first 在接口中 ContentServicepublic Content last(String channelId)
ContentService返回栏目内最后一篇文章
last 在接口中 ContentServicepublic Content next(String channelId, Integer sort, Date cdate)
ContentService返回栏目内下一篇文章
next 在接口中 ContentServicepublic Content previous(String channelId, Integer sort, Date cdate)
ContentService返回栏目内上一篇文章
previous 在接口中 ContentServicepublic List<Content> queryByTag(String codes, String keyword, Integer limit, Boolean desc, Boolean domainSelf)
ContentService根据标签返回文章列表(跨站)
queryByTag 在接口中 ContentServicepublic com.jfinal.plugin.activerecord.Page<Content> queryPageByTag(String codes, Integer pageNum, Integer pageSize, Boolean desc, Boolean domainSelf)
ContentService根据标签分页返回文章列表(跨站)
queryPageByTag 在接口中 ContentServicepublic void removeByChannels(String channelIds)
ContentService删除栏目内的全部文章
removeByChannels 在接口中 ContentServicepublic List<com.jfinal.plugin.activerecord.Record> getBetweenYears(String domain, Integer yearf, Integer yeare)
ContentService返回指定年份的文章
getBetweenYears 在接口中 ContentServicepublic void removeBetweenYears(String domain, Integer yearf, Integer yeare)
ContentService删除指定年份的文章
removeBetweenYears 在接口中 ContentServicepublic void removeStaticPage(String ids)
ContentService删除指定文章的静态页面
removeStaticPage 在接口中 ContentServicepublic void genStaticPage(String ids)
ContentService生成指定文章的静态页面
genStaticPage 在接口中 ContentServicepublic List<Content> getTops(String pid)
ContentService返回栏目内的置顶文章
getTops 在接口中 ContentServicepublic void conbt(Content content, String[] conbtTo)
ContentService投稿抄送
conbt 在接口中 ContentServicepublic List<com.jfinal.plugin.activerecord.Record> getDraft()
ContentService草稿箱文章列表
getDraft 在接口中 ContentServicepublic com.jfinal.plugin.activerecord.Page<com.jfinal.plugin.activerecord.Record> supSearchPage(EMap map, Integer page, Integer pageSize)
ContentService后台文章搜索
supSearchPage 在接口中 ContentServicepublic List<com.jfinal.plugin.activerecord.Record> supSearch(EMap map)
ContentService后台文章搜索
supSearch 在接口中 ContentServicepublic List<Content> getSameContent(String caption)
ContentServicegetSameContent 在接口中 ContentServiceCopyright © 2023. All rights reserved.