_validate(title, description, choices);
User user = UserLocalManagerUtil.getUserById(userId);
PollsQuestion question = PollsQuestionUtil.findByPrimaryKey(questionId);
Date expirationDate = null;
if (!neverExpires) {
expirationDate = PortalUtil.getDate(
expMonth, expDay, expYear,
new QuestionExpirationDateException());
}
question.setModifiedDate(new Date());
question.setTitle(title);
question.setDescription(description);
question.setExpirationDate(expirationDate);
PollsQuestionUtil.update(question);
// Delete old choices