public class DocCommentManagerImpl extends java.lang.Object implements DocCommentManager
| 构造器和说明 |
|---|
DocCommentManagerImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addDocCommentImpeach(CommentImpeach commentImpeach)
增加一条评论举报
|
void |
addOneComment(DocComment docComment)
增加一条文档评论
|
void |
delAllComments()
删除所有评论
|
void |
delCommentsByComId(java.lang.String[] docCommentIds)
批量删除评论id,docCommentIds
|
void |
delCommentsByDocId(int docId)
删除指定文档的所有评论
|
void |
deleteImpeachInfo(java.lang.String impeacheId)
删除单个举报信息
|
void |
deleteImpeachInfos(java.lang.String[] impeacheIds)
批量删除举报信息
|
void |
delOneCommentByComId(int docCommentId)
删除指定评论id对应的评论
|
java.lang.Integer |
getChannelCommentAduitSwitch(int channelId)
根据频道ID获取频道评论审核的开关信息
|
int |
getChannelCommentPublishedCount(java.lang.String channel)
获取频道已发布的评论总数
|
NComentList |
getChannelCommnetList(java.lang.String channel,
int n)
获取频道评论 前n条数据
|
DocComment |
getCommentByComId(int docCommentId)
根据指定评论id获取评论
|
int |
getCommentCount()
获取评论总数
|
int |
getCommentCount(int docId)
获取指定文档的评论数
|
com.frameworkset.util.ListInfo |
getCommentDictList(java.lang.String sql,
int offset,
int maxItem)
获取评论字典词汇列表
|
int |
getCommentPublishedCount(int docId)
获取已发布的评论总数
|
com.frameworkset.util.ListInfo |
getCommnetImpeachList(java.lang.String sql,
int offset,
int maxItem)
获取评论的举报信息列表
|
NComentList |
getCommnetList(int docId,
int n)
获取文档评论 前n条数据
|
com.frameworkset.util.ListInfo |
getCommnetList(int docId,
int offset,
int maxItem)
获取指定文档id获取文档列表
|
com.frameworkset.util.ListInfo |
getCommnetList(java.lang.String sql,
int offset,
int maxItem)
根据sql查询语句获取文档列表
|
int |
getDocCommentSwitch(java.lang.String id,
java.lang.String docorchnl)
获取频道或者文档是否开通频道的信息
|
int |
getFilteredCommentCount(int docId)
获取指定文档的已过滤水贴的评论数
|
int |
getHotCommentCount(int docId)
获取指定文档的热门评论数
|
int[] |
getResponseInfo(int docCommentId)
获取指定评论的回复情况
|
int |
getSiteCommentPublishedCount()
获取站点已发布的评论总数
|
NComentList |
getSiteCommnetList(int n)
获取站点评论 前n条数据
|
int |
getTotalCommnet(int docId)
获取总评论数
|
void |
replyImpeach(java.lang.String impeacheId,
java.lang.String toEmail,
java.lang.String toName,
java.lang.String subject,
java.lang.String msg)
举报信息邮件回复
|
void |
switchDocCommentAudit(int channelId,
int switchFlag)
切换频道的评论审核开关
|
void |
switchDocCommentFunction(java.lang.String id,
java.lang.String commentSwitch,
java.lang.String docorchnl)
开通open(或者关闭close)评论功能
如果docorchnl为“doc”则表示开通或关闭文档评论功能
如果docorchnl为“chnl”则表示开通或关闭频道评论功能
|
void |
updateCommentStatus(java.lang.String[] docCommentIds,
int newStatus)
批量更新
|
void |
updateCommentStatus(java.lang.String docCommentId,
int newStatus)
更新指定评论的状态,初始状态:0-未审;审核通过更新为:1-通过;
|
public void updateCommentStatus(java.lang.String docCommentId,
int newStatus)
throws DocCommentManagerException
DocCommentManagerupdateCommentStatus 在接口中 DocCommentManagerDocCommentManagerExceptionpublic void addOneComment(DocComment docComment) throws DocCommentManagerException
DocCommentManageraddOneComment 在接口中 DocCommentManagerDocCommentManagerExceptionpublic void delAllComments()
throws DocCommentManagerException
DocCommentManagerdelAllComments 在接口中 DocCommentManagerDocCommentManagerExceptionpublic void delCommentsByDocId(int docId)
throws DocCommentManagerException
DocCommentManagerdelCommentsByDocId 在接口中 DocCommentManagerDocCommentManagerExceptionpublic void delOneCommentByComId(int docCommentId)
throws DocCommentManagerException
DocCommentManagerdelOneCommentByComId 在接口中 DocCommentManagerDocCommentManagerExceptionpublic DocComment getCommentByComId(int docCommentId) throws DocCommentManagerException
DocCommentManagergetCommentByComId 在接口中 DocCommentManagerDocCommentManagerExceptionpublic int getCommentCount()
throws DocCommentManagerException
DocCommentManagergetCommentCount 在接口中 DocCommentManagerDocCommentManagerExceptionpublic int getCommentCount(int docId)
throws DocCommentManagerException
DocCommentManagergetCommentCount 在接口中 DocCommentManagerDocCommentManagerExceptionpublic int getCommentPublishedCount(int docId)
throws DocCommentManagerException
DocCommentManagergetCommentPublishedCount 在接口中 DocCommentManagerDocCommentManagerExceptionpublic int getSiteCommentPublishedCount()
throws DocCommentManagerException
DocCommentManagergetSiteCommentPublishedCount 在接口中 DocCommentManagerDocCommentManagerExceptionpublic int getChannelCommentPublishedCount(java.lang.String channel)
throws DocCommentManagerException
DocCommentManagergetChannelCommentPublishedCount 在接口中 DocCommentManagerDocCommentManagerExceptionpublic com.frameworkset.util.ListInfo getCommnetList(int docId,
int offset,
int maxItem)
throws java.sql.SQLException
DocCommentManagergetCommnetList 在接口中 DocCommentManagerjava.sql.SQLExceptionpublic NComentList getCommnetList(int docId, int n) throws java.lang.Exception
DocCommentManagergetCommnetList 在接口中 DocCommentManagerjava.sql.SQLExceptionjava.lang.Exceptionpublic NComentList getSiteCommnetList(int n) throws java.lang.Exception
getSiteCommnetList 在接口中 DocCommentManagern - java.sql.SQLExceptionjava.lang.Exceptionpublic NComentList getChannelCommnetList(java.lang.String channel, int n) throws java.lang.Exception
getChannelCommnetList 在接口中 DocCommentManagern - java.sql.SQLExceptionjava.lang.Exceptionpublic int getTotalCommnet(int docId)
throws java.sql.SQLException
DocCommentManagergetTotalCommnet 在接口中 DocCommentManagerjava.sql.SQLExceptionpublic com.frameworkset.util.ListInfo getCommnetList(java.lang.String sql,
int offset,
int maxItem)
throws DocCommentManagerException
DocCommentManagergetCommnetList 在接口中 DocCommentManagerDocCommentManagerExceptionpublic void delCommentsByComId(java.lang.String[] docCommentIds)
throws DocCommentManagerException
DocCommentManagerdelCommentsByComId 在接口中 DocCommentManagerDocCommentManagerExceptionpublic void updateCommentStatus(java.lang.String[] docCommentIds,
int newStatus)
throws DocCommentManagerException
DocCommentManagerupdateCommentStatus 在接口中 DocCommentManagerDocCommentManagerExceptionpublic int[] getResponseInfo(int docCommentId)
throws DocCommentManagerException
DocCommentManagergetResponseInfo 在接口中 DocCommentManagerDocCommentManagerExceptionpublic int getFilteredCommentCount(int docId)
throws DocCommentManagerException
DocCommentManagergetFilteredCommentCount 在接口中 DocCommentManagerDocCommentManagerExceptionpublic int getHotCommentCount(int docId)
throws DocCommentManagerException
DocCommentManagergetHotCommentCount 在接口中 DocCommentManagerDocCommentManagerExceptionpublic void switchDocCommentFunction(java.lang.String id,
java.lang.String commentSwitch,
java.lang.String docorchnl)
throws DocCommentManagerException
DocCommentManagerswitchDocCommentFunction 在接口中 DocCommentManagercommentSwitch - 值为“open” 或者“close”docorchnl - 值为“doc” 或 “chnl”DocCommentManagerExceptionpublic int getDocCommentSwitch(java.lang.String id,
java.lang.String docorchnl)
throws DocCommentManagerException
DocCommentManagergetDocCommentSwitch 在接口中 DocCommentManagerdocorchnl - 值为“doc” 或 “chnl”DocCommentManagerExceptionpublic void addDocCommentImpeach(CommentImpeach commentImpeach) throws DocCommentManagerException
DocCommentManageraddDocCommentImpeach 在接口中 DocCommentManagerDocCommentManagerExceptionpublic com.frameworkset.util.ListInfo getCommnetImpeachList(java.lang.String sql,
int offset,
int maxItem)
throws DocCommentManagerException
DocCommentManagergetCommnetImpeachList 在接口中 DocCommentManagerDocCommentManagerExceptionpublic void deleteImpeachInfo(java.lang.String impeacheId)
throws DocCommentManagerException
DocCommentManagerdeleteImpeachInfo 在接口中 DocCommentManagerDocCommentManagerExceptionpublic void deleteImpeachInfos(java.lang.String[] impeacheIds)
throws DocCommentManagerException
DocCommentManagerdeleteImpeachInfos 在接口中 DocCommentManagerDocCommentManagerExceptionpublic void replyImpeach(java.lang.String impeacheId,
java.lang.String toEmail,
java.lang.String toName,
java.lang.String subject,
java.lang.String msg)
throws DocCommentManagerException
DocCommentManagerreplyImpeach 在接口中 DocCommentManagerDocCommentManagerExceptionpublic com.frameworkset.util.ListInfo getCommentDictList(java.lang.String sql,
int offset,
int maxItem)
throws DocCommentManagerException
DocCommentManagergetCommentDictList 在接口中 DocCommentManagerDocCommentManagerExceptionpublic java.lang.Integer getChannelCommentAduitSwitch(int channelId)
throws java.sql.SQLException
DocCommentManagergetChannelCommentAduitSwitch 在接口中 DocCommentManagerchannelId - 频道IDjava.sql.SQLExceptionpublic void switchDocCommentAudit(int channelId,
int switchFlag)
throws java.sql.SQLException
DocCommentManagerswitchDocCommentAudit 在接口中 DocCommentManagerswitchFlag - 是否开启java.sql.SQLException