public class ResultForPoll extends PollenActionSupport implements PollenUserSecurityAware, PollUriAware
SAFE_LANGUAGES, serviceContext, serviceFactory, transaction| Constructor and Description |
|---|
ResultForPoll() |
addFlashError, addFlashMessage, addFlashWarning, clearFlashErrors, clearFlashMessages, getApplicationUrl, getApplicationVersion, getConfiguration, getCurrentDateTime, getCurrentUrl, getFavoriteService, getFlashErrors, getFlashMessages, getFlashWarnings, getJqueryTheme, getPageLogo, getParameters, getPollCommentService, getPollenApplicationContext, getPollenSession, getPollenUserAccount, getPollFeedService, getPollResultsService, getPollService, getPollUri, getPollUrlService, getPreventRuleService, getSafeLanguage, getSecurityService, getService, getServiceContext, getSkin, getTransaction, getUserSecurityContext, getUserService, getVoteCountingStrategy, getVoteCountingStrategyProvider, 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, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validateequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetPollenUserSecurityContextgetPollUripublic Poll getPoll()
public boolean isCreatorOrAdmin()
public boolean isFeedFileExisting()
public String getVoteCountingTypeName()
public String getVoteCountingTypeHelp()
public String getSummaryUrl()
public String getResultUrl(boolean byGroup)
public String getVoteUrl()
public List<PollResult> getResults()
public String getPollCreatorName()
public String getPollBeginDate()
public String getPollEndDate()
public Date getResultAsDate(PollResult result)
public String getVoteSizeMessage()
public String getVictoryMessage()
public String getTrimValue(PollResult result)
result - la résultat à utiliser.public String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionpublic List<PollResult> getTopRanking()
public boolean isFreePoll()
public boolean isRestrictedPoll()
public boolean isGroupPoll()
public boolean isTextType()
public boolean isDateType()
public boolean isImageType()
public boolean isByGroup()
public void setByGroup(boolean byGroup)
public List<String> getChoices()
public String getNormalPollResultChartUrl(int width, int height)
public String getChoicesResultCharUrl(int width, int height, String choiceName)
public String getChoicesAsString()
Copyright © 2009-2012 CodeLutin. All Rights Reserved.