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