类 CmsCommentService
CmsCommentService
-
字段概要
字段从类继承的字段 com.publiccms.common.base.BaseService
basedao, log -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明batchUpdate(List<CmsComment> entityList) check(short siteId, Serializable[] ids, long userId) delete(short siteId, Serializable[] ids) getPage(Short siteId, Long userId, Long replyId, Boolean emptyReply, Long replyUserId, Long contentId, Long checkUserId, Integer status, Boolean disabled, String orderField, String orderType, Integer pageIndex, Integer pageSize) uncheck(short siteId, Serializable[] ids) updateReplies(short siteId, Serializable id, int replies) updateScores(short siteId, Serializable id, int scores) 从类继承的方法 com.publiccms.common.base.BaseService
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
-
字段详细资料
-
STATUS_NORMAL
public static final int STATUS_NORMAL- 另请参阅:
-
STATUS_PEND
public static final int STATUS_PEND- 另请参阅:
-
dao
-
contentService
-
-
构造器详细资料
-
CmsCommentService
public CmsCommentService()
-
-
方法详细资料
-
getPage
@Transactional(readOnly=true) public PageHandler getPage(Short siteId, Long userId, Long replyId, Boolean emptyReply, Long replyUserId, Long contentId, Long checkUserId, Integer status, Boolean disabled, String orderField, String orderType, Integer pageIndex, Integer pageSize) - 参数:
siteId-userId-replyId-emptyReply-replyUserId-contentId-checkUserId-status-disabled-orderField-orderType-pageIndex-pageSize-- 返回:
- results page
-
getPage
@Transactional(readOnly=true) public PageHandler getPage(Short[] siteIds, Integer pageIndex, Integer pageSize) - 参数:
siteIds-pageIndex-pageSize-- 返回:
- results page
-
check
- 参数:
siteId-ids-userId-- 返回:
-
uncheck
- 参数:
siteId-ids-- 返回:
-
updateReplies
@Transactional(isolation=READ_COMMITTED) public CmsComment updateReplies(short siteId, Serializable id, int replies) - 参数:
siteId-id-replies-- 返回:
-
updateScores
@Transactional(isolation=READ_COMMITTED) public CmsComment updateScores(short siteId, Serializable id, int scores) - 参数:
siteId-id-scores-- 返回:
-
delete
- 参数:
siteId-ids-- 返回:
-
batchUpdate
- 参数:
entityList-- 返回:
-