planetj.dataengine.application.magic
Class SaveSQLToSQLOperationRequest

java.lang.Object
  extended byplanetj.magic.AbstractMagicRequest
      extended byplanetj.magic.MagicRequest
          extended byplanetj.dataengine.application.magic.SaveSQLToSQLOperationRequest
All Implemented Interfaces:
IFeature, IMagicRequest, java.io.Serializable

public class SaveSQLToSQLOperationRequest
extends MagicRequest

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class planetj.dataengine.IFeature
IFeature.OperationCountFeature
 
Field Summary
 
Fields inherited from class planetj.magic.AbstractMagicRequest
mNextURI
 
Fields inherited from interface planetj.magic.IMagicRequest
IS_COMPLETE, MAGIC_REQUEST, MAGIC_REQUEST_CLASS, MAGIC_REQUEST_PARAM1, MAGIC_REQUEST_RC, SAME_URI, TYPE, TYPE_PAGE, TYPE_SESSION, TYPE_STATIC, USER_REQUEST_ATTRIBUTES_STORED
 
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(HttpServletRequest pRequest, HttpServletResponse pResponse, Application pApplication)
          SaveSQLRequest constructor comment.
SaveSQLToSQLOperationRequest(java.lang.String pId, HttpServletRequest pRequest, HttpServletResponse pResponse, Application pApplication)
          Deprecated. - id no longer needed in constructor
 
Method Summary
 SQLOperation createSQLOperation(HttpServletRequest req)
           
 IMagicRequest execute(HttpServletRequest request, HttpServletResponse response, DataEngineServlet pServlet)
          Execute method comment.
 Application getApplication()
           
 int getFeatureLevel()
          Gets the minimum feature level requried to execute this operation
 java.lang.String getSQLOperationLabel(HttpServletRequest request)
           
 java.lang.String getSQLOperationLabelParameter()
           
 java.lang.String getSQLString(HttpServletRequest request)
           
 java.lang.String getSQLStringParameter()
           
 void setApplication(Application pApplication)
           
 void setSQLOperationLabel(java.lang.String pSQLOperationLabel)
           
 void setSQLOperationLabelParameter(java.lang.String pSQLOperationLabelParameter)
           
 void setSQLString(java.lang.String pSQLString)
           
 void setSQLStringParameter(java.lang.String pSQLStringParameter)
           
 void storeSQLInUserProperties(HttpServletRequest request)
           
 
Methods inherited from class planetj.magic.MagicRequest
getCurrentMagicRequest, getPrimaryMagicRequest, getType, store
 
Methods inherited from class planetj.magic.AbstractMagicRequest
addLinkedRequestAfter, addLinkedRequestBefore, appendUnsupportedHTMLMessage, changeMode, clone, clone, convertId, equals, executeAll, getAnchorName, getBaseField, getBaseRow, getBaseRowCollection, getCurrentURI, getDefaultEndNavigationGroup, getDefaultPageType, getFailMessage, getFeature, getFirstRequest, getId, getKey, getLastRequest, getMagicRequestParameter, getMagicServletURI, getMagicURI, getNextURI, getNextURI, getPleaseWaitJSP, getPleaseWaitOperation, getRequestAttribute, getRequestParameter, getRequestParameterValues, getRowEventListener, getSessionAttribute, getSharedSessionAttribute, getSuccessMessage, getTemplateURI, getWaitingServlet, handlePleaseWait, hasLinkedRequestsAfter, hasLinkedRequestsBefore, isApplicable, isCompleted, isEndNavigationGroup, isLoadParameterValuesFromRequest, isOverridePrimaryNavigation, isPleaseWait, isPopup, isRepeatable, isReturnToRequester, isSaveResults, isStartNewNavigationGroup, postexecute, postExecute, preexecute, preExecute, processPleaseWait, removeRequestAttribute, removeSessionAttribute, removeSharedSessionAttribute, setAnchorName, setBaseField, setBaseRow, setBaseRowCollection, setCompleted, setEndNavigationGroup, setFailMessage, setId, setIdInternal, setLoadParameterValuesFromRequest, setNextURI, setNextURI, setNextURI, setNextURIs, setOverridePrimaryNavigation, setPopup, setRepeatable, setRequestGroupAttribute, setRequestPageAttribute, setRequestPersistentAttribute, setRequestTransientAttribute, setReturnToRequester, setRowEventListener, setSessionAttribute, setSessionSharedAttribute, setStartNewNavigationGroup, setSuccessMessage
 
Methods inherited from class java.lang.Object
equals, finalize, 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, getMagicRequestParameter, getMagicURI, getNextURI, isCompleted, isEndNavigationGroup, isOverridePrimaryNavigation, isRepeatable, isReturnToRequester, isSaveResults, isStartNewNavigationGroup, postExecute, preExecute, setBaseField, setBaseRow, setBaseRowCollection, setEndNavigationGroup, setNextURI, setOverridePrimaryNavigation, setRepeatable, setRowEventListener, setStartNewNavigationGroup
 
Methods inherited from interface planetj.dataengine.IFeature
appendUnsupportedHTMLMessage, isApplicable
 

Constructor Detail

SaveSQLToSQLOperationRequest

public SaveSQLToSQLOperationRequest(HttpServletRequest pRequest,
                                    HttpServletResponse pResponse,
                                    Application pApplication)
SaveSQLRequest constructor comment.

Parameters:
pRequest - javax.servlet.http.HttpServletRequest
pResponse - javax.servlet.http.HttpServletResponse

SaveSQLToSQLOperationRequest

public SaveSQLToSQLOperationRequest(java.lang.String pId,
                                    HttpServletRequest pRequest,
                                    HttpServletResponse pResponse,
                                    Application pApplication)
Deprecated. - id no longer needed in constructor

SaveSQLRequest constructor comment.

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

createSQLOperation

public SQLOperation createSQLOperation(HttpServletRequest req)
                                throws CMException
Throws:
CMException

execute

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

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

getApplication

public Application getApplication()

getSQLOperationLabel

public java.lang.String getSQLOperationLabel(HttpServletRequest request)
                                      throws DataEngineException
Throws:
DataEngineException

getSQLOperationLabelParameter

public java.lang.String getSQLOperationLabelParameter()

getSQLString

public java.lang.String getSQLString(HttpServletRequest request)

getSQLStringParameter

public java.lang.String getSQLStringParameter()

setApplication

public void setApplication(Application pApplication)

setSQLOperationLabel

public void setSQLOperationLabel(java.lang.String pSQLOperationLabel)

setSQLOperationLabelParameter

public void setSQLOperationLabelParameter(java.lang.String pSQLOperationLabelParameter)

setSQLString

public void setSQLString(java.lang.String pSQLString)

setSQLStringParameter

public void setSQLStringParameter(java.lang.String pSQLStringParameter)

storeSQLInUserProperties

public void storeSQLInUserProperties(HttpServletRequest request)
                              throws DataEngineException
Throws:
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