public class VoteForPoll extends AbstractVoteAction implements com.opensymphony.xwork2.Preparable
PREPARE_VOTE_PAGESAFE_LANGUAGES, serviceContext, serviceFactory, transaction| Constructor and Description |
|---|
VoteForPoll() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
boolean |
isModerate() |
void |
prepare() |
void |
validate() |
escapeLineBreak, getChoiceAsDate, getChoiceFragment, getChoiceValue, getCommentAuthor, getComments, getImageChoiceName, getPoll, getPollAccount, getPollBeginDate, getPollCreatorName, getPollEndDate, getPollVoteVisibilityHelp, getPollVoteVisibilityName, getResults, getResultUrl, getResultValue, getSummaryUrl, getVote, getVoteCountingTypeHelp, getVoteCountingTypeName, getVoteMessages, getVotes, getVoteSizeMessage, isAccountFieldDisplayed, isAnonymousVote, isChoiceInVote, isCommentAllowed, isCreatorOrAdmin, isDateType, isDeleteCommentAllowed, isDeleteVoteAllowed, isDescNull, isFeedFileExisting, isFreePoll, isGroupPoll, isImageType, isModifyVoteAllowed, isPollChoiceOrVoteStarted, isPollChoiceRunning, isPollFinished, isPollStarted, isRestrictedPoll, isResultAllowed, isTextType, isVoteAllowed, loadPoll, loadPollAccount, prepareVotePage, setCommentAuthoraddFlashError, addFlashMessage, addFlashWarning, clearFlashErrors, clearFlashMessages, getApplicationUrl, getApplicationVersion, getConfiguration, getCurrentUrl, getFavoriteService, getFlashErrors, getFlashMessages, getFlashWarnings, getJqueryTheme, getPageLogo, getParameters, getPollCommentService, getPollenApplicationContext, getPollenSession, getPollenUserAccount, getPollExportService, getPollFeedService, getPollService, getPollUri, getPollUrlService, getPollVoteCountingService, getPreventRuleService, getSafeLanguage, getSecurityService, getService, getServiceContext, getSkin, getTransaction, getUserSecurityContext, getUserService, getVoteCounting, getVoteCountingFactory, getVoteService, hasAnyErrors, hasFlashErrors, hasFlashMessages, hasFlashWarnings, isGetMethod, isUserAdmin, isUserLoggued, setParameters, setPollenUserSecurityContext, setServletRequestaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrorsequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPollUrisetPollenUserSecurityContextpublic boolean isModerate()
isModerate in class AbstractVoteActiontrue if moderation is possible, false otherwisepublic void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableExceptionpublic void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupportCopyright © 2009-2012 CodeLutin. All Rights Reserved.