@Service @Transactional public class CmsContentFileService extends BaseService<CmsContentFile>
限定符和类型 | 字段和说明 |
---|---|
private CmsContentFileDao |
dao |
static java.lang.String[] |
ignoreProperties |
basedao, log
构造器和说明 |
---|
CmsContentFileService() |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<CmsContentFile> |
getList(long contentId,
java.lang.String[] fileTypes) |
PageHandler |
getPage(java.lang.Long contentId,
java.lang.Long userId,
java.lang.String[] fileTypes,
java.lang.String orderField,
java.lang.String orderType,
java.lang.Integer pageIndex,
java.lang.Integer pageSize) |
void |
update(long contentId,
java.lang.Long userId,
java.util.List<CmsContentFile> files,
java.util.List<CmsContentFile> images) |
void |
updateStatistics(java.util.Collection<ClickStatistics> entitys) |
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
public static final java.lang.String[] ignoreProperties
private CmsContentFileDao dao
@Transactional(readOnly=true) public PageHandler getPage(java.lang.Long contentId, java.lang.Long userId, java.lang.String[] fileTypes, java.lang.String orderField, java.lang.String orderType, java.lang.Integer pageIndex, java.lang.Integer pageSize)
contentId
- userId
- fileTypes
- orderField
- orderType
- pageIndex
- pageSize
- @Transactional(readOnly=true) public java.util.List<CmsContentFile> getList(long contentId, java.lang.String[] fileTypes)
contentId
- fileTypes
- @Transactional(isolation=READ_COMMITTED) public void updateStatistics(java.util.Collection<ClickStatistics> entitys)
entitys
- public void update(long contentId, java.lang.Long userId, java.util.List<CmsContentFile> files, java.util.List<CmsContentFile> images)
contentId
- userId
- files
- images
-