public class ResultForPoll extends PollenActionSupport implements PollenUserSecurityAware, PollUriAware
SAFE_LANGUAGES, serviceContext, serviceFactory, transaction| Constructor and Description |
|---|
ResultForPoll() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
Boolean |
getByGroup() |
String |
getChoiceName(String id) |
Set<String> |
getGroupIds() |
String |
getGroupName(String id) |
String |
getGroupPollResultChartUrl(String groupId,
int width,
int height) |
GroupVoteCountingResult |
getGroupResult() |
String |
getNormalPollResultChartUrl(int width,
int height) |
Poll |
getPoll() |
String |
getPollBeginDate() |
String |
getPollCreatorName() |
String |
getPollEndDate() |
VoteCountingResult |
getPollResult() |
protected String |
getPollResultChartUrl(VoteCountingResult results,
String title,
int width,
int height) |
Date |
getResultAsDate(String choiceName) |
String |
getResultUrl(boolean byGroup) |
String |
getSummaryUrl() |
String |
getVictoryMessage() |
String |
getVoteCountingTypeHelp() |
String |
getVoteCountingTypeName() |
String |
getVoteSizeMessage() |
String |
getVoteUrl() |
boolean |
isCreatorOrAdmin() |
boolean |
isDateType() |
boolean |
isFeedFileExisting() |
boolean |
isImageType() |
boolean |
isTextType() |
void |
setByGroup(Boolean byGroup) |
addFlashError, addFlashMessage, addFlashWarning, clearFlashErrors, clearFlashMessages, getApplicationUrl, getApplicationVersion, getConfiguration, getCurrentDateTime, 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, 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 Boolean getByGroup()
public void setByGroup(Boolean byGroup)
public String getVoteCountingTypeName()
public String getVoteCountingTypeHelp()
public String getSummaryUrl()
public String getResultUrl(boolean byGroup)
public String getVoteUrl()
public String getPollCreatorName()
public String getPollBeginDate()
public String getPollEndDate()
public GroupVoteCountingResult getGroupResult()
public VoteCountingResult getPollResult()
public String getVoteSizeMessage()
public String getVictoryMessage()
public String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionpublic boolean isTextType()
public boolean isDateType()
public boolean isImageType()
public String getNormalPollResultChartUrl(int width, int height)
public String getGroupPollResultChartUrl(String groupId, int width, int height)
protected String getPollResultChartUrl(VoteCountingResult results, String title, int width, int height)
Copyright © 2009-2012 CodeLutin. All Rights Reserved.