planetj.dataengine.application.magic
Class SaveSQLToSQLOperationRequest

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

public class SaveSQLToSQLOperationRequest
extends MagicRequest

Author:
PlanetJ Corporation
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
 
Constructor Summary
SaveSQLToSQLOperationRequest(String pId, javax.servlet.http.HttpServletRequest pRequest, javax.servlet.http.HttpServletResponse pResponse, Application pApplication)
          SaveSQLRequest constructor comment.
 
Method Summary
 SQLOperation createSQLOperation(javax.servlet.http.HttpServletRequest req)
           
 IMagicRequest execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DataEngineServlet pServlet)
          Execute method comment.
 Application getApplication()
           
 int getFeatureLevel()
          Gets the minimum feature level requried to execute this operation
 String getSQLOperationLabel(javax.servlet.http.HttpServletRequest request)
           
 String getSQLOperationLabelParameter()
           
 String getSQLString(javax.servlet.http.HttpServletRequest request)
           
 String getSQLStringParameter()
           
 void setApplication(Application pApplication)
           
 void setSQLOperationLabel(String pSQLOperationLabel)
           
 void setSQLOperationLabelParameter(String pSQLOperationLabelParameter)
           
 void setSQLString(String pSQLString)
           
 void setSQLStringParameter(String pSQLStringParameter)
           
 void storeSQLInUserProperties(javax.servlet.http.HttpServletRequest request)
           
 
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, 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, isApplicable
 

Constructor Detail

SaveSQLToSQLOperationRequest

public SaveSQLToSQLOperationRequest(String pId,
                                    javax.servlet.http.HttpServletRequest pRequest,
                                    javax.servlet.http.HttpServletResponse pResponse,
                                    Application pApplication)
SaveSQLRequest constructor comment.

Parameters:
pId - java.lang.String
pRequest - javax.servlet.http.HttpServletRequest
pResponse - javax.servlet.http.HttpServletResponse
Method Detail

createSQLOperation

public SQLOperation createSQLOperation(javax.servlet.http.HttpServletRequest req)
                                throws CMException
CMException

execute

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

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

getApplication

public Application getApplication()

getSQLOperationLabel

public String getSQLOperationLabel(javax.servlet.http.HttpServletRequest request)
                            throws DataEngineException
DataEngineException

getSQLOperationLabelParameter

public String getSQLOperationLabelParameter()

getSQLString

public String getSQLString(javax.servlet.http.HttpServletRequest request)

getSQLStringParameter

public String getSQLStringParameter()

setApplication

public void setApplication(Application pApplication)

setSQLOperationLabel

public void setSQLOperationLabel(String pSQLOperationLabel)

setSQLOperationLabelParameter

public void setSQLOperationLabelParameter(String pSQLOperationLabelParameter)

setSQLString

public void setSQLString(String pSQLString)

setSQLStringParameter

public void setSQLStringParameter(String pSQLStringParameter)

storeSQLInUserProperties

public void storeSQLInUserProperties(javax.servlet.http.HttpServletRequest request)
                              throws DataEngineException
DataEngineException

getFeatureLevel

public int getFeatureLevel()
Gets the minimum feature level requried to execute this operation

Specified by:
getFeatureLevel in interface IFeature
Overrides:
getFeatureLevel in class AbstractMagicRequest