|
|||||||||||
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.magic.AbstractRowRequest
planetj.magic.InsertRowRequest
!!DA (8/7/2003 6:28:32 PM) documenation needed
Nested Class Summary |
Nested classes inherited from class planetj.dataengine.IFeature |
IFeature.OperationCountFeature |
Field Summary |
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 | |
InsertRowRequest(Row row,
HttpServletRequest request,
HttpServletResponse response)
Constructor comment. |
|
InsertRowRequest(java.lang.String id,
HttpServletRequest req,
HttpServletResponse res,
java.lang.String rowId)
Deprecated. by WK on (11/25/2003 1:43:37 PM) should hold reference to row and not the row key also no need for the id |
Method Summary | |
java.lang.String |
getDataEngineMode()
By default, InsertRowRequests should be in insert mode. |
java.lang.String |
getDefaultUserMessage()
Return the default user message for delete operations. |
boolean |
isRepeatable()
By default RowRequests are not repeatable. |
void |
postInsert(Row row,
int numInserted,
HttpServletRequest request,
HttpServletResponse response)
Method called after insert is attempted. |
Row |
prepareInsertRow(Row row,
HttpServletRequest request,
HttpServletResponse res,
DataEngineServlet ser)
Deprecated. by WK on (8/9/2003 8:16:22 PM) because the HttpServletResponse and DataEngineServlet should never be needed. Made final to ensure that no subclasses override this method thinking their logic will get run. prepareRow is the method called before processing a Row. This method will no longer be available in WOW 7.0. |
Row |
processRow(Row row,
ExecutingContext ec,
HttpServletRequest request,
HttpServletResponse response)
Inserts the given Row into the database. |
Methods inherited from class planetj.magic.AbstractRowRequest |
execute, extractDataIntoRow, getDataEngineRowMode, getDefaultEndNavigationGroup, getExecutingContext, getFeatureLevel, getRow, getRowId, postRowProcess, prepareRow, setUserMessage |
Methods inherited from class planetj.magic.MagicRequest |
getCurrentMagicRequest, getPrimaryMagicRequest, getType, store |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface planetj.dataengine.IFeature |
appendUnsupportedHTMLMessage, isApplicable |
Constructor Detail |
public InsertRowRequest(java.lang.String id, HttpServletRequest req, HttpServletResponse res, java.lang.String rowId)
public InsertRowRequest(Row row, HttpServletRequest request, HttpServletResponse response)
Method Detail |
public java.lang.String getDataEngineMode()
getDataEngineMode
in class AbstractRowRequest
public java.lang.String getDefaultUserMessage()
getDefaultUserMessage
in class AbstractRowRequest
public void postInsert(Row row, int numInserted, HttpServletRequest request, HttpServletResponse response) throws CMException
row
- Row inserted into the databasenumInserted
- number of Rows inserted into the databaserequest
- request from client
CMException
public final Row prepareInsertRow(Row row, HttpServletRequest request, HttpServletResponse res, DataEngineServlet ser) throws CMException
row
- original Row to be insertedrequest
- request from client
CMException
public Row processRow(Row row, ExecutingContext ec, HttpServletRequest request, HttpServletResponse response) throws CMException
processRow
in class AbstractRowRequest
row
- Row to be processed in some mannerec
- current context in which Row should be process during executionrequest
- request from clientresponse
- response to client
CMException
public boolean isRepeatable()
AbstractRowRequest
isRepeatable
in interface IMagicRequest
isRepeatable
in class AbstractRowRequest
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |