|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork2.ActionSupport
org.chorem.bow.action.BowBaseAction
org.chorem.bow.action.RedirectToUrlAction
public class RedirectToUrlAction
Retrieves the bookmark URL (where the user will be redirected) and increments the click counter for this bookmark
| Field Summary | |
|---|---|
protected String |
bookmarkId
|
protected String |
link
|
| Fields inherited from class org.chorem.bow.action.BowBaseAction |
|---|
CONTEXT_ACTION_KEY, log, session, UNTRANSLATED_MARKER |
| Fields inherited from class com.opensymphony.xwork2.ActionSupport |
|---|
LOG |
| Fields inherited from interface com.opensymphony.xwork2.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
RedirectToUrlAction()
|
|
| Method Summary | |
|---|---|
String |
execute()
Increments the click counter and sets the link (retrieved by Struts2) where the user will be redirected |
String |
getBookmarkId()
|
String |
getLink()
|
void |
setBookmarkId(String bookmarkId)
|
void |
setLink(String link)
|
| Methods inherited from class org.chorem.bow.action.BowBaseAction |
|---|
getBowProxy, getBowSession, getSafeText, getText, getText, getText, getText, getText, getText, getText, getText, getText, setSession |
| Methods inherited from class com.opensymphony.xwork2.ActionSupport |
|---|
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String bookmarkId
protected String link
| Constructor Detail |
|---|
public RedirectToUrlAction()
| Method Detail |
|---|
public String getBookmarkId()
public void setBookmarkId(String bookmarkId)
bookmarkId - the bookmarkId to setpublic String getLink()
public void setLink(String link)
link - the link to setpublic String execute()
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||