planetj.magic
Class RemoveAllRequest
java.lang.Object
planetj.magic.AbstractMagicRequest
planetj.magic.MagicRequest
planetj.magic.RowCollectionRequest
planetj.magic.RemoveAllRequest
- All Implemented Interfaces:
- java.lang.Cloneable, IFeature, IMagicRequest, java.io.Serializable
- public class RemoveAllRequest
- extends RowCollectionRequest
Magic Request to remove all Rows from a RowCollection. The database is not altered.
- See Also:
- Serialized Form
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 |
Constructor Summary |
RemoveAllRequest(java.lang.String pId,
RowCollection pRC,
HttpServletRequest pRequest,
HttpServletResponse pResponse)
Creates a new RemoveAllRequest |
RemoveAllRequest(java.lang.String pId,
java.lang.String pRowCollectionSessionId,
javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse)
Deprecated. You should pass the RC directly instead of its navigation key |
Method Summary |
IMagicRequest |
execute(HttpServletRequest pRequest,
HttpServletResponse pResponse,
DataEngineServlet pServlet)
Removes all Rows from the RowCollection (the database is not altered). |
int |
getFeatureLevel()
Gets the minimum feature level requried to execute this operation |
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, isRepeatable, 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, isRepeatable, isReturnToRequester, isSaveResults, isStartNewNavigationGroup, postExecute, preExecute, setBaseField, setBaseRow, setBaseRowCollection, setEndNavigationGroup, setNextURI, setOverridePrimaryNavigation, setRepeatable, setRowEventListener, setStartNewNavigationGroup |
RemoveAllRequest
public RemoveAllRequest(java.lang.String pId,
java.lang.String pRowCollectionSessionId,
javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse)
- Deprecated. You should pass the RC directly instead of its navigation key
- RemoveAllRequest constructor comment.
- Parameters:
pId
- java.lang.StringpRequest
- javax.servlet.http.HttpServletRequestpResponse
- javax.servlet.http.HttpServletResponsepRowCollectionSessionId
- java.lang.String
RemoveAllRequest
public RemoveAllRequest(java.lang.String pId,
RowCollection pRC,
HttpServletRequest pRequest,
HttpServletResponse pResponse)
- Creates a new RemoveAllRequest
execute
public IMagicRequest execute(HttpServletRequest pRequest,
HttpServletResponse pResponse,
DataEngineServlet pServlet)
throws CMException
- Removes all Rows from the RowCollection (the database is not altered).
- Specified by:
execute
in interface IMagicRequest
- Specified by:
execute
in class AbstractMagicRequest
- Throws:
CMException
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