Class OrderActionBean
java.lang.Object
org.mybatis.jpetstore.web.actions.AbstractActionBean
org.mybatis.jpetstore.web.actions.OrderActionBean
- All Implemented Interfaces:
Serializable
,net.sourceforge.stripes.action.ActionBean
The Class OrderActionBean.
- Author:
- Eduardo Macarron
- See Also:
-
Field Summary
Fields inherited from class org.mybatis.jpetstore.web.actions.AbstractActionBean
context, ERROR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clear.getOrder()
int
boolean
boolean
net.sourceforge.stripes.action.Resolution
List orders.net.sourceforge.stripes.action.Resolution
newOrder()
New order.net.sourceforge.stripes.action.Resolution
New order form.void
setConfirmed
(boolean confirmed) void
void
setOrderId
(int orderId) void
setShippingAddressRequired
(boolean shippingAddressRequired) net.sourceforge.stripes.action.Resolution
View order.Methods inherited from class org.mybatis.jpetstore.web.actions.AbstractActionBean
getContext, setContext, setMessage
-
Constructor Details
-
OrderActionBean
public OrderActionBean()
-
-
Method Details
-
getOrderId
public int getOrderId() -
setOrderId
public void setOrderId(int orderId) -
getOrder
-
setOrder
-
isShippingAddressRequired
public boolean isShippingAddressRequired() -
setShippingAddressRequired
public void setShippingAddressRequired(boolean shippingAddressRequired) -
isConfirmed
public boolean isConfirmed() -
setConfirmed
public void setConfirmed(boolean confirmed) -
getCreditCardTypes
-
getOrderList
-
listOrders
public net.sourceforge.stripes.action.Resolution listOrders()List orders.- Returns:
- the resolution
-
newOrderForm
public net.sourceforge.stripes.action.Resolution newOrderForm()New order form.- Returns:
- the resolution
-
newOrder
public net.sourceforge.stripes.action.Resolution newOrder()New order.- Returns:
- the resolution
-
viewOrder
public net.sourceforge.stripes.action.Resolution viewOrder()View order.- Returns:
- the resolution
-
clear
public void clear()Clear.
-