planetj.dataengine.application.magic
Class WABDispatcherRequest

java.lang.Object
  |
  +--planetj.html.AbstractHTMLRenderer
        |
        +--planetj.magic.AbstractMagicRequest
              |
              +--planetj.magic.MagicRequest
                    |
                    +--planetj.dataengine.application.magic.WABDispatcherRequest
All Implemented Interfaces:
IFeature, IHTMLRenderer, IMagicRequest, IRenderer, Serializable

public class WABDispatcherRequest
extends MagicRequest

Dispatches an execute command to the appropriate magic request. This is kind of a hack to fix the issue where the builder TOC only has a single "Edit" link which may be routed to one of multiple edit magic requests

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class planetj.dataengine.IFeature
IFeature.OperationCountFeature
 
Field Summary
 
Fields inherited from class planetj.html.AbstractHTMLRenderer
className
 
Fields inherited from interface planetj.magic.IMagicRequest
IS_COMPLETE, MAGIC_REQUEST, MAGIC_REQUEST_PARAM1, MAGIC_REQUEST_RC, SAME_URI, TYPE, TYPE_PAGE, TYPE_SESSION, TYPE_STATIC, USER_REQUEST_ATTRIBUTES_STORED
 
Fields inherited from interface planetj.html.IHTMLRenderer
HTML
 
Fields inherited from interface planetj.dataengine.IFeature
DEFAULT_MESSAGE_FEATURE, FEATURE_DELETE, FEATURE_INSERT, FEATURE_LEVEL_ENTERPRISE, FEATURE_LEVEL_ENTRY, FEATURE_LEVEL_PROFESSIONAL, FEATURE_LEVEL_STANDARD, FEATURE_UPDATE, MESSAGE_END, MESSAGE_START
 
Method Summary
 IMagicRequest execute(javax.servlet.http.HttpServletRequest pRequest, javax.servlet.http.HttpServletResponse pResponse, DataEngineServlet pServlet)
          Execute method comment.
static WABDispatcherRequest getInstance(javax.servlet.http.HttpServletRequest req)
          Gets an instance of WABDispatcherREquest
 String getKey()
          Return the id used to store this magic request in the session.
 String getNextURI(LayoutDisplayPropertyGroup layoutTemplate)
          Get the URI of the next page to call.
 boolean isEndNewNavigationGroup()
           
 boolean isReturnToRequester()
          Returns whether or not the magic request needs to be returned to the requester.
 boolean isStartNewNavigationGroup()
          Tests whether or not this magic request needs to start a new navigation group.
 
Methods inherited from class planetj.magic.MagicRequest
getType, store
 
Methods inherited from class planetj.magic.AbstractMagicRequest
addLinkedRequestAfter, addLinkedRequestBefore, appendUnsupportedHTMLMessage, clone, clone, equals, executeAll, getAnchorName, getBaseField, getBaseRow, getBaseRowCollection, getCurrentURI, getDefaultEndNavigationGroup, getFailMessage, getFeatureLevel, getFirstRequest, getId, getLastRequest, getMagicServletURI, getMagicURI, getRequestAttribute, getRequestParameter, getRequestParameterValues, getSessionAttribute, getSharedSessionAttribute, getSuccessMessage, hasLinkedRequestsAfter, hasLinkedRequestsBefore, isApplicable, isCompleted, isEndNavigationGroup, isPopup, isSaveResults, preexecute, removeRequestAttribute, removeSessionAttribute, removeSharedSessionAttribute, setAnchorName, setBaseField, setBaseRow, setBaseRowCollection, setCompleted, setEndNavigationGroup, setFailMessage, setId, setNextURI, setNextURI, setNextURIs, setPopup, setRequestGroupAttribute, setRequestPageAttribute, setRequestPersistentAttribute, setRequestTransientAttribute, setReturnToRequester, setRowEventListener, setSessionAttribute, setSessionSharedAttribute, setStartNewNavigationGroup, setSuccessMessage
 
Methods inherited from class planetj.html.AbstractHTMLRenderer
append, generate, getDisplayType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface planetj.magic.IMagicRequest
addLinkedRequestAfter, addLinkedRequestBefore, executeAll, getBaseField, getBaseRow, getCurrentURI, getFirstRequest, getId, getLastRequest, getMagicURI, isCompleted, isEndNavigationGroup, isSaveResults, setBaseField, setBaseRow, setRowEventListener
 
Methods inherited from interface planetj.html.IHTMLRenderer
append, generate
 
Methods inherited from interface planetj.dataengine.display.IRenderer
getDisplayType
 
Methods inherited from interface planetj.dataengine.IFeature
appendUnsupportedHTMLMessage, getFeatureLevel, isApplicable
 

Method Detail

execute

public IMagicRequest execute(javax.servlet.http.HttpServletRequest pRequest,
                             javax.servlet.http.HttpServletResponse pResponse,
                             DataEngineServlet pServlet)
                      throws CMException
Execute method comment.

Specified by:
execute in interface IMagicRequest
Specified by:
execute in class AbstractMagicRequest
CMException

getInstance

public static WABDispatcherRequest getInstance(javax.servlet.http.HttpServletRequest req)
Gets an instance of WABDispatcherREquest


getKey

public String getKey()
Return the id used to store this magic request in the session.

Specified by:
getKey in interface IMagicRequest
Overrides:
getKey in class AbstractMagicRequest

getNextURI

public String getNextURI(LayoutDisplayPropertyGroup layoutTemplate)
Get the URI of the next page to call.

Specified by:
getNextURI in interface IMagicRequest
Overrides:
getNextURI in class AbstractMagicRequest

isEndNewNavigationGroup

public boolean isEndNewNavigationGroup()

isReturnToRequester

public boolean isReturnToRequester()
Description copied from interface: IMagicRequest
Returns whether or not the magic request needs to be returned to the requester.

Specified by:
isReturnToRequester in interface IMagicRequest
Overrides:
isReturnToRequester in class AbstractMagicRequest

isStartNewNavigationGroup

public boolean isStartNewNavigationGroup()
Description copied from interface: IMagicRequest
Tests whether or not this magic request needs to start a new navigation group.

Specified by:
isStartNewNavigationGroup in interface IMagicRequest
Overrides:
isStartNewNavigationGroup in class AbstractMagicRequest