| 程序包 | 说明 |
|---|---|
| itez.plat.site.bean | |
| itez.plat.site.controller | |
| itez.plat.site.model | |
| itez.plat.site.service | |
| itez.plat.site.service.impl |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
SiteTempEngine.formatStaticPath(SiteTempEngine.Type type,
Channel channel,
Content content)
获取静态页面路径
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
SiteController.renderSite(SiteTempEngine.Type type,
Info site,
Channel channel,
Content content,
String view)
渲染页面
|
| 限定符和类型 | 方法和说明 |
|---|---|
Content |
Content.by(String id)
按ID返回文章
|
Content |
Channel.first()
返回栏目下第一篇文章
|
Content |
Channel.last()
返回栏目下最后一篇文章
|
Content |
Content.next()
栏目内的下一篇文章
|
Content |
Content.prev()
栏目内的上一篇文章
|
Content |
Content.previous()
栏目内的上一篇文章
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Content> |
Channel.list()
返回栏目内全部文章
注1:按倒叙返回文章列表
注2:不包含子栏目文章
|
List<Content> |
Channel.list(Integer count)
返回栏目内头几篇文章
注1:按倒叙返回文章列表
注2:不包含子栏目文章
|
List<Content> |
Tags.list(Integer count,
boolean desc)
返回当前标签的头几篇文章(站内)
|
List<Content> |
Channel.list(Integer count,
boolean desc)
返回栏目内头几篇文章
注1:不包含子栏目文章
|
List<Content> |
Channel.list(Integer count,
boolean desc,
boolean children)
返回栏目内头几篇文章
|
List<Content> |
Tags.list(String codes,
Integer count,
boolean desc)
返回指定标签的头几篇文章(站内)
|
List<Content> |
Channel.list(String codes,
Integer count,
boolean desc,
boolean children)
返回指定栏目内头几篇文章
|
List<Content> |
Tags.listAll(Integer count,
boolean desc)
返回当前标签的头几篇文章(跨站)
|
List<Content> |
Tags.listAll(String codes,
Integer count,
boolean desc)
返回指定标签的头几篇文章(跨站)
|
com.jfinal.plugin.activerecord.Page<Content> |
Tags.page(int pageNum,
int pageSize,
boolean desc)
返回当前标签的指定页码的文章列表(站内)
|
com.jfinal.plugin.activerecord.Page<Content> |
Channel.page(int pageNum,
int pageSize,
boolean desc,
boolean children)
返回栏目内指定页码的文章列表
|
com.jfinal.plugin.activerecord.Page<Content> |
Tags.page(String codes,
int pageNum,
int pageSize,
boolean desc)
返回指定标签的指定页码的文章列表(站内)
|
com.jfinal.plugin.activerecord.Page<Content> |
Channel.page(String codes,
int pageNum,
int pageSize,
boolean desc,
boolean children)
返回指定栏目内指定页码的文章列表
|
com.jfinal.plugin.activerecord.Page<Content> |
Tags.pageAll(int pageNum,
int pageSize,
boolean desc)
返回当前标签的指定页码的文章列表(跨站)
|
com.jfinal.plugin.activerecord.Page<Content> |
Tags.pageAll(String codes,
int pageNum,
int pageSize,
boolean desc)
返回指定标签的指定页码的文章列表(跨站)
|
List<Content> |
Tags.search(String keyword,
boolean desc)
搜索当前标签内的文章(站内)
|
List<Content> |
Channel.search(String keyword,
boolean desc,
boolean children)
搜索栏目内的文章
|
List<Content> |
Tags.search(String codes,
String keyword,
boolean desc)
搜索指定标签的文章(站内)
|
List<Content> |
Channel.search(String codes,
String keyword,
boolean desc,
boolean children)
搜索指定栏目内的文章
|
List<Content> |
Tags.searchAll(String keyword,
boolean desc)
搜索当前标签内的文章(跨站)
|
List<Content> |
Tags.searchAll(String codes,
String keyword,
boolean desc)
搜索指定标签的文章(跨站)
|
com.jfinal.plugin.activerecord.Page<Content> |
Channel.searchPage(String codes,
String keyword,
boolean desc,
boolean children,
int pageNum,
int pageSize)
搜索指定栏目内的文章
|
List<Content> |
Channel.tops()
返回栏目内的置顶文章
|
| 限定符和类型 | 方法和说明 |
|---|---|
Content |
CollectorTaskService.collItemDetail(String domain,
Channel channel,
CollectorSrc src,
Boolean origDate,
CollectorItem item,
boolean throwException)
文章采集(单条)
|
Content |
ContentService.first(String channelId)
返回栏目内第一篇文章
|
Content |
ContentService.last(String channelId)
返回栏目内最后一篇文章
|
Content |
ContentService.next(String channelId,
Integer sort,
Date cdate)
返回栏目内下一篇文章
|
Content |
ContentService.previous(String channelId,
Integer sort,
Date cdate)
返回栏目内上一篇文章
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Content> |
ContentService.getByChannelId(String channelId)
返回指定栏目内的全部文章
|
List<Content> |
ContentService.getByChannelId(String channelId,
Integer limit)
返回栏目内头几篇文章
注1:按倒叙返回文章列表
注2:不包含子栏目文章
|
List<Content> |
ContentService.getByChannelId(String channelId,
Integer limit,
Boolean desc)
返回栏目内头几篇文章
注1:不包含子栏目文章
|
com.jfinal.plugin.activerecord.Page<Content> |
ContentService.getPageByChannelId(String channelId,
Integer pageNum,
Integer pageSize,
Boolean desc)
返回栏目内指定页码的文章列表
|
com.jfinal.plugin.activerecord.Page<Content> |
ContentService.getPageByChannelId(String channelId,
Integer pageNum,
Integer pageSize,
Boolean desc,
Boolean ignoreValid)
返回栏目内指定页码的文章列表
|
List<Content> |
ContentService.getSameContent(String caption)
检索同名文章
|
List<Content> |
ContentService.getTops(String pid)
返回栏目内的置顶文章
|
List<Content> |
ContentService.queryByTag(String codes,
String keyword,
Integer limit,
Boolean desc,
Boolean domainSelf)
根据标签返回文章列表(跨站)
|
com.jfinal.plugin.activerecord.Page<Content> |
ContentService.queryPageByTag(String codes,
Integer pageNum,
Integer pageSize,
Boolean desc,
Boolean domainSelf)
根据标签分页返回文章列表(跨站)
|
List<Content> |
ContentService.searchByChannelId(String channelId,
String keyword,
Boolean desc)
搜索栏目内的文章
|
com.jfinal.plugin.activerecord.Page<Content> |
ContentService.searchPageByChannelId(String channelId,
String keyword,
Boolean desc,
Integer pageNum,
Integer pageSize)
搜索栏目内的文章
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ContentService.conbt(Content content,
String[] conbtTo)
投稿抄送
|
| 限定符和类型 | 方法和说明 |
|---|---|
Content |
CollectorTaskServiceImpl.collItemDetail(String domain,
Channel channel,
CollectorSrc src,
Boolean origDate,
CollectorItem item,
boolean throwException) |
Content |
ContentServiceImpl.first(String channelId) |
Content |
ContentServiceImpl.last(String channelId) |
Content |
ContentServiceImpl.next(String channelId,
Integer sort,
Date cdate) |
Content |
ContentServiceImpl.previous(String channelId,
Integer sort,
Date cdate) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Content> |
ContentServiceImpl.getByChannelId(String channelId) |
List<Content> |
ContentServiceImpl.getByChannelId(String channelId,
Integer limit) |
List<Content> |
ContentServiceImpl.getByChannelId(String channelId,
Integer limit,
Boolean desc) |
com.jfinal.plugin.activerecord.Page<Content> |
ContentServiceImpl.getPageByChannelId(String channelId,
Integer pageNum,
Integer pageSize,
Boolean desc) |
com.jfinal.plugin.activerecord.Page<Content> |
ContentServiceImpl.getPageByChannelId(String channelId,
Integer pageNum,
Integer pageSize,
Boolean desc,
Boolean ignoreValid) |
List<Content> |
ContentServiceImpl.getSameContent(String caption) |
List<Content> |
ContentServiceImpl.getTops(String pid) |
List<Content> |
ContentServiceImpl.queryByTag(String codes,
String keyword,
Integer limit,
Boolean desc,
Boolean domainSelf) |
com.jfinal.plugin.activerecord.Page<Content> |
ContentServiceImpl.queryPageByTag(String codes,
Integer pageNum,
Integer pageSize,
Boolean desc,
Boolean domainSelf) |
List<Content> |
ContentServiceImpl.searchByChannelId(String channelId,
String keyword,
Boolean desc) |
com.jfinal.plugin.activerecord.Page<Content> |
ContentServiceImpl.searchPageByChannelId(String channelId,
String keyword,
Boolean desc,
Integer pageNum,
Integer pageSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ContentServiceImpl.conbt(Content content,
String[] conbtTo) |
Copyright © 2023. All rights reserved.