Register this filter via Spring DelegatingFilterProxy, or register your own implementation
that provides additional, desirable members to the pricingConsiderations Map
that is generated from the getPricingConsiderations method.
filterProducts iterates over the products for each allowed parameter, filtering out products that do
not match the values passed in via the parameters argument.
Pagination Controller's default implementation assumes that successView points to a JSP that contains
a div whose sole contents are a that includes the same JSP as ajaxView.
This filter provides a method to override the default redirect behavior of Spring MVC,
which is to deliver a Temp Redirect (302), instead of a permanent redirect (301).
1) Created the WishlistController as an extension of the CartController
2) Methods addItem, addItems, removeItem, and updateItemQuantity are defined in the CartController
3) Renamed selectWishlist method to viewWishlists
4) Renamed addWishlist method to createWishlist
5) Modified the moveItemToCart method to take in a OrderItem object
6) Removed the displayWishlist method because it is not needed
7) Changed all the Error objects to BindingResult
8) Override the retrieveOrder method to return a wishlist order