| java.lang.Object org.ofbiz.order.shoppingcart.ShoppingCart org.ofbiz.order.shoppingcart.WebShoppingCart
getUserLogin | public GenericValue getUserLogin()(Code) | | Gets the userLogin from the session; may be null
|
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)
|
|
|