|
||||||||||
| 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 org.chorem.pollen.business.persistence.Choice |
choice
|
| Fields inherited from class org.chorem.pollen.ui.actions.poll.AbstractPollUriIdAction |
|---|
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 | |
|---|---|
String |
execute()
|
org.chorem.pollen.business.persistence.Choice |
getChoice()
|
List<String> |
getImageChoiceContentTypes()
|
List<String> |
getImageChoiceFileNames()
|
List<File> |
getImageChoices()
|
void |
prepare()
|
void |
setFileContentTypes(String paramName,
List<String> contentTypes)
|
void |
setFileNames(String paramName,
List<String> fileNames)
|
void |
setFiles(String paramName,
List<File> files)
|
void |
validate()
|
| Methods inherited from class org.chorem.pollen.ui.actions.poll.AbstractPollUriIdAction |
|---|
getAccountId, getPollId, getUriId, preparePollUri, preparePollUri, 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 org.chorem.pollen.business.persistence.Choice choice
| Constructor Detail |
|---|
public AddChoice()
| Method Detail |
|---|
public org.chorem.pollen.business.persistence.Choice getChoice()
public void setFiles(String paramName,
List<File> files)
setFiles in interface FileUploadAware
public void setFileContentTypes(String paramName,
List<String> contentTypes)
setFileContentTypes in interface FileUploadAware
public void setFileNames(String paramName,
List<String> fileNames)
setFileNames in interface FileUploadAwarepublic List<File> getImageChoices()
public List<String> getImageChoiceContentTypes()
public List<String> getImageChoiceFileNames()
public void prepare()
throws org.chorem.pollen.services.exceptions.PollNotFoundException
prepare in interface com.opensymphony.xwork2.Preparableorg.chorem.pollen.services.exceptions.PollNotFoundExceptionpublic 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 | |||||||||