Class CartEditForm
java.lang.Object
org.apache.struts.action.ActionForm
com.softslate.commerce.customer.core.BaseForm
com.softslate.commerce.customer.order.CartAddForm
com.softslate.commerce.customer.order.CartEditForm
- All Implemented Interfaces:
Serializable
Struts form class for submissions to edit all items in the current user's
cart. Used for requests to "/CartEdit.do".
The validate
method of this class extends
CartAddForm.validate(ActionMapping, HttpServletRequest)
.
- Author:
- Jason McWilliams
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(package private) static org.apache.commons.logging.Log
private String[]
private Collection<OrderItem>
private static final long
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
void
setOrderItemIDs
(String[] orderItemIDs) void
setOrderItems
(Collection<OrderItem> orderItems) org.apache.struts.action.ActionErrors
validate
(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request) Methods inherited from class com.softslate.commerce.customer.order.CartAddForm
getOrderAttributes, getOrderProductCodes, getOrderProductQuantities, getProductNames, getRequiredAttributeCodes, getRequiredAttributeNames, setOrderAttributes, setOrderProductCodes, setOrderProductQuantities, setProductNames, setRequiredAttributeCodes, setRequiredAttributeNames, validateAttributes, validateMaxItemsPerOrder, validateProductCode, validateQuantity
Methods inherited from class com.softslate.commerce.customer.core.BaseForm
formUtils, getBusinessObjectFactory, getErrors, getMapping, getMessage, getMessages, getRequest, getSettings, getUser, html5OrXhtml, initializeProperties, setBusinessObjectFactory, setErrors, setMapping, setMessages, setRequest, setSettings, setUser
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
log
static org.apache.commons.logging.Log log -
orderItemIDs
-
orderItems
-
-
Constructor Details
-
CartEditForm
public CartEditForm()
-
-
Method Details
-
getOrderItems
-
setOrderItems
-
getOrderItemIDs
-
setOrderItemIDs
-
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request) - Overrides:
validate
in classCartAddForm
-