| olstore.controller.ShoppingCartController
ShoppingCartController | public class ShoppingCartController extends MultiActionController (Code) | | A controller that handles shopping cart related actions.
|
order | public ModelAndView order(HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Called when we are performing an order action.
Parameters: request - the HttpServletRequest. Parameters: response - the HttpServletResponse. a model and view to represent the updating order. throws: Exception - |
setOlstore | public void setOlstore(OlstoreFacade olstore)(Code) | | The Spring injection setter method for the olstore instance.
Parameters: olstore - the instance provided via spring. |
update | public ModelAndView update(HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Called when we are in an update cart action.
Parameters: request - the HttpServletRequest. Parameters: response - the HttpServletResponse. a model and view for representing the updating of a cart. throws: Exception - |
view | public ModelAndView view(HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Returns a new model and view for this controller.
Parameters: request - the HttpServletRequest Parameters: response - the HttpServletResponse a new model and view that represents the data for this controller. throws: Exception - |
|
|