org.chorem.pollen.ui.actions.poll
Class AbstractPollUriIdAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.nuiton.web.struts2.BaseAction
          extended by org.chorem.pollen.ui.actions.PollenActionSupport
              extended by org.chorem.pollen.ui.actions.poll.AbstractPollUriIdAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable, org.nuiton.topia.framework.TopiaTransactionAware
Direct Known Subclasses:
AbstractVoteAction, ClosePoll, ConfirmDeleteChoice, ConfirmDeleteComment, ConfirmDeleteVote, ConfirmPollAction, DeleteChoice, DeletePoll, DeleteVote, EditVote, ExportPoll, ResultForPoll, ResultLink

public abstract class AbstractPollUriIdAction
extends PollenActionSupport

Abstract action for all actions with a poll uri id.

Since:
1.3
Author:
tchemit , fdesbois
See Also:
Serialized Form

Field Summary
static String PARAM_POLL_PAGE
           
static String PARAM_POLL_URI
           
 
Fields inherited from class org.chorem.pollen.ui.actions.PollenActionSupport
SAFE_LANGUAGES, serviceContext, serviceFactory, transaction
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
AbstractPollUriIdAction()
           
 
Method Summary
 String getAccountId()
           
 int getPage()
           
 String getPollId()
           
 PollUri getUriId()
           
protected  void preparePollUri(Map<String,String[]> parameters)
           
protected  void preparePollUri(String pollId, String accountId)
           
 void setPage(int page)
           
 void setUriId(PollUri pollUri)
           
 
Methods inherited from class org.chorem.pollen.ui.actions.PollenActionSupport
addFlashError, addFlashMessage, addFlashWarning, clearFlashErrors, clearFlashMessages, getActionContext, getApplicationUrl, getApplicationVersion, getConfiguration, getCurrentDateTime, getCurrentUrl, getFlashErrors, getFlashMessages, getFlashWarnings, getJqueryTheme, getPageLogo, getPollenApplicationContext, getPollenSession, getPollenUserAccount, getSafeLanguage, getServiceContext, getServiceFactory, getSkin, getTransaction, getVoteCountingTypeHelp, hasAnyErrors, hasFlashErrors, hasFlashMessages, hasFlashWarnings, isUserAdmin, isUserLoggued, newService, setTransaction
 
Methods inherited from class org.nuiton.web.struts2.BaseAction
_
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, execute, 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, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_POLL_URI

public static final String PARAM_POLL_URI
See Also:
Constant Field Values

PARAM_POLL_PAGE

public static final String PARAM_POLL_PAGE
See Also:
Constant Field Values
Constructor Detail

AbstractPollUriIdAction

public AbstractPollUriIdAction()
Method Detail

getUriId

public final PollUri getUriId()

setUriId

public final void setUriId(PollUri pollUri)

getPage

public final int getPage()

setPage

public final void setPage(int page)

getPollId

public final String getPollId()

getAccountId

public final String getAccountId()

preparePollUri

protected void preparePollUri(Map<String,String[]> parameters)

preparePollUri

protected void preparePollUri(String pollId,
                              String accountId)


Copyright © 2009-2012 CodeLutin. All Rights Reserved.