|
||||||||||
| 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.DeleteComment
public class DeleteComment
To delete a poll comment.
| Field Summary | |
|---|---|
protected String |
commentId
Id of the comment to delete. |
protected String |
reason
Reason for deleting this comment (if any). |
| 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 | |
|---|---|
DeleteComment()
|
|
| Method Summary | |
|---|---|
String |
execute()
|
boolean |
isModerate()
|
void |
setCommentId(String commentId)
|
void |
setReason(String reason)
|
| 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, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String commentId
protected String reason
| Constructor Detail |
|---|
public DeleteComment()
| Method Detail |
|---|
public void setCommentId(String commentId)
public void setReason(String reason)
public boolean isModerate()
isModerate in class AbstractVoteActiontrue if moderation is possible, false otherwise
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 | |||||||||