|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.infoglue.cms.applications.common.actions.WebworkAbstractAction
public abstract class WebworkAbstractAction
| Field Summary |
|---|
| Fields inherited from interface webwork.action.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
WebworkAbstractAction()
|
|
| Method Summary | |
|---|---|
java.lang.String |
doDefault()
|
protected abstract java.lang.String |
doExecute()
Subclasses implement this |
java.lang.String |
execute()
|
BrowserBean |
getBrowserBean()
|
java.lang.String |
getCurrentUrl()
This method returns the url to the current page. |
Error |
getError()
|
Errors |
getErrors()
|
protected javax.servlet.http.HttpSession |
getHttpSession()
Returns the HttpSession TODO: Hide the implementation behind WebWorks abstractions in ActionContext |
InfoGluePrincipal |
getInfoGluePrincipal()
This method returns a logged in principal if existing. |
java.lang.String |
getLocalizedString(java.util.Locale locale,
java.lang.String key)
|
protected javax.servlet.http.HttpServletRequest |
getRequest()
Returns the HttpServletRequest TODO: Hide the implementation behind WebWorks abstractions in ActionContext |
protected javax.servlet.http.HttpServletResponse |
getResponse()
Returns the HttpServletResponse TODO: Hide the implementation behind WebWorks abstractions in ActionContext |
java.lang.String |
getRoot()
|
Session |
getSession()
Use the ActionContext to initialize the Session and remove the dependence on HTTP and the Servlet Spec. |
void |
setCommand(java.lang.String commandName)
|
void |
setError(java.lang.Throwable throwable,
java.lang.Throwable cause)
|
void |
setServletRequest(javax.servlet.http.HttpServletRequest request)
|
void |
setServletResponse(javax.servlet.http.HttpServletResponse response)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebworkAbstractAction()
| Method Detail |
|---|
public Error getError()
public Errors getErrors()
public java.lang.String doDefault()
throws java.lang.Exception
java.lang.Exception
public java.lang.String execute()
throws java.lang.Exception
execute in interface webwork.action.Actionjava.lang.Exception
public java.lang.String getCurrentUrl()
throws java.lang.Exception
java.lang.Exceptionpublic void setCommand(java.lang.String commandName)
setCommand in interface webwork.action.CommandDrivenpublic void setServletRequest(javax.servlet.http.HttpServletRequest request)
setServletRequest in interface webwork.action.ServletRequestAwarepublic void setServletResponse(javax.servlet.http.HttpServletResponse response)
setServletResponse in interface webwork.action.ServletResponseAware
public void setError(java.lang.Throwable throwable,
java.lang.Throwable cause)
public java.lang.String getLocalizedString(java.util.Locale locale,
java.lang.String key)
public final java.lang.String getRoot()
public final InfoGluePrincipal getInfoGluePrincipal()
protected abstract java.lang.String doExecute()
throws java.lang.Exception
java.lang.Exceptionpublic final BrowserBean getBrowserBean()
protected final javax.servlet.http.HttpServletRequest getRequest()
protected final javax.servlet.http.HttpServletResponse getResponse()
protected final javax.servlet.http.HttpSession getHttpSession()
public final Session getSession()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||