protected class MainPagingServlet.Context extends MainServlet.Context implements PagingServletContext
MainServlet.Context and adds variables unique to
this servlet.| Modifier and Type | Field and Description |
|---|---|
protected int |
listSize
The number of records in the list being processed.
|
int |
pageNum
The current page number being processed.
|
protected int |
pageSize
The maximum number of records that can be displayed on a page.
|
private static long |
serialVersionUID
The class' serialization version id.
|
errCode, errField, errMessage, mpBldListOnly, mpExternalReq, mpPreviousList, mpPreviousPath, mpRedirectURL, mpRevisedList, mpRevisedPath, mpSelectedCode, mpSelectedIdx, mpSelectedObj, mpSelectedSamenextURL, reqDbConnectInfo, sessionCart, sessionLogon, sessionSecProfile, sessionUser, sessionUserSfi, thisURLrequest, requestBrowser, requestFlag, response, responseFlag, session, sessionNextURL, templateData| Modifier | Constructor and Description |
|---|---|
protected |
Context(javax.servlet.http.HttpServletRequest rqst,
javax.servlet.http.HttpServletResponse resp)
Constructs a new
Context. |
| Modifier and Type | Method and Description |
|---|---|
int |
getConfigMaxPages()
Returns the configured maximum number of pages.
|
int |
getConfigMinPerPage()
Returns the configured minimum records per page.
|
int |
getListSize()
Returns the size of the list being processed (the number of records in
the list being processed.
|
int |
getPageNum()
Returns the current page number being processed.
|
int |
getPageSize()
Returns the size of a page (the maximum number of records that can be
displayed on a page).
|
void |
setListSize(int value)
Sets the size of the list being processed (the number of records in
the list being processed.
|
void |
setPageNum(int value)
Sets the current page number being processed.
|
void |
setPageSize(int value)
Sets the size of a page (the maximum number of records that can be
displayed on a page).
|
getCatalogVerifier, getDbConnection, getDbConnectionInfo, getDbController, getDbObject, getFavoritesHandler, getInterface, getLogonUser, getServletRequest, getServletStack, getShoppingCart, getShoppingProfile, getShoppingUser, getSiteActivity, getUomHandler, isCustAdmin, isDefaultUser, isLoggedOn, isPermitActive, isRetail, isSfiSelect, isSfiShopping, isShopping, isSiteAdmin, isWholesale, setLogonUserdelAttr, getAttr, getAttrBigDecimal, getAttrBoolean, getAttrDouble, getAttrInteger, getAttrLong, getAttrString, getParam, getParamBigDecimal, getParamDate, getParamDouble, getParamInteger, getParamLong, getParams, getParamString, getRequest, getResponse, getSession, isPost, setAttrclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelAttr, getAttr, getAttrBigDecimal, getAttrBoolean, getAttrDouble, getAttrInteger, getAttrLong, getAttrString, getParam, getParamBigDecimal, getParamDate, getParamDouble, getParamInteger, getParamLong, getParams, getParamString, getRequest, getResponse, getSession, isPost, setAttrprivate static final long serialVersionUID
protected int listSize
protected int pageSize
public int pageNum
protected Context(javax.servlet.http.HttpServletRequest rqst,
javax.servlet.http.HttpServletResponse resp)
Context.rqst - (HttpServletRequest) The servlet's incoming request.resp - (HttpServletResponse) The servlet's outgoing response.public int getConfigMaxPages()
getConfigMaxPages in interface PagingServletContextpublic int getConfigMinPerPage()
getConfigMinPerPage in interface PagingServletContextpublic int getListSize()
getListSize in interface PagingServletContextpublic void setListSize(int value)
setListSize in interface PagingServletContextvalue - ( int) The size of the list.public int getPageSize()
getPageSize in interface PagingServletContextpublic void setPageSize(int value)
setPageSize in interface PagingServletContextvalue - (int) The size of a page.public int getPageNum()
getPageNum in interface PagingServletContextpublic void setPageNum(int value)
setPageNum in interface PagingServletContextvalue - (int) The page number.