public interface CommentManager
Title: T1开发框架
Description: 评论回复组件接口
Copyright: Copyright (c) 2012
Company: seeyon.com
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
addPraise(java.util.Map<java.lang.String,java.lang.String> para)
增加点赞
|
java.util.Map<java.lang.Long,java.lang.Integer> |
countCommentByIds(com.seeyon.ctp.common.ModuleType moduleType,
java.util.List<java.lang.Long> moduleIds)
批量获取模块的评论数据
|
java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.lang.Integer>> |
countComments(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
java.util.Map<java.lang.String,java.lang.Object> queryParams,
boolean isHistory) |
void |
deleteComment(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long commentId)
删除评论/回复
|
void |
deleteCommentAllByModuleId(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId)
根据模块类别和模块ID所有的评论/回复
|
void |
deleteCommentAllByModuleIdAndCtype(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId)
根据模块类别和模块ID所有发起人附言的评论/回复
|
void |
deleteCommentAllByModuleIdAndCtypes(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
java.util.List<Comment.CommentType> types)
根据模块类别和模块ID和类型所有的评论/回复
|
void |
deleteCommentAllByModuleIdAndParentId(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
java.lang.Long pid)
根据模块类别和模块ID和父节点ID所有的评论/回复
|
void |
deleteCommentByAffairId(java.lang.Long affairId)
按affairId来删除回复意见
|
void |
deleteCommentByAffairIds(java.util.List<java.lang.Long> affairIds) |
java.lang.String |
deletePraise(java.util.Map<java.lang.String,java.lang.String> para)
删除点赞
|
java.util.List<CtpCommentAll> |
findChildCommentByRootIds(java.util.List<java.lang.Long> rootIds)
通过父评论的Id获取全部的二级(震荡)评论,order by pid,createDate desc
一般配合
com.seeyon.ctp.common.content.comment.dao.CommentDao#findRootComments 使用。 |
com.seeyon.ctp.util.FlipInfo |
findCommentByAttitude(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
Comment.CommentType cType,
com.seeyon.ctp.util.FlipInfo fpi,
java.lang.String attitude,
boolean isCount,
boolean isHistory)
通过态度获取评论
|
com.seeyon.ctp.util.FlipInfo |
findCommentByType(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
Comment.CommentType cType,
com.seeyon.ctp.util.FlipInfo fpi,
boolean isCount,
boolean isHistory)
通过类型获取评论列表, 不包含转发的意见
|
com.seeyon.ctp.util.FlipInfo |
findCommentByTypes(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
java.util.List<Comment.CommentType> cType,
com.seeyon.ctp.util.FlipInfo fpi,
java.util.Map<java.lang.String,java.lang.Object> other,
boolean isCount,
boolean isHistory)
通过意见类型集合获取意见
|
java.util.List<java.lang.Long> |
findCommenters(com.seeyon.ctp.common.constants.ApplicationCategoryEnum app,
java.lang.Long entryId)
获取某个应用的全部评论人
|
java.util.Map<java.lang.Long,java.util.List<Comment>> |
findCommentReplay(java.util.List<java.lang.Long> parentIds)
获取意见的全部回复列表, 根据创建时间升序
|
com.seeyon.ctp.util.FlipInfo |
findComments(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
Comment.CommentType cType,
com.seeyon.ctp.util.FlipInfo fpi,
java.util.Map<java.lang.String,java.lang.Object> other,
boolean onlyCount,
boolean isHistory)
获取评论
|
com.seeyon.ctp.util.FlipInfo |
findComments(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
com.seeyon.ctp.util.FlipInfo fpi,
java.util.Map<java.lang.String,java.lang.Object> queryParams,
boolean isHistory) |
java.util.List<CtpCommentAll> |
findCommentsByAffairId(java.lang.Long affairId) |
java.util.List<Comment> |
findCommentsList(com.seeyon.ctp.common.ModuleType moduleType,
Comment.CommentType cType,
java.lang.Long moduleId,
java.lang.Long memberId) |
com.seeyon.ctp.util.FlipInfo |
findLikeComment(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
Comment.CommentType cType,
com.seeyon.ctp.util.FlipInfo fpi,
boolean isCount,
boolean isHistory)
获取点赞的回复列表
|
java.util.List<CtpCommentAll> |
findRootComments(com.seeyon.ctp.util.FlipInfo flipInfo,
int moduleType,
java.lang.Long moduleId)
获取评论的全部根(一级)评论,该方法用于数据加载分页使用,order by createDate desc
一般配合
com.seeyon.ctp.common.content.comment.dao.CommentDao#findChildCommentByRootIds 使用。 |
CtpCommentAll |
getById(java.lang.Long id) |
Comment |
getComment(java.lang.Long id) |
java.util.List<Comment> |
getCommentAllByCTYPE(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
Comment.CommentType CommentType) |
java.util.List<Comment> |
getCommentAllByModuleId(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId) |
java.util.List<Comment> |
getCommentAllByModuleId(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
boolean isHistoryFlag) |
java.util.List<Comment> |
getCommentList(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId)
根据模块类别和模块ID获取评论回复列表(树结构)
|
java.util.List<Comment> |
getCommentList(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
java.lang.Long parentCommentId)
根据模块类别和模块ID,以及父节点评论回复ID获取子评论回复列表(非树结构),为支持异步加载评论回复
|
java.util.List<Comment> |
getCommentListByActivityAndMember(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
java.lang.Long activityId,
java.lang.Long memberId)
根据节点ID和人员ID查询评论意见(不含回复),用于移动端流程图节点信息显示
TODO 这个方法的实现好像有问题
|
com.seeyon.ctp.util.FlipInfo |
getCommentListByPaging(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
com.seeyon.ctp.util.FlipInfo fpi)
已过时。
|
java.util.Map<java.lang.String,java.lang.Object> |
getCommentsWithForward(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId)
已过时。
|
java.util.Map<java.lang.String,java.lang.Object> |
getCommentsWithForward(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
boolean isHistoryFlag)
已过时。
|
java.util.Map<java.lang.String,java.lang.Object> |
getCommentsWithForward(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
java.lang.Long groupId,
java.lang.Long viewGroupId,
boolean isHistoryFlag)
已过时。
|
java.util.List<CtpCommentAll> |
getDealOpinion(java.lang.Long affairId) |
Comment |
getDraftOpinion(java.lang.Long affairId) |
CtpCommentAll |
getDrfatComment(java.lang.Long affairId) |
CtpCommentAll |
getLastComment(java.lang.Long affairId)
根据affairId获取当前节点的最后一条回复
|
CtpCommentAll |
getLastDealComment(java.lang.Long affairId)
根据affairId获取当前节点的最后一条处理意见
|
Comment |
getParentComment(Comment comment)
获取指定评论回复对象的父级节点评论回复对象
|
java.lang.String |
getPraiseNames(java.util.Map<java.lang.String,java.lang.String> para)
获取点赞人的名字
|
java.util.List<java.lang.Long> |
getSenderCommentIdByModuleIdAndCtype(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId)
获取指定模块的发送者评论Id列表
|
Comment |
insertComment(Comment comment)
新增评论/回复
|
Comment |
insertComment(Comment comment,
CtpAffair affair)
新增评论/回复
|
void |
save(Comment comment) |
void |
saveBatch(java.util.List<Comment> commentList)
批量添加附言
|
void |
transForwardComment(com.seeyon.ctp.common.ModuleType fromModuleType,
java.lang.Long fromModuleId,
com.seeyon.ctp.common.ModuleType toModuleType,
java.lang.Long toModuleId,
java.lang.Long groupId,
java.lang.Long viewGroupId,
boolean forwardOriginalNote,
boolean forwardOriginalopinion)
评论回复转发接口
|
void |
updateComment(Comment comment)
更新评论/回复
|
void |
updateCommentCtype(java.lang.Long id,
Comment.CommentType type)
更新评论回复类型
|
Comment insertComment(Comment comment, CtpAffair affair) throws com.seeyon.ctp.common.exceptions.BusinessException
comment - 新增的评论/回复数据对象com.seeyon.ctp.common.exceptions.BusinessException - 评论/回复新增相关异常Comment insertComment(Comment comment) throws com.seeyon.ctp.common.exceptions.BusinessException
comment - 新增的评论/回复数据对象com.seeyon.ctp.common.exceptions.BusinessException - 评论/回复新增相关异常void deleteComment(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long commentId)
throws com.seeyon.ctp.common.exceptions.BusinessException
moduleType - 删除评论/回复所属的模块类别(为分区性能优化的目的)commentId - 删除的评论/回复IDcom.seeyon.ctp.common.exceptions.BusinessException - 评论/回复删除相关异常void deleteCommentAllByModuleId(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId)
throws com.seeyon.ctp.common.exceptions.BusinessException
moduleType - moduleId - com.seeyon.ctp.common.exceptions.BusinessExceptionvoid deleteCommentAllByModuleIdAndCtype(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId)
throws com.seeyon.ctp.common.exceptions.BusinessException
moduleType - moduleId - com.seeyon.ctp.common.exceptions.BusinessExceptionvoid deleteCommentAllByModuleIdAndParentId(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
java.lang.Long pid)
throws com.seeyon.ctp.common.exceptions.BusinessException
moduleType - moduleId - pid - com.seeyon.ctp.common.exceptions.BusinessExceptionvoid deleteCommentAllByModuleIdAndCtypes(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
java.util.List<Comment.CommentType> types)
throws com.seeyon.ctp.common.exceptions.BusinessException
moduleType - moduleId - types - com.seeyon.ctp.common.exceptions.BusinessExceptionvoid updateComment(Comment comment) throws com.seeyon.ctp.common.exceptions.BusinessException
comment - 更新的评论/回复数据对象com.seeyon.ctp.common.exceptions.BusinessException - 评论/回复更新相关异常void updateCommentCtype(java.lang.Long id,
Comment.CommentType type)
throws com.seeyon.ctp.common.exceptions.BusinessException
id - type - com.seeyon.ctp.common.exceptions.BusinessExceptionjava.util.List<Comment> getCommentList(com.seeyon.ctp.common.ModuleType moduleType, java.lang.Long moduleId) throws com.seeyon.ctp.common.exceptions.BusinessException
moduleType - 评论/回复所属的模块类别moduleId - 评论/回复所属模块的IDcom.seeyon.ctp.common.exceptions.BusinessException - 评论/回复查询相关异常java.util.List<Comment> findCommentsList(com.seeyon.ctp.common.ModuleType moduleType, Comment.CommentType cType, java.lang.Long moduleId, java.lang.Long memberId) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessExceptionCtpCommentAll getDrfatComment(java.lang.Long affairId) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessExceptionjava.util.List<Comment> getCommentAllByModuleId(com.seeyon.ctp.common.ModuleType moduleType, java.lang.Long moduleId) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessExceptionjava.util.List<Comment> getCommentAllByModuleId(com.seeyon.ctp.common.ModuleType moduleType, java.lang.Long moduleId, boolean isHistoryFlag) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException@Deprecated
java.util.Map<java.lang.String,java.lang.Object> getCommentsWithForward(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId)
throws com.seeyon.ctp.common.exceptions.BusinessException
moduleType - 评论/回复所属的模块类别moduleId - 评论/回复所属模块的IDcom.seeyon.ctp.common.exceptions.BusinessException - 评论/回复查询相关异常@Deprecated
java.util.Map<java.lang.String,java.lang.Object> getCommentsWithForward(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
boolean isHistoryFlag)
throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException@Deprecated
java.util.Map<java.lang.String,java.lang.Object> getCommentsWithForward(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
java.lang.Long groupId,
java.lang.Long viewGroupId,
boolean isHistoryFlag)
throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessExceptionvoid transForwardComment(com.seeyon.ctp.common.ModuleType fromModuleType,
java.lang.Long fromModuleId,
com.seeyon.ctp.common.ModuleType toModuleType,
java.lang.Long toModuleId,
java.lang.Long groupId,
java.lang.Long viewGroupId,
boolean forwardOriginalNote,
boolean forwardOriginalopinion)
throws com.seeyon.ctp.common.exceptions.BusinessException
fromModuleType - 来源模块类型fromModuleId - 来源模块IDtoModuleType - 转发目标模块类型toModuleId - 转发目标模块IDforwardOriginalNote - 是否转发原发起者附言forwardOriginalopinion - 是否转发原意见com.seeyon.ctp.common.exceptions.BusinessException - 评论/回复转发相关异常java.util.List<Comment> getCommentList(com.seeyon.ctp.common.ModuleType moduleType, java.lang.Long moduleId, java.lang.Long parentCommentId) throws com.seeyon.ctp.common.exceptions.BusinessException
moduleType - 评论/回复所属的模块类别moduleId - 评论/回复所属模块的IDparentCommentId - 父节点评论回复IDcom.seeyon.ctp.common.exceptions.BusinessException - 评论/回复查询相关异常void deleteCommentByAffairId(java.lang.Long affairId)
throws com.seeyon.ctp.common.exceptions.BusinessException
moduleType - affairId - com.seeyon.ctp.common.exceptions.BusinessExceptionvoid deleteCommentByAffairIds(java.util.List<java.lang.Long> affairIds)
throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessExceptionjava.util.List<Comment> getCommentListByActivityAndMember(com.seeyon.ctp.common.ModuleType moduleType, java.lang.Long moduleId, java.lang.Long activityId, java.lang.Long memberId) throws com.seeyon.ctp.common.exceptions.BusinessException
moduleType - 模块类型moduleId - 模块IDactivityId - 节点IDmemberId - 人员IDcom.seeyon.ctp.common.exceptions.BusinessException@Deprecated
com.seeyon.ctp.util.FlipInfo getCommentListByPaging(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
com.seeyon.ctp.util.FlipInfo fpi)
throws com.seeyon.ctp.common.exceptions.BusinessException
moduleType - 模块类型moduleId - 模块IDfpi - 翻页信息对象com.seeyon.ctp.common.exceptions.BusinessExceptionjava.util.List<java.lang.Long> getSenderCommentIdByModuleIdAndCtype(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId)
throws com.seeyon.ctp.common.exceptions.BusinessException
moduleType - 模块类型moduleId - 模块IDcom.seeyon.ctp.common.exceptions.BusinessExceptionComment getParentComment(Comment comment) throws com.seeyon.ctp.common.exceptions.BusinessException
comment - 评论回复对象com.seeyon.ctp.common.exceptions.BusinessExceptionjava.lang.String addPraise(java.util.Map<java.lang.String,java.lang.String> para)
throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessExceptionjava.lang.String deletePraise(java.util.Map<java.lang.String,java.lang.String> para)
throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessExceptionjava.lang.String getPraiseNames(java.util.Map<java.lang.String,java.lang.String> para)
throws java.lang.NumberFormatException,
com.seeyon.ctp.common.exceptions.BusinessException
java.lang.NumberFormatExceptioncom.seeyon.ctp.common.exceptions.BusinessExceptionComment getComment(java.lang.Long id) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessExceptioncom.seeyon.ctp.util.FlipInfo findCommentByType(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
Comment.CommentType cType,
com.seeyon.ctp.util.FlipInfo fpi,
boolean isCount,
boolean isHistory)
throws com.seeyon.ctp.common.exceptions.BusinessException
moduleType - 模块类型moduleId - 业务IDcType - 意见类型fpi - 分页对象isCount - 是否只查询数量isHistory - 是否转储数据Commentcom.seeyon.ctp.common.exceptions.BusinessExceptioncom.seeyon.ctp.util.FlipInfo findCommentByTypes(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
java.util.List<Comment.CommentType> cType,
com.seeyon.ctp.util.FlipInfo fpi,
java.util.Map<java.lang.String,java.lang.Object> other,
boolean isCount,
boolean isHistory)
throws com.seeyon.ctp.common.exceptions.BusinessException
moduleType - 模块类型moduleId - 业务IDcType - 意见类型集合fpi - 分页对象isCount - 是否只查询数量isHistory - 是否转储数据Commentcom.seeyon.ctp.common.exceptions.BusinessExceptionjava.util.Map<java.lang.Long,java.util.List<Comment>> findCommentReplay(java.util.List<java.lang.Long> parentIds) throws com.seeyon.ctp.common.exceptions.BusinessException
parentIds - com.seeyon.ctp.common.exceptions.BusinessExceptioncom.seeyon.ctp.util.FlipInfo findLikeComment(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
Comment.CommentType cType,
com.seeyon.ctp.util.FlipInfo fpi,
boolean isCount,
boolean isHistory)
throws com.seeyon.ctp.common.exceptions.BusinessException
moduleType - moduleId - cType - 类型fpi - 分页isCount - 是否只查询数量Commentcom.seeyon.ctp.common.exceptions.BusinessExceptioncom.seeyon.ctp.util.FlipInfo findCommentByAttitude(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
Comment.CommentType cType,
com.seeyon.ctp.util.FlipInfo fpi,
java.lang.String attitude,
boolean isCount,
boolean isHistory)
throws com.seeyon.ctp.common.exceptions.BusinessException
moduleType - moduleId - cType - fpi - attitude - isCount - Commentcom.seeyon.ctp.common.exceptions.BusinessExceptionCtpCommentAll getLastComment(java.lang.Long affairId) throws com.seeyon.ctp.common.exceptions.BusinessException
affairId - com.seeyon.ctp.common.exceptions.BusinessExceptionCtpCommentAll getLastDealComment(java.lang.Long affairId) throws com.seeyon.ctp.common.exceptions.BusinessException
affairId - com.seeyon.ctp.common.exceptions.BusinessExceptionjava.util.List<CtpCommentAll> findCommentsByAffairId(java.lang.Long affairId) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessExceptionjava.util.List<Comment> getCommentAllByCTYPE(com.seeyon.ctp.common.ModuleType moduleType, java.lang.Long moduleId, Comment.CommentType CommentType) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessExceptioncom.seeyon.ctp.util.FlipInfo findComments(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
Comment.CommentType cType,
com.seeyon.ctp.util.FlipInfo fpi,
java.util.Map<java.lang.String,java.lang.Object> other,
boolean onlyCount,
boolean isHistory)
throws com.seeyon.ctp.common.exceptions.BusinessException
moduleType - moduleId - cType - 类型fpi - 分页对象呢other - 其他查询条件onlyCount - 是否只查询数量isHistory - 是否转储数据Commentcom.seeyon.ctp.common.exceptions.BusinessExceptionjava.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.lang.Integer>> countComments(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
java.util.Map<java.lang.String,java.lang.Object> queryParams,
boolean isHistory)
throws com.seeyon.ctp.common.exceptions.BusinessException
moduleType - moduleId - queryParams - isHistory -
Map(forwardCount(转发次数),(Ctype(类型),Count(计数)))
com.seeyon.ctp.common.exceptions.BusinessExceptioncom.seeyon.ctp.util.FlipInfo findComments(com.seeyon.ctp.common.ModuleType moduleType,
java.lang.Long moduleId,
com.seeyon.ctp.util.FlipInfo fpi,
java.util.Map<java.lang.String,java.lang.Object> queryParams,
boolean isHistory)
throws com.seeyon.ctp.common.exceptions.BusinessException
Comment
com.seeyon.ctp.common.exceptions.BusinessExceptionCtpCommentAll getById(java.lang.Long id) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessExceptionvoid save(Comment comment) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessExceptionvoid saveBatch(java.util.List<Comment> commentList) throws com.seeyon.ctp.common.exceptions.BusinessException
commentList - com.seeyon.ctp.common.exceptions.BusinessExceptionjava.util.List<CtpCommentAll> findRootComments(com.seeyon.ctp.util.FlipInfo flipInfo, int moduleType, java.lang.Long moduleId)
获取评论的全部根(一级)评论,该方法用于数据加载分页使用,order by createDate desc
一般配合com.seeyon.ctp.common.content.comment.dao.CommentDao#findChildCommentByRootIds 使用。
flipInfo - 分页对象moduleType - 模块类型ApplicationCategoryEnummoduleId - 模块对应的idjava.util.List<CtpCommentAll> findChildCommentByRootIds(java.util.List<java.lang.Long> rootIds)
通过父评论的Id获取全部的二级(震荡)评论,order by pid,createDate desc
一般配合com.seeyon.ctp.common.content.comment.dao.CommentDao#findRootComments 使用。
rootIds - 根(一级)评论的Idjava.util.List<CtpCommentAll> getDealOpinion(java.lang.Long affairId)
Comment getDraftOpinion(java.lang.Long affairId)
java.util.List<java.lang.Long> findCommenters(com.seeyon.ctp.common.constants.ApplicationCategoryEnum app,
java.lang.Long entryId)
获取某个应用的全部评论人
app - entryId - java.util.Map<java.lang.Long,java.lang.Integer> countCommentByIds(com.seeyon.ctp.common.ModuleType moduleType,
java.util.List<java.lang.Long> moduleIds)
批量获取模块的评论数据
moduleType - moduleIds -