类 CmsSurveyService
CmsSurveyService
-
字段概要
字段从类继承的字段 com.publiccms.common.base.BaseService
basedao, log
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getPage
(Short siteId, Long userId, String surveyType, Date startStartDate, Date endStartDate, Date startEndDate, Date endEndDate, String title, Boolean disabled, String orderField, String orderType, Integer pageIndex, Integer pageSize) updateVotes
(short siteId, Serializable id, int votes) 从类继承的方法 com.publiccms.common.base.BaseService
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
-
字段详细资料
-
SURVEY_TYPE_EXAM
- 另请参阅:
-
SURVEY_TYPE_SURVEY
- 另请参阅:
-
dao
-
-
构造器详细资料
-
CmsSurveyService
public CmsSurveyService()
-
-
方法详细资料
-
getPage
@Transactional(readOnly=true) public PageHandler getPage(Short siteId, Long userId, String surveyType, Date startStartDate, Date endStartDate, Date startEndDate, Date endEndDate, String title, Boolean disabled, String orderField, String orderType, Integer pageIndex, Integer pageSize) - 参数:
siteId
-userId
-surveyType
-startStartDate
-endStartDate
-startEndDate
-endEndDate
-title
-disabled
-orderField
-orderType
-pageIndex
-pageSize
-- 返回:
- results page
-
updateVotes
@Transactional(isolation=READ_COMMITTED) public CmsSurvey updateVotes(short siteId, Serializable id, int votes) - 参数:
siteId
-id
-votes
-- 返回:
- entity
-