public interface Container
extends java.io.Serializable
Title: Container
Description:
Copyright: Copyright (c) 2006
Company: 三一集团
| Modifier and Type | Method and Description |
|---|---|
void |
addLink(java.lang.String link)
添加链接以便系统能够自动发布出去,通过
|
void |
addLink(java.lang.String link,
int from)
添加链接以便系统能够自动发布出去,通过
|
Channel |
getAncestorChannel(Channel current,
int level)
获取频道给定层次的祖先
|
Channel |
getChannel(java.lang.String channelid)
通过频道id获频道信息
|
Channel |
getChannelByDisplayName(java.lang.String channel)
通过频道显示名称获频道信息
|
Context |
getContext()
获取当前发布上下文对象
|
Channel |
getContextAncestorChannel(int level)
获取当前频道的给定层次的祖先频道
|
Channel |
getContextChannel()
返回当前发布上下文中的频道对象
|
Document |
getContextDocument()
获取当前发布上下文中的文档对象
|
Channel |
getContextParentChannel()
获取当前频道的父频道
|
Site |
getContextSite()
获取当前上下文中的站点对象
|
Channel |
getParentChannel(java.lang.String channelid)
通过频道id获父频道信息
|
Channel |
getParentChannelByDisplayName(java.lang.String channel)
通过频道显示名称获父频道信息
|
java.lang.String |
getPublishedChannelUrlByDisplayName(java.lang.String channel)
获取频道的发布路径
|
java.lang.String |
getPublishedChannelUrlByID(Channel channel) |
java.lang.String |
getPublishedChannelUrlByID(java.lang.String channelid)
通过频道id获取频道的发布路径
|
java.lang.String |
getPublishedDocumentUrl(Document document) |
java.lang.String |
getPublishedDocumentUrl(java.lang.String documentid)
通过文档id获取文档的发布细览访问地址路径
|
java.lang.String |
getPublishedDocumentUrl(java.lang.String channelid,
java.lang.String documentid)
获取当前发布文档的路径
|
java.lang.String |
getPulishedSiteDomainBySiteID(java.lang.String siteID)
通过站点id获取站点的域名
|
java.lang.String |
getPulishedSiteDomainBySiteName(java.lang.String siteName)
通过站点名称获取站点的域名
|
java.lang.String |
getPulishedSiteIndexUrlBySiteID(java.lang.String siteID)
通过站点id获取站点的首页地址
|
java.lang.String |
getPulishedSiteIndexUrlBySiteName(java.lang.String siteName)
通过站点名称获取站点的首页地址
|
void |
init(Context defaultctx)
通过
|
void |
init(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session,
javax.servlet.http.HttpServletResponse response)
初始化内容管理系统容器,在模板中使用
|
void |
init(java.lang.String site,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session,
javax.servlet.http.HttpServletResponse response)
初始化内容管理系统容器,在动态页面上使用,必须指定站点的英文名称
|
void |
initWithSiteid(java.lang.String siteid,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session,
javax.servlet.http.HttpServletResponse response)
初始化内容管理系统容器,在动态页面上使用,必须指定站点的英文名称
|
void init(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session,
javax.servlet.http.HttpServletResponse response)
throws ContainerException
request - session - response - ContainerExceptionvoid init(java.lang.String site,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session,
javax.servlet.http.HttpServletResponse response)
throws ContainerException
site - 站点英文名称request - session - response - ContainerExceptionvoid initWithSiteid(java.lang.String siteid,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session,
javax.servlet.http.HttpServletResponse response)
throws ContainerException
site - 站点英文名称request - session - response - ContainerExceptionvoid addLink(java.lang.String link)
throws ContainerException
link - ContainerExceptionvoid addLink(java.lang.String link,
int from)
throws ContainerException
link - ContainerExceptionChannel getContextChannel() throws ContainerException
ContainerExceptionSite getContextSite() throws ContainerException
ContainerExceptionDocument getContextDocument() throws ContainerException
ContainerExceptionContext getContext() throws ContainerException
ContainerExceptionChannel getContextParentChannel() throws ContainerException
ContainerExceptionjava.lang.String getPublishedDocumentUrl(java.lang.String channelid,
java.lang.String documentid)
throws ContainerException
channelid - documentid - ContainerExceptionjava.lang.String getPublishedChannelUrlByDisplayName(java.lang.String channel)
throws ContainerException
channel - 频道显示名称ContainerExceptionjava.lang.String getPublishedChannelUrlByID(java.lang.String channelid)
throws ContainerException
channelid - ContainerExceptionjava.lang.String getPulishedSiteIndexUrlBySiteName(java.lang.String siteName)
throws ContainerException
siteName - ContainerExceptionjava.lang.String getPulishedSiteDomainBySiteName(java.lang.String siteName)
throws ContainerException
siteName - ContainerExceptionjava.lang.String getPulishedSiteDomainBySiteID(java.lang.String siteID)
throws ContainerException
siteID - ContainerExceptionjava.lang.String getPulishedSiteIndexUrlBySiteID(java.lang.String siteID)
throws ContainerException
siteID - ContainerExceptionChannel getChannel(java.lang.String channelid) throws ContainerException
siteID - ContainerExceptionChannel getParentChannel(java.lang.String channelid) throws ContainerException
siteID - ContainerExceptionChannel getChannelByDisplayName(java.lang.String channel) throws ContainerException
siteID - ContainerExceptionChannel getParentChannelByDisplayName(java.lang.String channel) throws ContainerException
siteID - ContainerExceptionChannel getAncestorChannel(Channel current, int level) throws ContainerException
channel - 频道显示名称ContainerExceptionChannel getContextAncestorChannel(int level) throws ContainerException
channel - 频道显示名称ContainerExceptionjava.lang.String getPublishedDocumentUrl(Document document) throws ContainerException
ContainerExceptionjava.lang.String getPublishedDocumentUrl(java.lang.String documentid)
throws ContainerException
documentid - ContainerExceptionvoid init(Context defaultctx) throws ContainerException
defaultctx - ContainerExceptionjava.lang.String getPublishedChannelUrlByID(Channel channel) throws ContainerException
ContainerException