planetj.magic
Class UpdateRequest
java.lang.Object
planetj.magic.AbstractMagicRequest
planetj.magic.MagicRequest
planetj.magic.UpdateRequest
- All Implemented Interfaces:
- IFeature, IMagicRequest, java.io.Serializable
- public class UpdateRequest
- extends MagicRequest
- Author:
- PlanetJ Corporation
- 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 |
UpdateRequest(java.lang.String pId,
HttpServletRequest pRequest,
HttpServletResponse pResponse,
java.lang.String pObjectId)
UpdateRequest constructor comment. |
Method Summary |
IMagicRequest |
execute(HttpServletRequest request,
HttpServletResponse response,
DataEngineServlet pServlet)
Updates the Row or RowCollection in the session with the specified id in the constructor. |
int |
getFeatureLevel()
Gets the minimum feature level requried to execute this operation |
java.lang.String |
getNextURI(LayoutDisplayPropertyGroup layoutTemplate)
WK (8/23/2002 3:43:43 PM) temporarily override super to allow navigation to
go back |
boolean |
isNextPreviousAllowed()
Tests if rows edited via this request may have next & previous buttons for going to other rows in the
edited row's row collection. |
boolean |
isRepeatable()
Is this request repeatable. |
void |
setNextPreviousAllowed(boolean np)
Sets if rows edited via this request may have next & previous buttons for going to other rows in the
edited row's row collection. |
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, 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, isCompleted, isEndNavigationGroup, isOverridePrimaryNavigation, isReturnToRequester, isSaveResults, isStartNewNavigationGroup, postExecute, preExecute, setBaseField, setBaseRow, setBaseRowCollection, setEndNavigationGroup, setNextURI, setOverridePrimaryNavigation, setRepeatable, setRowEventListener, setStartNewNavigationGroup |
UpdateRequest
public UpdateRequest(java.lang.String pId,
HttpServletRequest pRequest,
HttpServletResponse pResponse,
java.lang.String pObjectId)
- UpdateRequest constructor comment.
- Parameters:
pRequest
- requestpResponse
- response
execute
public IMagicRequest execute(HttpServletRequest request,
HttpServletResponse response,
DataEngineServlet pServlet)
throws CMException
- Updates the Row or RowCollection in the session with the specified id in the constructor.
- Specified by:
execute
in interface IMagicRequest
- Specified by:
execute
in class AbstractMagicRequest
- Parameters:
request
- requestresponse
- response
- Throws:
CMException
getNextURI
public java.lang.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
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
isNextPreviousAllowed
public boolean isNextPreviousAllowed()
- Tests if rows edited via this request may have next & previous buttons for going to other rows in the
edited row's row collection. The default is true.
Example: DisplayDetails{nextAndPrevious:false;}
setNextPreviousAllowed
public void setNextPreviousAllowed(boolean np)
- Sets if rows edited via this request may have next & previous buttons for going to other rows in the
edited row's row collection. The default is true.