@Service @Transactional public class CmsVoteService extends BaseService<CmsVote>
限定符和类型 | 字段和说明 |
---|---|
private CmsVoteDao |
dao |
basedao, log
构造器和说明 |
---|
CmsVoteService() |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<CmsVote> |
delete(short siteId,
java.io.Serializable[] ids) |
PageHandler |
getPage(java.lang.Short siteId,
java.util.Date startStartDate,
java.util.Date endStartDate,
java.util.Date startEndDate,
java.util.Date endEndDate,
java.lang.String title,
java.lang.Boolean disabled,
java.lang.String orderField,
java.lang.String orderType,
java.lang.Integer pageIndex,
java.lang.Integer pageSize) |
CmsVote |
updateVotes(short siteId,
java.io.Serializable id,
int votes) |
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
private CmsVoteDao dao
@Transactional(readOnly=true) public PageHandler getPage(java.lang.Short siteId, java.util.Date startStartDate, java.util.Date endStartDate, java.util.Date startEndDate, java.util.Date endEndDate, java.lang.String title, java.lang.Boolean disabled, java.lang.String orderField, java.lang.String orderType, java.lang.Integer pageIndex, java.lang.Integer pageSize)
siteId
- startStartDate
- endStartDate
- startEndDate
- endEndDate
- title
- disabled
- orderField
- orderType
- pageIndex
- pageSize
- @Transactional(isolation=READ_COMMITTED) public CmsVote updateVotes(short siteId, java.io.Serializable id, int votes)
siteId
- id
- votes
- public java.util.List<CmsVote> delete(short siteId, java.io.Serializable[] ids)