1
14
15 package com.liferay.portlet.shopping.service;
16
17
33 public class ShoppingCartLocalServiceWrapper implements ShoppingCartLocalService {
34 public ShoppingCartLocalServiceWrapper(
35 ShoppingCartLocalService shoppingCartLocalService) {
36 _shoppingCartLocalService = shoppingCartLocalService;
37 }
38
39 public com.liferay.portlet.shopping.model.ShoppingCart addShoppingCart(
40 com.liferay.portlet.shopping.model.ShoppingCart shoppingCart)
41 throws com.liferay.portal.SystemException {
42 return _shoppingCartLocalService.addShoppingCart(shoppingCart);
43 }
44
45 public com.liferay.portlet.shopping.model.ShoppingCart createShoppingCart(
46 long cartId) {
47 return _shoppingCartLocalService.createShoppingCart(cartId);
48 }
49
50 public void deleteShoppingCart(long cartId)
51 throws com.liferay.portal.PortalException,
52 com.liferay.portal.SystemException {
53 _shoppingCartLocalService.deleteShoppingCart(cartId);
54 }
55
56 public void deleteShoppingCart(
57 com.liferay.portlet.shopping.model.ShoppingCart shoppingCart)
58 throws com.liferay.portal.SystemException {
59 _shoppingCartLocalService.deleteShoppingCart(shoppingCart);
60 }
61
62 @SuppressWarnings("rawtypes")
63 public java.util.List dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.SystemException {
66 return _shoppingCartLocalService.dynamicQuery(dynamicQuery);
67 }
68
69 @SuppressWarnings("rawtypes")
70 public java.util.List dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72 int end) throws com.liferay.portal.SystemException {
73 return _shoppingCartLocalService.dynamicQuery(dynamicQuery, start, end);
74 }
75
76 @SuppressWarnings("rawtypes")
77 public java.util.List dynamicQuery(
78 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79 int end,
80 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81 throws com.liferay.portal.SystemException {
82 return _shoppingCartLocalService.dynamicQuery(dynamicQuery, start, end,
83 orderByComparator);
84 }
85
86 public int dynamicQueryCount(
87 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88 throws com.liferay.portal.SystemException {
89 return _shoppingCartLocalService.dynamicQueryCount(dynamicQuery);
90 }
91
92 public com.liferay.portlet.shopping.model.ShoppingCart getShoppingCart(
93 long cartId)
94 throws com.liferay.portal.PortalException,
95 com.liferay.portal.SystemException {
96 return _shoppingCartLocalService.getShoppingCart(cartId);
97 }
98
99 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCart> getShoppingCarts(
100 int start, int end) throws com.liferay.portal.SystemException {
101 return _shoppingCartLocalService.getShoppingCarts(start, end);
102 }
103
104 public int getShoppingCartsCount()
105 throws com.liferay.portal.SystemException {
106 return _shoppingCartLocalService.getShoppingCartsCount();
107 }
108
109 public com.liferay.portlet.shopping.model.ShoppingCart updateShoppingCart(
110 com.liferay.portlet.shopping.model.ShoppingCart shoppingCart)
111 throws com.liferay.portal.SystemException {
112 return _shoppingCartLocalService.updateShoppingCart(shoppingCart);
113 }
114
115 public com.liferay.portlet.shopping.model.ShoppingCart updateShoppingCart(
116 com.liferay.portlet.shopping.model.ShoppingCart shoppingCart,
117 boolean merge) throws com.liferay.portal.SystemException {
118 return _shoppingCartLocalService.updateShoppingCart(shoppingCart, merge);
119 }
120
121 public void deleteGroupCarts(long groupId)
122 throws com.liferay.portal.SystemException {
123 _shoppingCartLocalService.deleteGroupCarts(groupId);
124 }
125
126 public void deleteUserCarts(long userId)
127 throws com.liferay.portal.SystemException {
128 _shoppingCartLocalService.deleteUserCarts(userId);
129 }
130
131 public com.liferay.portlet.shopping.model.ShoppingCart getCart(
132 long userId, long groupId)
133 throws com.liferay.portal.PortalException,
134 com.liferay.portal.SystemException {
135 return _shoppingCartLocalService.getCart(userId, groupId);
136 }
137
138 public java.util.Map<com.liferay.portlet.shopping.model.ShoppingCartItem, java.lang.Integer> getItems(
139 long groupId, java.lang.String itemIds)
140 throws com.liferay.portal.SystemException {
141 return _shoppingCartLocalService.getItems(groupId, itemIds);
142 }
143
144 public com.liferay.portlet.shopping.model.ShoppingCart updateCart(
145 long userId, long groupId, java.lang.String itemIds,
146 java.lang.String couponCodes, int altShipping, boolean insure)
147 throws com.liferay.portal.PortalException,
148 com.liferay.portal.SystemException {
149 return _shoppingCartLocalService.updateCart(userId, groupId, itemIds,
150 couponCodes, altShipping, insure);
151 }
152
153 public ShoppingCartLocalService getWrappedShoppingCartLocalService() {
154 return _shoppingCartLocalService;
155 }
156
157 private ShoppingCartLocalService _shoppingCartLocalService;
158 }