planetj.dataexplorer
Class CopyResultsRequest

java.lang.Object
  extended byplanetj.magic.AbstractMagicRequest
      extended byplanetj.magic.MagicRequest
          extended byplanetj.dataexplorer.CopyResultsRequest
All Implemented Interfaces:
java.lang.Cloneable, IFeature, IMagicRequest, java.io.Serializable

public class CopyResultsRequest
extends MagicRequest
implements java.lang.Cloneable

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
CopyResultsRequest(HttpServletRequest request, HttpServletResponse response)
          CopyRCToTableRequest constructor.
 
Method Summary
 IMagicRequest execute(HttpServletRequest request, HttpServletResponse response, DataEngineServlet servlet)
          This method copies the row collection to the library and table specified in the JSP.
 java.lang.String getUserEnteredSQL(HttpServletRequest request)
          Get the SQL entered by the user.
 java.lang.String getUserEnteredToLibrary(HttpServletRequest request)
          Get the current system selected by user.
 java.lang.String getUserEnteredToTable(HttpServletRequest request)
          Get the current system selected by user.
 java.lang.String getUserSelectedFromSystem(HttpServletRequest request)
          Get the current system selected by user.
 java.lang.String getUserSelectedToSystem(HttpServletRequest request)
          Get the current system selected by user.
 boolean isBatchInsert(HttpServletRequest req)
          Is batch insert used?
 
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, getFeatureLevel, 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, getFeatureLevel, isApplicable
 

Constructor Detail

CopyResultsRequest

public CopyResultsRequest(HttpServletRequest request,
                          HttpServletResponse response)
CopyRCToTableRequest constructor.

Method Detail

execute

public IMagicRequest execute(HttpServletRequest request,
                             HttpServletResponse response,
                             DataEngineServlet servlet)
                      throws CMException
This method copies the row collection to the library and table specified in the JSP.

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

getUserEnteredSQL

public java.lang.String getUserEnteredSQL(HttpServletRequest request)
Get the SQL entered by the user.


getUserEnteredToLibrary

public java.lang.String getUserEnteredToLibrary(HttpServletRequest request)
Get the current system selected by user.


getUserEnteredToTable

public java.lang.String getUserEnteredToTable(HttpServletRequest request)
Get the current system selected by user.


getUserSelectedFromSystem

public java.lang.String getUserSelectedFromSystem(HttpServletRequest request)
Get the current system selected by user.


getUserSelectedToSystem

public java.lang.String getUserSelectedToSystem(HttpServletRequest request)
Get the current system selected by user.


isBatchInsert

public boolean isBatchInsert(HttpServletRequest req)
Is batch insert used?