@Service @Transactional public class CmsVoteItemService extends BaseService<CmsVoteItem>
限定符和类型 | 字段和说明 |
---|---|
private CmsVoteItemDao |
dao |
basedao, log
构造器和说明 |
---|
CmsVoteItemService() |
限定符和类型 | 方法和说明 |
---|---|
void |
deleteByVoteId(java.lang.Long voteId) |
PageHandler |
getPage(java.lang.Long voteId,
java.lang.String orderField,
java.lang.String orderType,
java.lang.Integer pageIndex,
java.lang.Integer pageSize) |
void |
update(long voteId,
java.util.List<CmsVoteItem> entitys,
java.lang.String[] ignoreProperties) |
CmsVoteItem |
updateVotes(java.io.Serializable id,
int votes) |
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
private CmsVoteItemDao dao
@Transactional(readOnly=true) public PageHandler getPage(java.lang.Long voteId, java.lang.String orderField, java.lang.String orderType, java.lang.Integer pageIndex, java.lang.Integer pageSize)
voteId
- orderField
- orderType
- pageIndex
- pageSize
- @Transactional(isolation=READ_COMMITTED) public CmsVoteItem updateVotes(java.io.Serializable id, int votes)
id
- votes
- public void update(long voteId, java.util.List<CmsVoteItem> entitys, java.lang.String[] ignoreProperties)
voteId
- entitys
- ignoreProperties
- public void deleteByVoteId(java.lang.Long voteId)
voteId
-