|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork2.ActionSupport
org.nuiton.web.struts2.BaseAction
org.chorem.pollen.ui.actions.PollenActionSupport
org.chorem.pollen.ui.actions.poll.AbstractPollUriIdAction
org.chorem.pollen.ui.actions.poll.AbstractVoteAction
org.chorem.pollen.ui.actions.poll.AddChoice
public class AddChoice
To add a poll comment.
| Field Summary | |
|---|---|
protected Choice |
choice
|
| Fields inherited from class org.chorem.pollen.ui.actions.poll.AbstractVoteAction |
|---|
PREPARE_VOTE_PAGE |
| Fields inherited from class org.chorem.pollen.ui.actions.poll.AbstractPollUriIdAction |
|---|
PARAM_POLL_PAGE, 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 | |
|---|---|
AddChoice()
|
|
| Method Summary | |
|---|---|
void |
addFile(int index,
File file)
|
void |
addFileContentType(int index,
String contentType)
|
void |
addFileName(int index,
String fileName)
|
String |
execute()
|
Choice |
getChoice()
|
boolean |
isModerate()
|
void |
prepare()
|
void |
validate()
|
| Methods inherited from class org.chorem.pollen.ui.actions.poll.AbstractPollUriIdAction |
|---|
getAccountId, getPage, getPollId, getUriId, preparePollUri, preparePollUri, setPage, setUriId |
| 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, 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Choice choice
| Constructor Detail |
|---|
public AddChoice()
| Method Detail |
|---|
public Choice getChoice()
public void addFile(int index,
File file)
addFile in interface FileUploadAware
public void addFileContentType(int index,
String contentType)
addFileContentType in interface FileUploadAware
public void addFileName(int index,
String fileName)
addFileName in interface FileUploadAwarepublic boolean isModerate()
isModerate in class AbstractVoteActiontrue if moderation is possible, false otherwise
public void prepare()
throws PollNotFoundException
prepare in interface com.opensymphony.xwork2.PreparablePollNotFoundExceptionpublic void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupport
public String execute()
throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||