类 CmsContentFileService
java.lang.Object
com.publiccms.common.base.BaseService<CmsContentFile>
com.publiccms.logic.service.cms.CmsContentFileService
CmsContentFileService
-
字段概要
字段从类继承的字段 com.publiccms.common.base.BaseService
basedao, log
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
deleteByContentId
(Long contentId) getPage
(Long contentId, Long userId, String[] fileTypes, String orderField, String orderType, Integer pageIndex, Integer pageSize) void
update
(long contentId, Long userId, List<CmsContentFile> files, List<CmsContentFile> images) void
updateStatistics
(Collection<ClickStatistics> entitys) 从类继承的方法 com.publiccms.common.base.BaseService
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
-
字段详细资料
-
ignoreProperties
-
dao
-
-
构造器详细资料
-
CmsContentFileService
public CmsContentFileService()
-
-
方法详细资料
-
getPage
@Transactional(readOnly=true) public PageHandler getPage(Long contentId, Long userId, String[] fileTypes, String orderField, String orderType, Integer pageIndex, Integer pageSize) - 参数:
contentId
-userId
-fileTypes
-orderField
-orderType
-pageIndex
-pageSize
-- 返回:
- results page
-
getList
@Transactional(readOnly=true) public List<CmsContentFile> getList(long contentId, String[] fileTypes) - 参数:
contentId
-fileTypes
-- 返回:
- results list
-
updateStatistics
@Transactional(isolation=READ_COMMITTED) public void updateStatistics(Collection<ClickStatistics> entitys) - 参数:
entitys
-
-
update
public void update(long contentId, Long userId, List<CmsContentFile> files, List<CmsContentFile> images) - 参数:
contentId
-userId
-files
-images
-
-
deleteByContentId
- 参数:
contentId
-
-