planetj.magic
Class AddRowToRCRequest

java.lang.Object
  extended byplanetj.magic.AbstractMagicRequest
      extended byplanetj.magic.MagicRequest
          extended byplanetj.magic.AbstractRowRequest
              extended byplanetj.magic.AddRowToRCRequest
All Implemented Interfaces:
IFeature, IMagicRequest, java.io.Serializable

public class AddRowToRCRequest
extends AbstractRowRequest

Author:
Justin
See Also:
Serialized Form

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
AddRowToRCRequest(Row row, HttpServletRequest request, HttpServletResponse response)
           
 
Method Summary
 java.lang.String getDataEngineMode()
          I guess we're in insert mode...
 java.lang.String getDefaultUserMessage()
          Return the default user message
 RowCollection getRowCollection()
          Gets the RC into which the row will be inserted
 Row processRow(Row row, ExecutingContext ec, HttpServletRequest request, HttpServletResponse response)
          Subclasses should provide logic in this method to handle necessary processing of the Row.
 void setRowCollection(RowCollection collection)
          Sets the RC into which the row will be inserted
 
Methods inherited from class planetj.magic.AbstractRowRequest
execute, extractDataIntoRow, getDataEngineRowMode, getDefaultEndNavigationGroup, getExecutingContext, getFeatureLevel, getRow, getRowId, isRepeatable, postRowProcess, prepareRow, setUserMessage
 
Methods inherited from class planetj.magic.MagicRequest
getCurrentMagicRequest, getPrimaryMagicRequest, getType, store
 
Methods inherited from class planetj.magic.AbstractMagicRequest
addLinkedRequestAfter, addLinkedRequestBefore, appendUnsupportedHTMLMessage, changeMode, clone, clone, equals, executeAll, getAnchorName, getBaseField, getBaseRow, getBaseRowCollection, getCurrentURI, getDefaultPageType, getFailMessage, getFirstRequest, getId, getKey, getLastRequest, getMagicRequestParameter, getMagicServletURI, getMagicURI, getNextURI, getPleaseWaitJSP, getPleaseWaitOperation, getRequestAttribute, getRequestParameter, getRequestParameterValues, getSessionAttribute, getSharedSessionAttribute, getSuccessMessage, hasLinkedRequestsAfter, hasLinkedRequestsBefore, isApplicable, isCompleted, isEndNavigationGroup, isLoadParameterValuesFromRequest, isOverridePrimaryNavigation, isPleaseWait, isPopup, isReturnToRequester, isSaveResults, isStartNewNavigationGroup, postexecute, postExecute, preexecute, preExecute, processPleaseWait, removeRequestAttribute, removeSessionAttribute, removeSharedSessionAttribute, setAnchorName, setBaseField, setBaseRow, setBaseRowCollection, setCompleted, setEndNavigationGroup, setFailMessage, setId, 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, 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, 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

AddRowToRCRequest

public AddRowToRCRequest(Row row,
                         HttpServletRequest request,
                         HttpServletResponse response)
Method Detail

getDataEngineMode

public java.lang.String getDataEngineMode()
I guess we're in insert mode...

Specified by:
getDataEngineMode in class AbstractRowRequest
Returns:
mode request should run in

getDefaultUserMessage

public java.lang.String getDefaultUserMessage()
Return the default user message

Specified by:
getDefaultUserMessage in class AbstractRowRequest
Returns:
String

getRowCollection

public RowCollection getRowCollection()
Gets the RC into which the row will be inserted


processRow

public Row processRow(Row row,
                      ExecutingContext ec,
                      HttpServletRequest request,
                      HttpServletResponse response)
               throws CMException
Subclasses should provide logic in this method to handle necessary processing of the Row.

Specified by:
processRow in class AbstractRowRequest
Parameters:
row - Row to be processed in some manner
ec - current context in which Row should be process during execution
request - request from client
response - response to client
Returns:
processed Row
Throws:
CMException

setRowCollection

public void setRowCollection(RowCollection collection)
Sets the RC into which the row will be inserted