planetj.magic
Class DeleteRequest

java.lang.Object
  |
  +--planetj.html.AbstractHTMLRenderer
        |
        +--planetj.magic.AbstractMagicRequest
              |
              +--planetj.magic.MagicRequest
                    |
                    +--planetj.magic.DeleteRequest
All Implemented Interfaces:
IFeature, IHTMLRenderer, IMagicRequest, IRenderer, Serializable

public class DeleteRequest
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 class planetj.html.AbstractHTMLRenderer
className
 
Fields inherited from interface planetj.magic.IMagicRequest
IS_COMPLETE, MAGIC_REQUEST, MAGIC_REQUEST_PARAM1, MAGIC_REQUEST_RC, SAME_URI, TYPE, TYPE_PAGE, TYPE_SESSION, TYPE_STATIC, USER_REQUEST_ATTRIBUTES_STORED
 
Fields inherited from interface planetj.html.IHTMLRenderer
HTML
 
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
DeleteRequest(String pId, javax.servlet.http.HttpServletRequest pRequest, javax.servlet.http.HttpServletResponse pResponse, String pObjectId, boolean pAllowMultipleDeletes)
          DeleteRequest constructor comment.
 
Method Summary
 IMagicRequest execute(javax.servlet.http.HttpServletRequest pRequest, javax.servlet.http.HttpServletResponse pResponse, DataEngineServlet pServlet)
          Deletes the object in the session for the specified id in the constructor.
 IFeature getFeature()
          Gets the edit feature
 String getNextURI(LayoutDisplayPropertyGroup layoutTemplate)
          WK (8/23/2002 3:43:43 PM) temporarily override super to allow navigation to go back
 String getObjectId()
          Gets the id of the object in the session to update.
 boolean isAllowMultipleDelete()
          Indicates if multiple record deletes are allowed.
 
Methods inherited from class planetj.magic.MagicRequest
getType, store
 
Methods inherited from class planetj.magic.AbstractMagicRequest
addLinkedRequestAfter, addLinkedRequestBefore, appendUnsupportedHTMLMessage, clone, clone, equals, executeAll, getAnchorName, getBaseField, getBaseRow, getBaseRowCollection, getCurrentURI, getDefaultEndNavigationGroup, getFailMessage, getFeatureLevel, getFirstRequest, getId, getKey, getLastRequest, getMagicServletURI, getMagicURI, getRequestAttribute, getRequestParameter, getRequestParameterValues, getSessionAttribute, getSharedSessionAttribute, getSuccessMessage, hasLinkedRequestsAfter, hasLinkedRequestsBefore, isApplicable, isCompleted, isEndNavigationGroup, isPopup, isReturnToRequester, isSaveResults, isStartNewNavigationGroup, preexecute, removeRequestAttribute, removeSessionAttribute, removeSharedSessionAttribute, setAnchorName, setBaseField, setBaseRow, setBaseRowCollection, setCompleted, setEndNavigationGroup, setFailMessage, setId, setNextURI, setNextURI, setNextURIs, setPopup, setRequestGroupAttribute, setRequestPageAttribute, setRequestPersistentAttribute, setRequestTransientAttribute, setReturnToRequester, setRowEventListener, setSessionAttribute, setSessionSharedAttribute, setStartNewNavigationGroup, setSuccessMessage
 
Methods inherited from class planetj.html.AbstractHTMLRenderer
append, generate, getDisplayType
 
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, getMagicURI, isCompleted, isEndNavigationGroup, isReturnToRequester, isSaveResults, isStartNewNavigationGroup, setBaseField, setBaseRow, setRowEventListener
 
Methods inherited from interface planetj.html.IHTMLRenderer
append, generate
 
Methods inherited from interface planetj.dataengine.display.IRenderer
getDisplayType
 
Methods inherited from interface planetj.dataengine.IFeature
appendUnsupportedHTMLMessage, getFeatureLevel, isApplicable
 

Constructor Detail

DeleteRequest

public DeleteRequest(String pId,
                     javax.servlet.http.HttpServletRequest pRequest,
                     javax.servlet.http.HttpServletResponse pResponse,
                     String pObjectId,
                     boolean pAllowMultipleDeletes)
DeleteRequest constructor comment.

Parameters:
pId - key used to store this request in the session
pRequest - request
pResponse - response
pAllowMultipleDeletes - boolean
Method Detail

execute

public IMagicRequest execute(javax.servlet.http.HttpServletRequest pRequest,
                             javax.servlet.http.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
CMException

getFeature

public IFeature getFeature()
Gets the edit feature

Overrides:
getFeature in class AbstractMagicRequest

getNextURI

public String getNextURI(LayoutDisplayPropertyGroup layoutTemplate)
WK (8/23/2002 3:43:43 PM) temporarily override super to allow navigation to go back

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

getObjectId

public String getObjectId()
Gets the id of the object in the session to update.

Returns:
id of the object in the session to update

isAllowMultipleDelete

public boolean isAllowMultipleDelete()
Indicates if multiple record deletes are allowed.

Returns:
boolean