planetj.magic
Class RemoveAllRequest
java.lang.Object
|
+--planetj.html.AbstractHTMLRenderer
|
+--planetj.magic.AbstractMagicRequest
|
+--planetj.magic.MagicRequest
|
+--planetj.magic.RowCollectionRequest
|
+--planetj.magic.RemoveAllRequest
- All Implemented Interfaces:
- Cloneable, IFeature, IHTMLRenderer, IMagicRequest, IRenderer, Serializable
- public class RemoveAllRequest
- extends RowCollectionRequest
Magic Request to remove all Rows from a RowCollection. The database is not altered.
- See Also:
- Serialized Form
Constructor Summary |
RemoveAllRequest(String pId,
RowCollection pRC,
javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse)
Creates a new RemoveAllRequest |
RemoveAllRequest(String pId,
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(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.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, clone, clone, equals, executeAll, getAnchorName, getBaseField, getBaseRow, getBaseRowCollection, getCurrentURI, getDefaultEndNavigationGroup, getFailMessage, getFirstRequest, getId, getKey, getLastRequest, getMagicServletURI, getMagicURI, getNextURI, 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 interface planetj.magic.IMagicRequest |
addLinkedRequestAfter, addLinkedRequestBefore, executeAll, getBaseField, getBaseRow, getCurrentURI, getFirstRequest, getId, getKey, getLastRequest, getMagicURI, getNextURI, isCompleted, isEndNavigationGroup, isReturnToRequester, isSaveResults, isStartNewNavigationGroup, setBaseField, setBaseRow, setRowEventListener |
RemoveAllRequest
public RemoveAllRequest(String pId,
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(String pId,
RowCollection pRC,
javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse)
- Creates a new RemoveAllRequest
execute
public IMagicRequest execute(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.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
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