Java Doc for WebShoppingCart.java in  » ERP-CRM-Financial » SourceTap-CRM » org » ofbiz » order » shoppingcart » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » SourceTap CRM » org.ofbiz.order.shoppingcart 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.ofbiz.order.shoppingcart.ShoppingCart
      org.ofbiz.order.shoppingcart.WebShoppingCart

WebShoppingCart
public class WebShoppingCart extends ShoppingCart (Code)

Title: WebShoppingCart.java

Description: This is a very basic extension of the org.ofbiz.order.shoppingcart.ShoppingCart ShoppingCart class which provides web presentation layer specific functionality related specifically to user session information.
author:
   Andy Zeneski
author:
   Chris Nelson
author:
   David E. Jones
author:
   Tristan Austin
version:
   $Revision: 1.5 $
since:
   2.0




Constructor Summary
public  WebShoppingCart(ShoppingCart cart, HttpSession session)
     Creates a new cloned ShoppingCart Object.
public  WebShoppingCart(HttpServletRequest request)
     Creates new empty ShoppingCart object.

Method Summary
public  GenericValuegetAutoUserLogin()
    
public  StringgetPartyId()
    
public  GenericValuegetUserLogin()
    
public  StringgetWebSiteId()
    


Constructor Detail
WebShoppingCart
public WebShoppingCart(ShoppingCart cart, HttpSession session)(Code)
Creates a new cloned ShoppingCart Object.



WebShoppingCart
public WebShoppingCart(HttpServletRequest request)(Code)
Creates new empty ShoppingCart object.




Method Detail
getAutoUserLogin
public GenericValue getAutoUserLogin()(Code)



getPartyId
public String getPartyId()(Code)



getUserLogin
public GenericValue getUserLogin()(Code)
Gets the userLogin from the session; may be null



getWebSiteId
public String getWebSiteId()(Code)



Fields inherited from org.ofbiz.order.shoppingcart.ShoppingCart
final public static String module(Code)(Java Doc)

Methods inherited from org.ofbiz.order.shoppingcart.ShoppingCart
public void addAdjustment(GenericValue adjustment)(Code)(Java Doc)
public void addContactMech(String contactMechPurposeTypeId, String contactMechId)(Code)(Java Doc)
public void addFreeShippingProductPromoAction(GenericValue productPromoAction)(Code)(Java Doc)
public int addItem(int index, ShoppingCartItem item)(Code)(Java Doc)
public int addItemToEnd(String productId, double amount, double quantity, HashMap features, HashMap attributes, String prodCatalogId, LocalDispatcher dispatcher) throws CartItemModifyException(Code)(Java Doc)
public int addItemToEnd(ShoppingCartItem item)(Code)(Java Doc)
public int addNonProductItem(String itemType, String description, String categoryId, double price, double quantity, Map attributes, String prodCatalogId, LocalDispatcher dispatcher) throws CartItemModifyException(Code)(Java Doc)
public int addOrIncreaseItem(String productId, double selectedAmount, double quantity, Map features, Map attributes, String prodCatalogId, LocalDispatcher dispatcher) throws CartItemModifyException(Code)(Java Doc)
public int addOrIncreaseItem(String productId, double quantity, Map features, Map attributes, String prodCatalogId, LocalDispatcher dispatcher) throws CartItemModifyException(Code)(Java Doc)
public void addPaymentMethodTypeId(String paymentMethodTypeId)(Code)(Java Doc)
public void addPaymentMethodTypeId(String paymentMethodTypeId, Double amount)(Code)(Java Doc)
public String addProductPromoCode(String productPromoCodeId, LocalDispatcher dispatcher)(Code)(Java Doc)
public void addProductPromoUse(String productPromoId, String productPromoCodeId, double totalDiscountAmount, double quantityLeftInActions)(Code)(Java Doc)
public void clear()(Code)(Java Doc)
public void clearAllPromotionAdjustments()(Code)(Java Doc)
public void clearAllPromotionInformation()(Code)(Java Doc)
public void clearCartItemUseInPromoInfo()(Code)(Java Doc)
public void clearPaymentMethodId(String paymentMethodId)(Code)(Java Doc)
public void clearPaymentMethodIds()(Code)(Java Doc)
public void clearPaymentMethodTypeIds()(Code)(Java Doc)
public void clearProductPromoUseInfo()(Code)(Java Doc)
public synchronized void confirmPromoRuleUse(String productPromoId, String productPromoRuleId)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
public List findAllCartItems(String productId)(Code)(Java Doc)
public ShoppingCartItem findCartItem(String productId, Map features, Map attributes, String prodCatalogId, double selectedAmount)(Code)(Java Doc)
public ShoppingCartItem findCartItem(int index)(Code)(Java Doc)
public List getAdjustments()(Code)(Java Doc)
public GenericValue getAutoUserLogin()(Code)(Java Doc)
public double getBillingAccountAmount()(Code)(Java Doc)
public String getBillingAccountId()(Code)(Java Doc)
public String getCarrierPartyId()(Code)(Java Doc)
public String getContactMech(String contactMechPurposeTypeId)(Code)(Java Doc)
public String getCurrency()(Code)(Java Doc)
public GenericDelegator getDelegator()(Code)(Java Doc)
public Map getFeatureIdQtyMap()(Code)(Java Doc)
public String getFirstAttemptOrderId()(Code)(Java Doc)
public List getFreeShippingProductPromoActions()(Code)(Java Doc)
public List getGiftCards()(Code)(Java Doc)
public String getGiftMessage()(Code)(Java Doc)
public double getGrandTotal()(Code)(Java Doc)
public Boolean getIsGift()(Code)(Java Doc)
public int getItemIndex(ShoppingCartItem item)(Code)(Java Doc)
public double getItemTotal()(Code)(Java Doc)
public List getLineListOrderedByBasePrice(boolean ascending)(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public Boolean getMaySplit()(Code)(Java Doc)
public String getOrderAdditionalEmails()(Code)(Java Doc)
public Map getOrderContactMechIds()(Code)(Java Doc)
public String getOrderId()(Code)(Java Doc)
public double getOrderOtherAdjustmentTotal()(Code)(Java Doc)
public GenericValue getOrderShipmentPreference()(Code)(Java Doc)
public double getOrderShipping()(Code)(Java Doc)
public String getOrderType()(Code)(Java Doc)
public Double getPartyDaysSinceCreated(Timestamp nowTimestamp)(Code)(Java Doc)
public String getPartyId()(Code)(Java Doc)
public Double getPaymentMethodAmount(String paymentMethodId)(Code)(Java Doc)
public List getPaymentMethodIds()(Code)(Java Doc)
public List getPaymentMethodTypeIds()(Code)(Java Doc)
public List getPaymentMethods()(Code)(Java Doc)
public String getPoNumber()(Code)(Java Doc)
public int getProductPromoCodeUse(String productPromoCodeId)(Code)(Java Doc)
public Set getProductPromoCodesEntered()(Code)(Java Doc)
public int getProductPromoUseCount(String productPromoId)(Code)(Java Doc)
public Iterator getProductPromoUseInfoIter()(Code)(Java Doc)
public double getProductPromoUseTotalDiscount(String productPromoId)(Code)(Java Doc)
public String getProductStoreId()(Code)(Java Doc)
public List getSelectedPaymentMethods()(Code)(Java Doc)
public double getSelectedPaymentMethodsTotal()(Code)(Java Doc)
public String getShipmentMethodTypeId()(Code)(Java Doc)
public double getShippableQuantity()(Code)(Java Doc)
public List getShippableSizes()(Code)(Java Doc)
public double getShippableTotal()(Code)(Java Doc)
public double getShippableWeight()(Code)(Java Doc)
public GenericValue getShippingAddress()(Code)(Java Doc)
public String getShippingContactMechId()(Code)(Java Doc)
public String getShippingInstructions()(Code)(Java Doc)
public double getSubTotal()(Code)(Java Doc)
public double getSubTotalForPromotions()(Code)(Java Doc)
public double getTotalQuantity()(Code)(Java Doc)
public double getTotalSalesTax()(Code)(Java Doc)
public double getTotalShipping()(Code)(Java Doc)
public double getTotalWeight()(Code)(Java Doc)
public GenericValue getUserLogin()(Code)(Java Doc)
public String getWebSiteId()(Code)(Java Doc)
public void handleNewUser(LocalDispatcher dispatcher) throws CartItemModifyException(Code)(Java Doc)
public boolean isPaymentMethodSelected(String paymentMethodId)(Code)(Java Doc)
public List items()(Code)(Java Doc)
public Iterator iterator()(Code)(Java Doc)
public List makeAllAdjustments()(Code)(Java Doc)
public List makeAllOrderContactMechs()(Code)(Java Doc)
public List makeAllOrderItemContactMechs()(Code)(Java Doc)
public List makeAllOrderItemPriceInfos()(Code)(Java Doc)
public List makeAllOrderItemSurveyResponses()(Code)(Java Doc)
public List makeAllOrderPaymentPreferences()(Code)(Java Doc)
public List makeAllOrderShipmentPreferences()(Code)(Java Doc)
public Map makeCartMap(LocalDispatcher dispatcher, boolean explodeItems)(Code)(Java Doc)
public List makeOrderItems()(Code)(Java Doc)
public List makeOrderItems(boolean explodeItems, LocalDispatcher dispatcher)(Code)(Java Doc)
public List makeProductPromoUses()(Code)(Java Doc)
public void moveCartItem(int fromIndex, int toIndex)(Code)(Java Doc)
public void removeAdjustment(int index)(Code)(Java Doc)
public void removeAdjustmentByType(String orderAdjustmentTypeId)(Code)(Java Doc)
public void removeAllFreeShippingProductPromoActions()(Code)(Java Doc)
public void removeCartItem(int index, LocalDispatcher dispatcher) throws CartItemModifyException(Code)(Java Doc)
public String removeContactMech(String contactMechPurposeTypeId)(Code)(Java Doc)
public void removeEmptyCartItems()(Code)(Java Doc)
public void removeFreeShippingProductPromoAction(GenericPK productPromoActionPK)(Code)(Java Doc)
public synchronized void resetPromoRuleUse(String productPromoId, String productPromoRuleId)(Code)(Java Doc)
public void setAutoUserLogin(GenericValue autoUserLogin, LocalDispatcher dispatcher) throws CartItemModifyException(Code)(Java Doc)
public void setBillingAccount(String billingAccountId, double amount)(Code)(Java Doc)
public void setCarrierPartyId(String carrierPartyId)(Code)(Java Doc)
public void setCurrency(LocalDispatcher dispatcher, String currencyUom) throws CartItemModifyException(Code)(Java Doc)
public void setFirstAttemptOrderId(String orderId)(Code)(Java Doc)
public void setGiftMessage(String giftMessage)(Code)(Java Doc)
public void setIsGift(Boolean isGift)(Code)(Java Doc)
public void setLocale(Locale locale)(Code)(Java Doc)
public void setMaySplit(Boolean maySplit)(Code)(Java Doc)
public void setOrderAdditionalEmails(String orderAdditionalEmails)(Code)(Java Doc)
public void setOrderId(String orderId)(Code)(Java Doc)
public void setOrderType(String orderType)(Code)(Java Doc)
public void setPaymentMethodAmount(String paymentMethodId, Double amount, boolean isSingleUse)(Code)(Java Doc)
public void setPaymentMethodAmount(String paymentMethodId, Double amount)(Code)(Java Doc)
public void setPoNumber(String poNumber)(Code)(Java Doc)
public void setProductStoreId(String productStoreId)(Code)(Java Doc)
public void setShipmentMethodTypeId(String shipmentMethodTypeId)(Code)(Java Doc)
public void setShippingContactMechId(String shippingContactMechId)(Code)(Java Doc)
public void setShippingInstructions(String shippingInstructions)(Code)(Java Doc)
public void setUserLogin(GenericValue userLogin, LocalDispatcher dispatcher) throws CartItemModifyException(Code)(Java Doc)
public void setViewCartOnAdd(boolean viewCartOnAdd)(Code)(Java Doc)
public void setWebSiteId(String webSiteId)(Code)(Java Doc)
public int size()(Code)(Java Doc)
public boolean viewCartOnAdd()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.