public class ProductListHandler extends GenericFormHandler
ProductComparisonList
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
static java.lang.String |
MY_RESOURCE_NAME |
PARAM_DEFER_FORWARD_OR_REDIRECT, PARAM_USE_FORWARDS
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
ProductListHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
doAddProductList(ProductComparisonList pList,
java.lang.String[] pProductIds,
DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Add all of the products specified by
productIDList to the
product comparison list, applying the optional category information
in categoryID and the default sku for each product, if any. |
void |
doAddProductListAllSkus(ProductComparisonList pList,
java.lang.String[] pProductIds,
DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Add all of the skus for all of the products specified by
pProductIds to the product comparison list, applying
the optional category information in categoryID and the
default sku for each product, if any. |
java.lang.String |
getAddProductErrorURL()
Get destination URL if errors occur while adding products to the list.
|
java.lang.String |
getAddProductSuccessURL()
Get destination URL for successfully adding products to the list.
|
java.lang.String |
getCategoryID()
Set the repository id of the product to add to or remove from the
comparison list.
|
java.lang.String |
getClearListErrorURL()
Get destination URL if errors occur while clearing the comparison list.
|
java.lang.String |
getClearListSuccessURL()
Get destination URL for successfully clearing the comparison list.
|
int[] |
getEntryIds()
Get the list of entry id's that specify which entries are to be removed
from the product comparison list when calling handleRemoveEntries.
|
protected java.util.Locale |
getLocale(DynamoHttpServletRequest pRequest)
Get the locale to use for user-visible error messages.
|
java.lang.String |
getProductID()
Get the repository id of the product to add to or remove from the
comparison list.
|
java.lang.String[] |
getProductIDList()
Get the repository ids of the products to add to the comparison list
when calling addProductList or addProductListAllSkus
|
ProductComparisonList |
getProductList()
Get the default ProductComparisonList managed by this form handler.
|
java.lang.String |
getRefreshInventoryErrorURL()
Get the destination URL if an error occurs refreshing inventory data in the comparison list.
|
java.lang.String |
getRefreshInventorySuccessURL()
Get the destination URL for successfully refreshing inventory data in the comparison list.
|
java.lang.String |
getRemoveCategoryErrorURL()
Get destination URL if errors occur while removing categories from the list.
|
java.lang.String |
getRemoveCategorySuccessURL()
Get destination URL for successfully removing categories from the list.
|
java.lang.String |
getRemoveProductErrorURL()
Get destination URL if errors occur while removing products from the list.
|
java.lang.String |
getRemoveProductSuccessURL()
Get destination URL for successfully removing products from the list.
|
java.lang.String |
getRepositoryKey()
Get the repository lookup key that is used to select an alternate
catalog repository.
|
static java.lang.String |
getResourceBundleName()
Return the name of the resource bundle to use for this class.
|
java.lang.String |
getSetProductListErrorURL()
Get destination URL when errors occur calling
setProductList
or setProductListAllSkus . |
java.lang.String |
getSetProductListSuccessURL()
Get destination URL when successfully calling
setProductList
or setProductListAllSkus . |
java.lang.String |
getSiteID()
Get site id
|
java.lang.String |
getSkuID()
Set the repository id of the product to add to or remove from the
comparison list.
|
java.lang.String |
getUserLocale()
Get the locale used to retreive user-visible error messages, if
one has been set explicitly.
|
protected java.lang.String |
getUserMessage(java.lang.String pMessageKey,
DynamoHttpServletRequest pRequest)
Return a message from a resource file, taking into account the
locale used for user-visible messages.
|
protected java.lang.String |
getUserMessage(java.lang.String pMessageKey,
java.lang.Object[] args,
DynamoHttpServletRequest pRequest)
Return a message from a resource file, taking into account the
locale used for user-visible messages.
|
boolean |
handleAddProduct(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Add the product specified by
productID to the product
comparison list, applying the optional category and sku information
in categoryID and skuID . |
boolean |
handleAddProductAllSkus(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Add all skus the product specified by
productID to the
product comparison list, applying the optional category information in
categoryID . |
boolean |
handleAddProductList(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Add all of the products specified by
productIDList to the
product comparison list, applying the optional category information
in categoryID and the default sku for each product, if any. |
boolean |
handleAddProductListAllSkus(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Add all of the skus for all of the products specified by
productIDList to the product comparison list, applying
the optional category information in categoryID and the
default sku for each product, if any. |
boolean |
handleCancel(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Reset the form handler by setting
productID ,
categoryID , and skuID to null. |
boolean |
handleClearList(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Clear the product comparison list and redirect to
clearListSuccessURL on success. |
boolean |
handleRefreshInventoryData(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Refresh all of the inventory data in the the product comparison list
and redirect to
refreshInventorySuccessURL , if set. |
boolean |
handleRemoveCategory(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Remove the all entries for the category specified by
categoryID from the product comparison list. |
boolean |
handleRemoveEntries(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Remove list entries whose ids are specified in entryIds.
|
boolean |
handleRemoveProduct(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Remove the product specified by
productID from the product
comparison list, applying the optional category and sku information
in categoryID and skuID . |
boolean |
handleRemoveProductAllSkus(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Remove the all entries for the product specified by
productID from the product comparison list. |
boolean |
handleSetProductList(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Set the product comparison list to the products specified by
productIDList , applying the optional category information
in categoryID and the default sku for each product, if
any. |
boolean |
handleSetProductListAllSkus(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Set the product comparison list to contain all skus for all products
specified by
productIDList , applying the optional category
information in categoryID and the default sku for each
product, if any. |
void |
postAddProduct(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just after adding a product to the list.
|
void |
postAddProductAllSkus(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just after adding all skus for a product to the list.
|
void |
postAddProductList(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just after adding a set of products to the list.
|
void |
postAddProductListAllSkus(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just after adding a set of skus to the list.
|
void |
postClearList(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just after clearing the product comparison list.
|
void |
postRefreshInventoryData(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just after refreshing inventory data in the product comparison list.
|
void |
postRemoveCategory(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just after removing all entries for a category from the list.
|
void |
postRemoveEntries(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just after removing a set of named entries from the list.
|
void |
postRemoveProduct(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called justa after removing a product from the list.
|
void |
postRemoveProductAllSkus(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just after removing all skus for a product from the list.
|
void |
postSetProductList(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just after setting the product list in
handleSetProductList . |
void |
postSetProductListAllSkus(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just after setting the product list in
handleSetProductListAllSkus . |
void |
preAddProduct(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just before adding a product to the list.
|
void |
preAddProductAllSkus(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just before adding all skus for a product to the list.
|
void |
preAddProductList(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just before adding a set of products to the list.
|
void |
preAddProductListAllSkus(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just before adding a set of skus to the list.
|
void |
preClearList(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just before clearing the product comparison list.
|
void |
preRefreshInventoryData(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just before refreshing inventory data in the product comparison list.
|
void |
preRemoveCategory(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just before removing all entries for a category from the list.
|
void |
preRemoveEntries(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just before removing a set of named entries from the list.
|
void |
preRemoveProduct(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just before removing a product from the list.
|
void |
preRemoveProductAllSkus(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just before removing all skus for a product from the list.
|
void |
preSetProductList(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just before setting the product list in
handleSetProductList . |
void |
preSetProductListAllSkus(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called just before setting the product list in
handleSetProductListAllSkus . |
void |
setAddProductErrorURL(java.lang.String pAddProductErrorURL)
Set destination URL if errors occur while adding products to the list.
|
void |
setAddProductSuccessURL(java.lang.String pAddProductSuccessURL)
Set destination URL for successfully adding products to the list.
|
void |
setCategoryID(java.lang.String pCategoryID)
Set the repository id of the product to add to or remove from the
comparison list.
|
void |
setClearListErrorURL(java.lang.String pClearListErrorURL)
Set destination URL if errors occur while clearing the comparison list.
|
void |
setClearListSuccessURL(java.lang.String pClearListSuccessURL)
Set destination URL for successfully clearing the comparison list.
|
void |
setEntryIds(int[] pEntryIds)
Set the list of entry id's that specify which entries are to be removed
from the product comparison list when calling handleRemoveEntries.
|
void |
setProductID(java.lang.String pProductID)
Set the repository id of the product to add to or remove from the
comparison list.
|
void |
setProductIDList(java.lang.String[] pProductIDList)
Set the repository ids of the products to add to the comparison list
when calling addProductList or addProductListAllSkus
|
void |
setProductList(ProductComparisonList pProductList)
Set the default ProductComparisonList managed by this form handler.
|
void |
setRefreshInventoryErrorURL(java.lang.String pRefreshInventoryErrorURL)
Set the destination URL if an error occurs refreshing inventory data in the comparison list.
|
void |
setRefreshInventorySuccessURL(java.lang.String pRefreshInventorySuccessURL)
Set the destination URL for successfully refreshing inventory data in the comparison list.
|
void |
setRemoveCategoryErrorURL(java.lang.String pRemoveCategoryErrorURL)
Set destination URL if errors occur while removing categories from the list.
|
void |
setRemoveCategorySuccessURL(java.lang.String pRemoveCategorySuccessURL)
Set destination URL for successfully removing categories from the list.
|
void |
setRemoveProductErrorURL(java.lang.String pRemoveProductErrorURL)
Set destination URL if errors occur while removing products from the list.
|
void |
setRemoveProductSuccessURL(java.lang.String pRemoveProductSuccessURL)
Set destination URL for successfully removing products from the list.
|
void |
setRepositoryKey(java.lang.String pRepositoryKey)
Set the repository lookup key that is used to select an alternate
catalog repository.
|
void |
setSetProductListErrorURL(java.lang.String pSetProductListErrorURL)
Set destination URL when errors occur calling
setProductList
or setProductListAllSkus . |
void |
setSetProductListSuccessURL(java.lang.String pSetProductListSuccessURL)
Set destination URL when successfully calling
setProductList
or setProductListAllSkus . |
void |
setSiteID(java.lang.String pSiteID)
Set site id
|
void |
setSkuID(java.lang.String pSkuID)
Set the repository id of the product to add to or remove from the
comparison list.
|
void |
setUserLocale(java.lang.String pUserLocale)
Set the locale used to retreive user-visible error messages.
|
addFormException, addUncheckedFormException, afterSet, beforeSet, checkFormRedirect, createFormSubmissionMessage, getCancelURL, getCheckForValidSession, getFormError, getFormExceptions, getFormName, getMessagePort, getMessageSource, getMessageType, getPropertyExceptions, getSendMessages, getUncheckedFormExceptions, handleFormException, handleUncheckedFormException, hasUncheckedFormExceptions, isDeferForwardsAndRedirects, isRestorableForm, isUseForwards, isValidSession, redirectOrForward, resetFormExceptions, setCancelURL, setCheckForValidSession, setDeferForwardsAndRedirects, setFormName, setMessagePort, setMessageSource, setMessageType, setRestorableForm, setSendMessages, setUseForwards
afterGet, beforeGet
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static java.lang.String CLASS_VERSION
public static final java.lang.String MY_RESOURCE_NAME
public void setProductList(ProductComparisonList pProductList)
public ProductComparisonList getProductList()
public void setProductID(java.lang.String pProductID)
public java.lang.String getProductID()
public java.lang.String getSiteID()
public void setSiteID(java.lang.String pSiteID)
public void setProductIDList(java.lang.String[] pProductIDList)
public java.lang.String[] getProductIDList()
public void setCategoryID(java.lang.String pCategoryID)
public java.lang.String getCategoryID()
public void setSkuID(java.lang.String pSkuID)
public java.lang.String getSkuID()
public void setRepositoryKey(java.lang.String pRepositoryKey)
CatalogTools
public java.lang.String getRepositoryKey()
public void setEntryIds(int[] pEntryIds)
public int[] getEntryIds()
public void setAddProductSuccessURL(java.lang.String pAddProductSuccessURL)
public java.lang.String getAddProductSuccessURL()
public void setAddProductErrorURL(java.lang.String pAddProductErrorURL)
public java.lang.String getAddProductErrorURL()
public void setSetProductListSuccessURL(java.lang.String pSetProductListSuccessURL)
setProductList
or setProductListAllSkus
.public java.lang.String getSetProductListSuccessURL()
setProductList
or setProductListAllSkus
.public void setSetProductListErrorURL(java.lang.String pSetProductListErrorURL)
setProductList
or setProductListAllSkus
.public java.lang.String getSetProductListErrorURL()
setProductList
or setProductListAllSkus
.public void setRemoveProductSuccessURL(java.lang.String pRemoveProductSuccessURL)
public java.lang.String getRemoveProductSuccessURL()
public void setRemoveProductErrorURL(java.lang.String pRemoveProductErrorURL)
public java.lang.String getRemoveProductErrorURL()
public void setRemoveCategorySuccessURL(java.lang.String pRemoveCategorySuccessURL)
public java.lang.String getRemoveCategorySuccessURL()
public void setRemoveCategoryErrorURL(java.lang.String pRemoveCategoryErrorURL)
public java.lang.String getRemoveCategoryErrorURL()
public void setClearListSuccessURL(java.lang.String pClearListSuccessURL)
public java.lang.String getClearListSuccessURL()
public void setClearListErrorURL(java.lang.String pClearListErrorURL)
public java.lang.String getClearListErrorURL()
public void setRefreshInventorySuccessURL(java.lang.String pRefreshInventorySuccessURL)
public java.lang.String getRefreshInventorySuccessURL()
public void setRefreshInventoryErrorURL(java.lang.String pRefreshInventoryErrorURL)
public java.lang.String getRefreshInventoryErrorURL()
public boolean handleAddProduct(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
productID
to the product
comparison list, applying the optional category and sku information
in categoryID
and skuID
.javax.servlet.ServletException
java.io.IOException
ProductComparisonList.add()
public void preAddProduct(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public void postAddProduct(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public boolean handleAddProductAllSkus(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
productID
to the
product comparison list, applying the optional category information in
categoryID
.javax.servlet.ServletException
java.io.IOException
ProductComparisonList.addAllSkus()
public void preAddProductAllSkus(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public void postAddProductAllSkus(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public boolean handleAddProductList(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
productIDList
to the
product comparison list, applying the optional category information
in categoryID
and the default sku for each product, if any.javax.servlet.ServletException
java.io.IOException
public void preAddProductList(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public void postAddProductList(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public boolean handleAddProductListAllSkus(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
productIDList
to the product comparison list, applying
the optional category information in categoryID
and the
default sku for each product, if any.javax.servlet.ServletException
java.io.IOException
public void preAddProductListAllSkus(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public void postAddProductListAllSkus(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public boolean handleSetProductList(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
productIDList
, applying the optional category information
in categoryID
and the default sku for each product, if
any. Any existing items are removed from the list before the items
in productIDList
are added.javax.servlet.ServletException
java.io.IOException
public void preSetProductList(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
handleSetProductList
.javax.servlet.ServletException
java.io.IOException
public void postSetProductList(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
handleSetProductList
.javax.servlet.ServletException
java.io.IOException
public boolean handleSetProductListAllSkus(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
productIDList
, applying the optional category
information in categoryID
and the default sku for each
product, if any. Any existing items are removed from the list before
the items in productIDList
are added.javax.servlet.ServletException
java.io.IOException
public void preSetProductListAllSkus(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
handleSetProductListAllSkus
.javax.servlet.ServletException
java.io.IOException
public void postSetProductListAllSkus(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
handleSetProductListAllSkus
.javax.servlet.ServletException
java.io.IOException
protected void doAddProductList(ProductComparisonList pList, java.lang.String[] pProductIds, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
productIDList
to the
product comparison list, applying the optional category information
in categoryID
and the default sku for each product, if any.javax.servlet.ServletException
java.io.IOException
public void doAddProductListAllSkus(ProductComparisonList pList, java.lang.String[] pProductIds, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pProductIds
to the product comparison list, applying
the optional category information in categoryID
and the
default sku for each product, if any.javax.servlet.ServletException
java.io.IOException
public boolean handleRemoveProduct(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
productID
from the product
comparison list, applying the optional category and sku information
in categoryID
and skuID
.javax.servlet.ServletException
java.io.IOException
ProductComparisonList.remove()
public void preRemoveProduct(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public void postRemoveProduct(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public boolean handleRemoveProductAllSkus(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
productID
from the product comparison list.javax.servlet.ServletException
java.io.IOException
ProductComparisonList.removeAllSkus()
public void preRemoveProductAllSkus(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public void postRemoveProductAllSkus(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public boolean handleRemoveCategory(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
categoryID
from the product comparison list.javax.servlet.ServletException
java.io.IOException
ProductComparisonList.removeCategory()
public void preRemoveCategory(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public void postRemoveCategory(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public boolean handleRemoveEntries(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
ProductComparisonList.remove()
public void preRemoveEntries(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public void postRemoveEntries(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public boolean handleClearList(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
clearListSuccessURL
on success.javax.servlet.ServletException
java.io.IOException
public void preClearList(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public void postClearList(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public boolean handleRefreshInventoryData(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
refreshInventorySuccessURL
, if set.javax.servlet.ServletException
java.io.IOException
public void preRefreshInventoryData(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public void postRefreshInventoryData(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public boolean handleCancel(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
productID
,
categoryID
, and skuID
to null.handleCancel
in class GenericFormHandler
javax.servlet.ServletException
java.io.IOException
public static java.lang.String getResourceBundleName()
public void setUserLocale(java.lang.String pUserLocale)
public java.lang.String getUserLocale()
protected java.util.Locale getLocale(DynamoHttpServletRequest pRequest)
userLocale
property if set, otherwise
returns the request locale from pRequest
if set, otherwise
returns the default server locale.protected java.lang.String getUserMessage(java.lang.String pMessageKey, DynamoHttpServletRequest pRequest)
protected java.lang.String getUserMessage(java.lang.String pMessageKey, java.lang.Object[] args, DynamoHttpServletRequest pRequest)