public class ProductSearchResults extends Products
| Modifier and Type | Class and Description |
|---|---|
protected class |
ProductSearchResults.Context
Inner class used to store servlet context information.
|
Products.SelectableFilterFlashServlet.Stack| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
The class' serialization version id.
|
protected static java.lang.String |
SN_SRPRODUCTS
The session's key for the search result's current list of products.
|
protected static java.lang.String |
SN_SRPRODUCTS_INSTOCK
The session's key for the search result's current list of products with stock.
|
protected static java.lang.String |
SN_SRPRODUCTS_PAFILTERS
The session's key for the search result's current list of product attribute filters.
|
protected static java.lang.String |
SN_SRPRODUCTS_PAGEHIST
The session's key for the search result's current page history.
|
protected static java.lang.String |
SN_SRPRODUCTS_PAGENUM
The session's key for the search result's current page number.
|
protected static java.lang.String |
SN_SRPRODUCTS_PAGEURL
The session's key for the search result's current page url.
|
SN_COMPARE_LIST, SN_PRODUCTS_ATTFILTERS, SN_PRODUCTS_INFILTERS, SN_PRODUCTS_PAGESTYLE, SN_PRODUCTS_PRCFILTERS, SN_PRODUCTS_SELNOSTOCKMINIMUM_ROWSDISPLAY_MODE, SN_ADMINMODE, SN_CATEGORIES, SN_CATEGORIES_LISTONLY, SN_CATEGORIES_PATH, SN_CATEGORY, SN_CONTINUE_PAGEURL, SN_PRODUCTS, SN_PRODUCTS_INSTOCK, SN_PRODUCTS_NOSTOCK, SN_PRODUCTS_PAFILTERS, SN_PRODUCTS_PAGEHIST, SN_PRODUCTS_PAGENUM, SN_PRODUCTS_PAGEURL, SOURCE_CATALOG, SOURCE_FAVORITES, SOURCE_SEARCH, SOURCE_SHOPCART, SOURCE_SPECIALSN_CART, SN_LOGON_STATUS, SN_SECPROFILE, SN_USER, SN_USERSFIBROWSER_IE, BROWSER_NN, BROWSER_XX, RESP_NULL, RESP_REDIRECTED, RQST_AJAX, RQST_NULL| Constructor and Description |
|---|
ProductSearchResults() |
| Modifier and Type | Method and Description |
|---|---|
protected Products.Context |
createContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Creates the servlet context inner class.
|
protected void |
setProductList(Products.Context ctx)
Sets the current list of products based on the current omit no stock flag.
|
protected void |
setProductListFilteredAttrs(Products.Context ctx,
java.util.ArrayList<java.lang.String[]> searchattrs)
Sets the current list of products based on the current set of selected
attribute filters.
|
protected void |
setRealtimeInfo(Products.Context ctx,
int begindex,
int endindex)
Sets the realtime data for a given set of products within the current
list of products.
|
protected void |
setRealtimeInfo(Products.Context ctx,
int begindex,
int endindex,
java.lang.String snPgHstKey)
Sets the realtime data for a given set of products within the current
list of products.
|
protected void |
setSessionValues(BaseServlet.Context baseCtx)
Adds one or more values to the http session object.
|
protected void |
setTemplateFilters(Products.Context ctx)
Invoked by this class' implementation of
setTemplateData to
retrieve and set the selectable attribute filters and entered price
filters data required by the html template. |
protected void |
setTemplateListName(Products.Context ctx)
Invoked by this class' implementation of
setTemplateData to
retrieve and set the list name data required by the html template. |
addToCompares, editFormFields, getCompareProducts, getManyProducts, getNextURL, getOneProduct, getTemplateName, isPrintable, isProductFilteringActive, isProductFilteringAttrsActive, isProductFilteringPriceActive, readParameters, resetFormFields, setCookieValues, setProductList, setProductListFiltered, setProductListFilteredPrice, setTemplateData, setTemplateError, setTemplateFavorites, setTemplateHeader, setTemplateProducts, setTemplateRelatedProducts, setTemplateSubcategoriessetTemplateMode0, setTemplateMode1, setTemplateMode2, setTemplateSubcategoriessetTemplatePagingBegIndex, setTemplatePagingEndIndex, setTemplatePagingLinksconfirmSession, getPreviousCategoryList, getPreviousCategoryPath, hasSubcategories, hasSubcategories, isOmitNoStock, isPreshopRequest, isUserHelpRequest, setTemplateCategoryPath, sortCategoryProductData, writePageImplconfirmCart, confirmRequest, confirmRetail, confirmWholesale, createNewCart, createNewSessionImpl, getPageTitle, getServletPath, getUser, initTemplateDataImpl, isLogonRequest, requestComplete, requiresLogon, resetCart, resetCategories, resetProducts, setDefaultUser, setSessionCart, setSFIShoppingUser, useExistingSessionImpl, writeCookiecreateNewSession, determineBrowser, doGet, doPost, getCookie, getInvokerName, getInvokerName, getInvokerParams, getInvokerParams, getInvokerPath, getInvokerPath, getInvokerURL, getPageParams, getRequestURL, getServletName, getServletName, getServletParams, getServletParams, getServletPath, getServletURL, getServletURL, getTemplateMessage, getTemplateMessage, getTemplateMessage, getTemplateMessage, getTemplateMessage, initTemplateData, isServerTomcat, log, qualifyURL, redirectURL, setP3PCompactPolicy, showSiteError, showSiteError, showSiteError, useExistingSession, writeCookie, writeTempCookiedoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprivate static final long serialVersionUID
protected static final java.lang.String SN_SRPRODUCTS
protected static final java.lang.String SN_SRPRODUCTS_INSTOCK
protected static final java.lang.String SN_SRPRODUCTS_PAFILTERS
protected static final java.lang.String SN_SRPRODUCTS_PAGENUM
protected static final java.lang.String SN_SRPRODUCTS_PAGEHIST
protected static final java.lang.String SN_SRPRODUCTS_PAGEURL
protected void setSessionValues(BaseServlet.Context baseCtx)
writeURL method.
Overrides setSessionValues in Products.setSessionValues in class ProductsbaseCtx - (Context) The current servlet context.protected void setTemplateListName(Products.Context ctx)
setTemplateData to
retrieve and set the list name data required by the html template.
Overrides setTemplateListName in Products.setTemplateListName in class Productsctx - (Context) The current servlet context.protected void setTemplateFilters(Products.Context ctx)
setTemplateData to
retrieve and set the selectable attribute filters and entered price
filters data required by the html template.
Overrides setTemplateSelectableFilters in Products.setTemplateFilters in class Productsctx - (Context) The current servlet context.protected void setProductList(Products.Context ctx)
ctx.products context variable.
Overrides setProductList in Products.setProductList in class Productsctx - (Context) The current servlet context.protected void setProductListFilteredAttrs(Products.Context ctx, java.util.ArrayList<java.lang.String[]> searchattrs)
ctx.products
context variable.
Overrides setProductListFilteredAttrs in Products.setProductListFilteredAttrs in class Productsctx - (Context) The current servlet context.searchattrs - (ArrayList) The collection of search attributes
that will be sent to the configured product search interface.
product attribute filters.protected void setRealtimeInfo(Products.Context ctx, int begindex, int endindex)
setRealtimeInfo in Products.setRealtimeInfo in class Productsctx - (Context) The current servlet context.begindex - (int) The index of the first product within the list
for which realtime data is desired.endindex - (int) The index of the last product within the list
for which realtime data is desired.protected void setRealtimeInfo(Products.Context ctx, int begindex, int endindex, java.lang.String snPgHstKey)
setRealtimeInfo in Products.setRealtimeInfo in class Productsctx - (Context) The current servlet context.begindex - (int) The index of the first product within the list
for which realtime data is desired.endindex - (int) The index of the last product within the list
for which realtime data is desired.snPgHstKey - (String) The session key for the current page
history.protected Products.Context createContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
createContext in Products.
Invoked by doPost and doGet methods.createContext in class Productsrequest - (HttpServletRequest) The servlet's incoming request.response - (HttpServletResponse) The servlet's outgoing response.