| 程序包 | 说明 |
|---|---|
| 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)
渲染页面
|
| 限定符和类型 | 方法和说明 |
|---|---|
Channel |
Channel.by(String code)
根据别名返回栏目
|
Channel |
NaviItem.channel() |
Channel |
Content.channel()
返回文章所在栏目
|
Channel |
Channel.index()
返回首页栏目
|
Channel |
Channel.parent()
返回上级栏目
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Channel> |
Channel.children()
返回子栏目
|
List<Channel> |
Channel.location()
返回栏目路径
|
| 限定符和类型 | 方法和说明 |
|---|---|
Channel |
ChannelService.getIndexChannel()
返回首页栏目
|
Channel |
ChannelService.getLastChannel(String pid)
返回指定栏目ID下最后一个子栏目
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Channel> |
ChannelService.getAllChannels()
返回所有栏目
|
List<Channel> |
ChannelService.getChildren(String id)
返回子栏目列表
|
List<Channel> |
ChannelService.getLocation(String path)
根据栏目路径返回栏目的导航信息
|
List<Channel> |
ChannelService.getTreeChannels()
返回所有栏目(树型结构)
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ChannelService.addChannel(Channel channel)
添加栏目
|
Content |
CollectorTaskService.collItemDetail(String domain,
Channel channel,
CollectorSrc src,
Boolean origDate,
CollectorItem item,
boolean throwException)
文章采集(单条)
|
void |
ChannelService.modifyChannel(Channel channel)
修改栏目
|
| 限定符和类型 | 方法和说明 |
|---|---|
Channel |
ChannelServiceImpl.findByCode(String code) |
Channel |
ChannelServiceImpl.getIndexChannel() |
Channel |
ChannelServiceImpl.getLastChannel(String pid) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Channel> |
ChannelServiceImpl.getAllChannels() |
List<Channel> |
ChannelServiceImpl.getChildren(String id) |
List<Channel> |
ChannelServiceImpl.getLocation(String path) |
List<Channel> |
ChannelServiceImpl.getTreeChannels() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ChannelServiceImpl.addChannel(Channel channel) |
Content |
CollectorTaskServiceImpl.collItemDetail(String domain,
Channel channel,
CollectorSrc src,
Boolean origDate,
CollectorItem item,
boolean throwException) |
void |
ChannelServiceImpl.modifyChannel(Channel channel) |
Copyright © 2023. All rights reserved.