|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectplanetj.magic.AbstractMagicRequest
planetj.magic.MagicRequest
planetj.dataexplorer.RunSQLRequest
Class that can be used to extract SQL given by a user and run the SQL against a chosen connection to view results.
| 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 | |
RunSQLRequest(HttpServletRequest request,
HttpServletResponse response)
Constructor. |
|
| Method Summary | |
IMagicRequest |
execute(HttpServletRequest request,
HttpServletResponse resuest,
DataEngineServlet servlet)
Execute method comment. |
int |
getUserEnteredRowCount(HttpServletRequest request)
Get the row count entered by the user. |
java.lang.String |
getUserEnteredSQL(HttpServletRequest request)
Get the SQL entered by the user. |
java.lang.String |
getUserSelectedSystem(HttpServletRequest request)
Get the current system selected by user. |
| Methods inherited from class planetj.magic.MagicRequest |
getCurrentMagicRequest, getPrimaryMagicRequest, getType, store |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface planetj.dataengine.IFeature |
appendUnsupportedHTMLMessage, getFeatureLevel, isApplicable |
| Constructor Detail |
public RunSQLRequest(HttpServletRequest request,
HttpServletResponse response)
| Method Detail |
public IMagicRequest execute(HttpServletRequest request,
HttpServletResponse resuest,
DataEngineServlet servlet)
throws CMException
AbstractMagicRequest
execute in interface IMagicRequestexecute in class AbstractMagicRequestCMExceptionpublic int getUserEnteredRowCount(HttpServletRequest request)
public java.lang.String getUserEnteredSQL(HttpServletRequest request)
public java.lang.String getUserSelectedSystem(HttpServletRequest request)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||