@Service @Transactional public class CmsContentRelatedService extends BaseService<CmsContentRelated>
log
Constructor and Description |
---|
CmsContentRelatedService() |
Modifier and Type | Method and Description |
---|---|
PageHandler |
getPage(Long contentId,
Long relatedContentId,
Long userId,
String orderField,
String orderType,
Integer pageIndex,
Integer pageSize) |
void |
update(long contentId,
long userId,
List<CmsContentRelated> entitys) |
void |
updateStatistics(Collection<CmsContentRelatedStatistics> entitys) |
delete, delete, getEntity, getEntity, getEntitys, getEntitys, save, save, update, update
@Transactional(readOnly=true) public PageHandler getPage(Long contentId, Long relatedContentId, Long userId, String orderField, String orderType, Integer pageIndex, Integer pageSize)
contentId
- relatedContentId
- userId
- orderField
- orderType
- pageIndex
- pageSize
- public void updateStatistics(Collection<CmsContentRelatedStatistics> entitys)
entitys
- public void update(long contentId, long userId, List<CmsContentRelated> entitys)
contentId
- userId
- entitys
- Copyright © 2018. All rights reserved.