planetj.magic
Class DeleteRowCollectionRequest

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

public class DeleteRowCollectionRequest
extends MagicRequest

Author:
PlanetJ Corporation
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
DeleteRowCollectionRequest(java.lang.String pId, HttpServletRequest pRequest, HttpServletResponse pResponse, java.lang.String pRowCollectionSessionId)
          DeleteRowCollectionRequest constructor comment.
 
Method Summary
 IMagicRequest execute(HttpServletRequest pRequest, HttpServletResponse pResponse, DataEngineServlet pServlet)
          Deletes the object in the session for the specified id in the constructor.
 int getFeatureLevel()
          Gets the minimum feature level requried to execute this operation
 java.lang.String getRowCollectionSessionId()
          Gets the key for the RowCollection stored in the session.
 boolean isAllowMultipleDeletes(HttpServletRequest pRequest)
           
 boolean isRepeatable()
          Is this request repeatable.
 void setRowCollectionSessionId(java.lang.String pRowCollectionSessionId)
          Sets the key for the RowCollection stored in the session.
 
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, getDefaultEndNavigationGroup, 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

DeleteRowCollectionRequest

public DeleteRowCollectionRequest(java.lang.String pId,
                                  HttpServletRequest pRequest,
                                  HttpServletResponse pResponse,
                                  java.lang.String pRowCollectionSessionId)
DeleteRowCollectionRequest constructor comment.

Method Detail

execute

public IMagicRequest execute(HttpServletRequest pRequest,
                             HttpServletResponse pResponse,
                             DataEngineServlet pServlet)
                      throws CMException
Deletes the object in the session for the specified id in the constructor.

Specified by:
execute in interface IMagicRequest
Specified by:
execute in class AbstractMagicRequest
Parameters:
pRequest - request
pResponse - response
Throws:
CMException

getRowCollectionSessionId

public java.lang.String getRowCollectionSessionId()
Gets the key for the RowCollection stored in the session.

Returns:
String

isAllowMultipleDeletes

public boolean isAllowMultipleDeletes(HttpServletRequest pRequest)
                               throws DataEngineException
Throws:
DataEngineException

setRowCollectionSessionId

public void setRowCollectionSessionId(java.lang.String pRowCollectionSessionId)
Sets the key for the RowCollection stored in the session.

Parameters:
pRowCollectionSessionId -

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

isRepeatable

public boolean isRepeatable()
Is this request repeatable. For instance we don't want to repeat inserts, but it is ok to repeat refreshes Creation date: (6/10/2003 12:15:05 PM)

Specified by:
isRepeatable in interface IMagicRequest
Overrides:
isRepeatable in class AbstractMagicRequest