类 CmsCommentService

java.lang.Object
com.publiccms.common.base.BaseService<CmsComment>
com.publiccms.logic.service.cms.CmsCommentService

@Service @Transactional public class CmsCommentService extends BaseService<CmsComment>
CmsCommentService
  • 字段详细资料

  • 构造器详细资料

    • 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

      public Set<CmsContent> check(short siteId, Serializable[] ids, long userId)
      参数:
      siteId -
      ids -
      userId -
      返回:
    • uncheck

      public Set<CmsContent> uncheck(short siteId, Serializable[] ids)
      参数:
      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

      public Set<CmsContent> delete(short siteId, Serializable[] ids)
      参数:
      siteId -
      ids -
      返回:
    • batchUpdate

      public List<CmsComment> batchUpdate(List<CmsComment> entityList)
      参数:
      entityList -
      返回: