planetj.dataengine.application.magic
Class DirectOperationRequest

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

public class DirectOperationRequest
extends MagicRequest

Contains information identifying a SQLOperation

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class planetj.dataengine.IFeature
IFeature.OperationCountFeature
 
Field Summary
static String SESSION_ID
           
 
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
 
Constructor Summary
DirectOperationRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          MagicRequest constructor comment.
 
Method Summary
 IMagicRequest execute(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, DataEngineServlet deservlet)
          Execute method comment.
 String getDisplayMode()
          Gets the mode in which the Operation should be displayed
 String getExecutionMode()
          Gets if the operation should be immediately executed
 String getMetadataAlias()
          Gets the alias of the system on which the Operation resides
 Operation getOperation()
          Gets the Operation in question
 int getOperationId()
          Gets the ID of the requested Operation
 boolean processOutputClass(Operation op, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Process output class parameter.
 
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, getKey, getLastRequest, getMagicServletURI, getMagicURI, getNextURI, getRequestAttribute, getRequestParameter, getRequestParameterValues, getSessionAttribute, getSharedSessionAttribute, getSuccessMessage, hasLinkedRequestsAfter, hasLinkedRequestsBefore, isApplicable, isCompleted, isEndNavigationGroup, isPopup, isReturnToRequester, isSaveResults, isStartNewNavigationGroup, 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, getKey, getLastRequest, getMagicURI, getNextURI, isCompleted, isEndNavigationGroup, isReturnToRequester, isSaveResults, isStartNewNavigationGroup, 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
 

Field Detail

SESSION_ID

public static final String SESSION_ID
Constructor Detail

DirectOperationRequest

public DirectOperationRequest(javax.servlet.http.HttpServletRequest req,
                              javax.servlet.http.HttpServletResponse res)
MagicRequest constructor comment.

Method Detail

execute

public IMagicRequest execute(javax.servlet.http.HttpServletRequest req,
                             javax.servlet.http.HttpServletResponse res,
                             DataEngineServlet deservlet)
                      throws CMException
Description copied from class: AbstractMagicRequest
Execute method comment.

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

getDisplayMode

public final String getDisplayMode()
Gets the mode in which the Operation should be displayed


getExecutionMode

public String getExecutionMode()
Gets if the operation should be immediately executed


getMetadataAlias

public final String getMetadataAlias()
Gets the alias of the system on which the Operation resides


getOperation

public Operation getOperation()
                       throws CMException
Gets the Operation in question

CMException

getOperationId

public final int getOperationId()
Gets the ID of the requested Operation


processOutputClass

public boolean processOutputClass(Operation op,
                                  javax.servlet.http.HttpServletRequest req,
                                  javax.servlet.http.HttpServletResponse res)
                           throws CMException
Process output class parameter.

CMException