public abstract class PageFlow extends java.lang.Object implements java.io.Serializable, HttpSessionAttribute
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
REQUEST_ATTRIBUTE_OR_PARAMETER__FLOW |
static java.lang.String |
REQUEST_PARAMETER__CANCEL_BUTTON |
static java.lang.String |
REQUEST_PARAMETER__OK_BUTTON |
static java.lang.String |
REQUEST_PARAMETER__PAGE |
protected DispatchCommand |
returnCommand |
| Modifier | Constructor and Description |
|---|---|
protected |
PageFlow(DispatchCommand returnCommand) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected abstract void |
dispatchFromPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String page) |
protected abstract void |
dispatchOk(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String page) |
protected void |
dispatchReturn(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected abstract void |
dispatchToFirstPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
java.lang.String |
getSessionAttributeName() |
void |
setSessionAttributeName(java.lang.String sessionAttributeName) |
public static final java.lang.String REQUEST_PARAMETER__PAGE
public static final java.lang.String REQUEST_PARAMETER__CANCEL_BUTTON
public static final java.lang.String REQUEST_PARAMETER__OK_BUTTON
public static final java.lang.String REQUEST_ATTRIBUTE_OR_PARAMETER__FLOW
protected DispatchCommand returnCommand
protected PageFlow(DispatchCommand returnCommand)
public java.lang.String getSessionAttributeName()
getSessionAttributeName in interface HttpSessionAttributepublic void setSessionAttributeName(java.lang.String sessionAttributeName)
setSessionAttributeName in interface HttpSessionAttributepublic void dispatch(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
java.io.IOExceptionjavax.servlet.ServletExceptionprotected void dispatchReturn(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
java.io.IOExceptionjavax.servlet.ServletExceptionprotected abstract void dispatchToFirstPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
java.io.IOExceptionjavax.servlet.ServletExceptionprotected abstract void dispatchOk(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String page)
throws java.io.IOException,
javax.servlet.ServletException
java.io.IOExceptionjavax.servlet.ServletExceptionprotected abstract void dispatchFromPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String page)
throws java.io.IOException,
javax.servlet.ServletException
java.io.IOExceptionjavax.servlet.ServletException