public interface RecursivePublishManager
extends java.io.Serializable
Title: RecursivePublishManager
Description:
Copyright: Copyright (c) 2006
Company: bbossgroups
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ACTIONTYPE_ARCHIVE
需要进行递归发布的操作
|
static int |
ACTIONTYPE_DELETE |
static int |
ACTIONTYPE_GARBAGE |
static int |
ACTIONTYPE_WITHDRAW_PUBLISH |
static int |
PUBOBJECTTYPE_CHANNEL
频道首页 如果引用的对象发布变化就发布频道首页
|
static int |
PUBOBJECTTYPE_CHANNELDOCUMENT
频道文档引用频道概览 如果频道的文档发生变化就发布同频道下所有已发布的其他文档
|
static int |
PUBOBJECTTYPE_DOCUMENT
频道文档引用其他元素
|
static int |
PUBOBJECTTYPE_OTHER
其他
|
static int |
PUBOBJECTTYPE_PAGE
页面发布 如果引用的对象发布变化就重新发布页面
|
static int |
PUBOBJECTTYPE_SITE
站点首页 如果引用的对象发生变化就发布站点首页
|
static int |
RECURSIVE_PUB_ADD_ARRANGEDOC |
static int |
RECURSIVE_PUB_CHANGE_ARRANGEDOCNO |
static int |
RECURSIVE_PUB_DEL_ARRANGEDOC |
static int |
RECURSIVE_PUB_UPDATE_ARRANGEDOC |
static int |
REFOBJECTTYPE_CHANNEL
频道
|
static int |
REFOBJECTTYPE_CHANNEL_ANSESTOR
引用文档相关的频道的发布对象
|
static int |
REFOBJECTTYPE_CHANNELDOCUMENT |
static int |
REFOBJECTTYPE_DOCUMENT
文档
|
static int |
REFOBJECTTYPE_PAGE
页面类型
|
static int |
REFOBJECTTYPE_SITE
站点类型
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deleteRefObjectsOfPubobject(Context context,
java.lang.String pubobject,
int pubobjecttype)
删除站点site中发布对象所引用的界面元素
|
void |
deleteRefObjectsOfPubobject(Site site,
java.util.List pubdocuments,
int pubobjecttype)
删除站点site中发布对象所引用的界面元素,执行删除已发文档操作时,然后进行文档联动发布操作,最后调用
本方法清除发布关系表中记录的该文档细览页面和其他引用元素之间的关系。
|
void |
deleteRefObjectsOfPubobject(Site site,
java.lang.String[] refdocuments,
int pubobjecttype) |
void |
deleteRefObjectsOfPubobject(Site site,
java.lang.String pubdocument,
int pubobjecttype)
删除站点site中发布对象所引用的界面元素,执行删除已发文档操作时,然后进行文档联动发布操作,最后调用
本方法清除发布关系表中记录的该文档细览页面和其他引用元素之间的关系。
|
boolean |
exist(Context context,
PubObjectReference pubObjectReference)
判断发布对象和发布元素的关系是否存在
|
java.util.Set |
getAllPubObjectsOfChannel(Context context,
java.lang.String refchannel)
获取频道相关的发布对象
|
java.util.Set |
getAllPubObjectsOfChannelAncester(Context context,
java.lang.String ancesterchannel)
获取频道下文档相关的发布对象,然后进行发布
|
java.util.Set |
getAllPubObjectsOfDocument(Context context,
Document document)
获取已删除文档的递归发布对象
|
java.util.Set |
getAllPubObjectsOfDocument(Context context,
java.lang.String refdocument)
获取文档相关的所有的相关的发布对象
|
java.util.Set |
getAllPubObjectsOfDocuments(Context context,
java.util.List documents)
获取已删除文档集合的递归发布对象
|
java.util.Set |
getAllPubObjectsOfDocuments(Context context,
java.lang.String[] refdocuments)
获取和文档数组中所有需要发布的递归发布对象
|
java.util.Set |
getAllPubObjectsOfPage(Context context,
java.lang.String pagePath)
获取页面相关的发布对象
|
java.util.Set |
getAllPubObjectsOfSite(Context context,
java.lang.String site)
获取站点相关的发布对象
|
void |
recordRecursivePubObj(Context context,
java.lang.String refobj,
int reftype,
java.lang.String refsite) |
void |
recursivePubObjectOfChannel(Context context,
java.lang.String refchannel)
递归发布频道对应的发布对象
|
void |
recursivePubObjectOfDocument(Context context,
java.lang.String refdocument,
java.lang.String actiontype)
递归发布文档对应的发布对象,
|
void |
remove(Context context,
PubObjectReference pubObjectReference)
移除元素和发布对象之间的关系
|
void |
removeAllPubObjectOfRefelement(Context context,
java.lang.String refobject,
java.lang.String refobjectType)
删除和引用元素相关的所有发布对象
|
void |
removeAllPubObjectOfRefelement(Site site,
java.util.List refobjects,
java.lang.String refobjectType)
删除和引用元素相关的所有发布对象,用户文档的批量删除处理
|
void |
removeAllPubObjectOfRefelement(Site site,
java.lang.String[] refobjects,
java.lang.String refobjectType) |
void |
removeAllPubObjectOfRefelement(Site site,
java.lang.String refobject,
java.lang.String refobjectType)
删除和引用元素相关的所有发布对象,用户文档的批量删除处理
|
void |
trace(Context context,
PubObjectReference pubObjectReference)
记录系统发布对象与发布元素之间的关系,当
发布元素的内容发生变化时发布相关的发布对象
本方法在发布时调用,执行时需要跟踪本关系是否已经存在
如果存在则不需要处理,否则需要处理
|
void |
trace(Context context,
java.util.Set pubObjectReferences)
记录系统发布对象与发布元素集合中各元素之间的关系,当其中
发布元素的内容发生变化时发布相关的发布对象
本方法在发布时调用,执行时需要跟踪本关系是否已经存在
如果存在则不需要处理,否则需要处理
采用批量插入的方法实现
|
static final int PUBOBJECTTYPE_SITE
static final int PUBOBJECTTYPE_CHANNEL
static final int PUBOBJECTTYPE_PAGE
static final int PUBOBJECTTYPE_CHANNELDOCUMENT
static final int PUBOBJECTTYPE_DOCUMENT
static final int PUBOBJECTTYPE_OTHER
static final int REFOBJECTTYPE_SITE
static final int REFOBJECTTYPE_CHANNEL
static final int REFOBJECTTYPE_PAGE
static final int REFOBJECTTYPE_DOCUMENT
static final int REFOBJECTTYPE_CHANNEL_ANSESTOR
static final int REFOBJECTTYPE_CHANNELDOCUMENT
static final int ACTIONTYPE_ARCHIVE
static final int ACTIONTYPE_GARBAGE
static final int ACTIONTYPE_WITHDRAW_PUBLISH
static final int ACTIONTYPE_DELETE
static final int RECURSIVE_PUB_ADD_ARRANGEDOC
static final int RECURSIVE_PUB_CHANGE_ARRANGEDOCNO
static final int RECURSIVE_PUB_UPDATE_ARRANGEDOC
static final int RECURSIVE_PUB_DEL_ARRANGEDOC
void trace(Context context, PubObjectReference pubObjectReference) throws RecursivePublishException
context - pubObjectReference - RecursivePublishExceptionvoid trace(Context context, java.util.Set pubObjectReferences) throws RecursivePublishException
context - pubObjectReferences - RecursivePublishExceptionboolean exist(Context context, PubObjectReference pubObjectReference) throws RecursivePublishException
context - pubObjectReference - RecursivePublishExceptionvoid remove(Context context, PubObjectReference pubObjectReference) throws RecursivePublishException
context - pubObjectReference - RecursivePublishExceptionvoid removeAllPubObjectOfRefelement(Context context, java.lang.String refobject, java.lang.String refobjectType) throws RecursivePublishException
context - refobject - refobjectType - RecursivePublishExceptionvoid removeAllPubObjectOfRefelement(Site site, java.util.List refobjects, java.lang.String refobjectType) throws RecursivePublishException
context - refobjects - refobjectType - RecursivePublishExceptionvoid removeAllPubObjectOfRefelement(Site site, java.lang.String refobject, java.lang.String refobjectType) throws RecursivePublishException
context - refobjects - refobjectType - RecursivePublishExceptionvoid recursivePubObjectOfDocument(Context context, java.lang.String refdocument, java.lang.String actiontype) throws RecursivePublishException
context - refdocument - RecursivePublishExceptionvoid recursivePubObjectOfChannel(Context context, java.lang.String refchannel) throws RecursivePublishException
context - refchannel - RecursivePublishExceptionjava.util.Set getAllPubObjectsOfDocument(Context context, java.lang.String refdocument) throws RecursivePublishException
context - refdocument - RecursivePublishExceptionjava.util.Set getAllPubObjectsOfChannel(Context context, java.lang.String refchannel) throws RecursivePublishException
context - refchannel - RecursivePublishExceptionjava.util.Set getAllPubObjectsOfChannelAncester(Context context, java.lang.String ancesterchannel) throws RecursivePublishException
context - 系统上下文ancesterchannel - 文档对应的频道RecursivePublishExceptionjava.util.Set getAllPubObjectsOfPage(Context context, java.lang.String pagePath) throws RecursivePublishException
context - pagePath - RecursivePublishExceptionjava.util.Set getAllPubObjectsOfSite(Context context, java.lang.String site) throws RecursivePublishException
context - site - 站点英文名称RecursivePublishExceptionvoid deleteRefObjectsOfPubobject(Site site, java.util.List pubdocuments, int pubobjecttype) throws RecursivePublishException
site - pubdocuments - pubobjecttype - RecursivePublishExceptionvoid deleteRefObjectsOfPubobject(Site site, java.lang.String pubdocument, int pubobjecttype) throws RecursivePublishException
site - pubdocuments - pubobjecttype - RecursivePublishExceptionvoid deleteRefObjectsOfPubobject(Context context, java.lang.String pubobject, int pubobjecttype) throws RecursivePublishException
site - pubdocuments - pubobjecttype - RecursivePublishExceptionjava.util.Set getAllPubObjectsOfDocuments(Context context, java.lang.String[] refdocuments) throws RecursivePublishException
context - 上下文信息,包含站点,站点对应的数据库信息refdocuments - 要做递归发布的文档文档数据RecursivePublishExceptionvoid recordRecursivePubObj(Context context, java.lang.String refobj, int reftype, java.lang.String refsite) throws RecursivePublishException
java.util.Set getAllPubObjectsOfDocument(Context context, Document document) throws RecursivePublishException
context - 上下文实例document - 文档对象RecursivePublishExceptionjava.util.Set getAllPubObjectsOfDocuments(Context context, java.util.List documents) throws RecursivePublishException
context - 上下文实例documents - 文档对象 ListRecursivePublishExceptionvoid removeAllPubObjectOfRefelement(Site site, java.lang.String[] refobjects, java.lang.String refobjectType) throws RecursivePublishException
void deleteRefObjectsOfPubobject(Site site, java.lang.String[] refdocuments, int pubobjecttype) throws RecursivePublishException