com.softslate.commerce.customer.order
Class CartItemEditFormForm

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended bycom.softslate.commerce.customer.core.BaseForm
          extended bycom.softslate.commerce.customer.order.CartItemEditFormForm
All Implemented Interfaces:
java.io.Serializable

public class CartItemEditFormForm
extends BaseForm

Struts form class for requests for the cart item edit form for a given cart item. Used for requests to "/CartItemEditForm.do".

The validate method of this class checks the orderItemID property to make sure it exists. It also checks to make sure user's session has not expired, and that the given orderItemID is in the user's cart.

Author:
David Tobey
See Also:
Serialized Form

Field Summary
(package private) static org.apache.commons.logging.Log log
           
private  OrderItem orderItem
           
private  java.lang.String orderItemID
           
private static long serialVersionUID
           
 
Fields inherited from class com.softslate.commerce.customer.core.BaseForm
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
CartItemEditFormForm()
           
 
Method Summary
 OrderItem getOrderItem()
           
 java.lang.String getOrderItemID()
           
 void setOrderItem(OrderItem orderItem)
           
 void setOrderItemID(java.lang.String orderItemID)
           
 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.core.BaseForm
getBusinessObjectFactory, getErrors, getMapping, getMessage, getMessages, getRequest, getSettingsBean, getUser, initializeProperties, setBusinessObjectFactory, setErrors, setMapping, setMessages, setRequest, setSettingsBean, 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

orderItemID

private java.lang.String orderItemID

orderItem

private OrderItem orderItem
Constructor Detail

CartItemEditFormForm

public CartItemEditFormForm()
Method Detail

getOrderItem

public OrderItem getOrderItem()

setOrderItem

public void setOrderItem(OrderItem orderItem)

getOrderItemID

public java.lang.String getOrderItemID()

setOrderItemID

public void setOrderItemID(java.lang.String orderItemID)

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)


Copyright © SoftSlate, Inc. 2003–2005