com.softslate.commerce.customer.order
Class CartEditForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by com.softslate.commerce.customer.core.BaseForm
          extended by com.softslate.commerce.customer.order.CartAddForm
              extended by com.softslate.commerce.customer.order.CartEditForm
All Implemented Interfaces:
java.io.Serializable

public class CartEditForm
extends CartAddForm

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:
CartEditAction, Serialized Form

Field Summary
(package private) static org.apache.commons.logging.Log log
           
private  java.lang.String[] orderItemIDs
           
private  java.util.Collection<OrderItem> orderItems
           
private static long serialVersionUID
           
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
CartEditForm()
           
 
Method Summary
 java.lang.String[] getOrderItemIDs()
           
 java.util.Collection<OrderItem> getOrderItems()
           
 void setOrderItemIDs(java.lang.String[] orderItemIDs)
           
 void setOrderItems(java.util.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, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

log

static org.apache.commons.logging.Log log

orderItemIDs

private java.lang.String[] orderItemIDs

orderItems

private java.util.Collection<OrderItem> orderItems
Constructor Detail

CartEditForm

public CartEditForm()
Method Detail

getOrderItems

public java.util.Collection<OrderItem> getOrderItems()

setOrderItems

public void setOrderItems(java.util.Collection<OrderItem> orderItems)

getOrderItemIDs

public java.lang.String[] getOrderItemIDs()

setOrderItemIDs

public void setOrderItemIDs(java.lang.String[] orderItemIDs)

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)
Overrides:
validate in class CartAddForm


Copyright © SoftSlate, LLC 2003–2010