|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.html.AbstractHTMLRenderer | +--planetj.magic.AbstractMagicRequest | +--planetj.magic.MagicRequest | +--planetj.magic.AbstractRowRequest
!!DA (8/7/2003 6:28:32 PM) documenation needed
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 | |
AbstractRowRequest(Row row,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Constructor comment |
|
AbstractRowRequest(String id,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String rowId)
Deprecated. by WK on (11/25/2003 1:39:53 PM) should pass in Row acting request on |
Method Summary | |
IMagicRequest |
execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
DataEngineServlet pServlet)
execute method comment. |
Row |
extractDataIntoRow(javax.servlet.http.HttpServletRequest request)
Gets the Row out of the request and extracts data from the request into it. |
abstract String |
getDataEngineMode()
Gets the mode the this magic request should be in when running. |
abstract int |
getDataEngineRowMode()
Gets the mode int that this magic request should be in when running. |
boolean |
getDefaultEndNavigationGroup()
By default RowRequests end the current navigation group. |
abstract String |
getDefaultUserMessage()
Return the default user message after successful execution of this request. |
ExecutingContext |
getExecutingContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Gets the ExecutingContext to use. |
int |
getFeatureLevel()
Gets the minimum feature level requried to execute this operation |
Row |
getRow(javax.servlet.http.HttpServletRequest request)
Gets the Row out of the request. |
String |
getRowId()
Gets the id of the Row in the session. |
void |
postRowProcess(Row row,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Method called after this RowRequest executes. |
Row |
prepareRow(Row row,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Prepares this Row to be processed by this RowRequest. |
abstract Row |
processRow(Row row,
ExecutingContext ec,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Subclasses should provide logic in this method to handle necessary processing of the Row. |
void |
setUserMessage(Row row,
int pCount,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Set the message the user will see after execution of this request. |
Methods inherited from class planetj.magic.MagicRequest |
getType, store |
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, getNextURI, 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, isApplicable |
Constructor Detail |
public AbstractRowRequest(String id, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, String rowId)
public AbstractRowRequest(Row row, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Method Detail |
public final IMagicRequest execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DataEngineServlet pServlet) throws CMException
execute
in interface IMagicRequest
execute
in class AbstractMagicRequest
request
- javax.servlet.http.HttpServletRequestresponse
- javax.servlet.http.HttpServletResponse
CMException
public Row extractDataIntoRow(javax.servlet.http.HttpServletRequest request) throws CMException
request
- request from the client
CMException
public abstract String getDataEngineMode()
public abstract int getDataEngineRowMode()
Row
public boolean getDefaultEndNavigationGroup()
getDefaultEndNavigationGroup
in class AbstractMagicRequest
public abstract String getDefaultUserMessage()
public ExecutingContext getExecutingContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws CMException
request
- request from the client
CMException
public int getFeatureLevel()
getFeatureLevel
in interface IFeature
getFeatureLevel
in class AbstractMagicRequest
public Row getRow(javax.servlet.http.HttpServletRequest request)
public String getRowId()
public void postRowProcess(Row row, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws CMException
row
- Row to be processed in some mannerrequest
- request from clientresponse
- response to client
CMException
public Row prepareRow(Row row, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws CMException
CMException
public abstract Row processRow(Row row, ExecutingContext ec, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws CMException
row
- Row to be processed in some mannerec
- current context in which Row should be process during executionrequest
- request from clientresponse
- response to client
CMException
public void setUserMessage(Row row, int pCount, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws CMException
row
- Row to be processed in some mannerrequest
- request from clientresponse
- response to client
CMException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |