001
014
015 package com.liferay.portlet.shopping.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class ShoppingCartLocalServiceWrapper implements ShoppingCartLocalService,
029 ServiceWrapper<ShoppingCartLocalService> {
030 public ShoppingCartLocalServiceWrapper(
031 ShoppingCartLocalService shoppingCartLocalService) {
032 _shoppingCartLocalService = shoppingCartLocalService;
033 }
034
035
042 public com.liferay.portlet.shopping.model.ShoppingCart addShoppingCart(
043 com.liferay.portlet.shopping.model.ShoppingCart shoppingCart)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _shoppingCartLocalService.addShoppingCart(shoppingCart);
046 }
047
048
054 public com.liferay.portlet.shopping.model.ShoppingCart createShoppingCart(
055 long cartId) {
056 return _shoppingCartLocalService.createShoppingCart(cartId);
057 }
058
059
067 public com.liferay.portlet.shopping.model.ShoppingCart deleteShoppingCart(
068 long cartId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 return _shoppingCartLocalService.deleteShoppingCart(cartId);
072 }
073
074
081 public com.liferay.portlet.shopping.model.ShoppingCart deleteShoppingCart(
082 com.liferay.portlet.shopping.model.ShoppingCart shoppingCart)
083 throws com.liferay.portal.kernel.exception.SystemException {
084 return _shoppingCartLocalService.deleteShoppingCart(shoppingCart);
085 }
086
087 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
088 return _shoppingCartLocalService.dynamicQuery();
089 }
090
091
098 @SuppressWarnings("rawtypes")
099 public java.util.List dynamicQuery(
100 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _shoppingCartLocalService.dynamicQuery(dynamicQuery);
103 }
104
105
118 @SuppressWarnings("rawtypes")
119 public java.util.List dynamicQuery(
120 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
121 int end) throws com.liferay.portal.kernel.exception.SystemException {
122 return _shoppingCartLocalService.dynamicQuery(dynamicQuery, start, end);
123 }
124
125
139 @SuppressWarnings("rawtypes")
140 public java.util.List dynamicQuery(
141 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142 int end,
143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _shoppingCartLocalService.dynamicQuery(dynamicQuery, start, end,
146 orderByComparator);
147 }
148
149
156 public long dynamicQueryCount(
157 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _shoppingCartLocalService.dynamicQueryCount(dynamicQuery);
160 }
161
162 public com.liferay.portlet.shopping.model.ShoppingCart fetchShoppingCart(
163 long cartId) throws com.liferay.portal.kernel.exception.SystemException {
164 return _shoppingCartLocalService.fetchShoppingCart(cartId);
165 }
166
167
175 public com.liferay.portlet.shopping.model.ShoppingCart getShoppingCart(
176 long cartId)
177 throws com.liferay.portal.kernel.exception.PortalException,
178 com.liferay.portal.kernel.exception.SystemException {
179 return _shoppingCartLocalService.getShoppingCart(cartId);
180 }
181
182 public com.liferay.portal.model.PersistedModel getPersistedModel(
183 java.io.Serializable primaryKeyObj)
184 throws com.liferay.portal.kernel.exception.PortalException,
185 com.liferay.portal.kernel.exception.SystemException {
186 return _shoppingCartLocalService.getPersistedModel(primaryKeyObj);
187 }
188
189
201 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCart> getShoppingCarts(
202 int start, int end)
203 throws com.liferay.portal.kernel.exception.SystemException {
204 return _shoppingCartLocalService.getShoppingCarts(start, end);
205 }
206
207
213 public int getShoppingCartsCount()
214 throws com.liferay.portal.kernel.exception.SystemException {
215 return _shoppingCartLocalService.getShoppingCartsCount();
216 }
217
218
225 public com.liferay.portlet.shopping.model.ShoppingCart updateShoppingCart(
226 com.liferay.portlet.shopping.model.ShoppingCart shoppingCart)
227 throws com.liferay.portal.kernel.exception.SystemException {
228 return _shoppingCartLocalService.updateShoppingCart(shoppingCart);
229 }
230
231
239 public com.liferay.portlet.shopping.model.ShoppingCart updateShoppingCart(
240 com.liferay.portlet.shopping.model.ShoppingCart shoppingCart,
241 boolean merge)
242 throws com.liferay.portal.kernel.exception.SystemException {
243 return _shoppingCartLocalService.updateShoppingCart(shoppingCart, merge);
244 }
245
246
251 public java.lang.String getBeanIdentifier() {
252 return _shoppingCartLocalService.getBeanIdentifier();
253 }
254
255
260 public void setBeanIdentifier(java.lang.String beanIdentifier) {
261 _shoppingCartLocalService.setBeanIdentifier(beanIdentifier);
262 }
263
264 public void deleteGroupCarts(long groupId)
265 throws com.liferay.portal.kernel.exception.SystemException {
266 _shoppingCartLocalService.deleteGroupCarts(groupId);
267 }
268
269 public void deleteUserCarts(long userId)
270 throws com.liferay.portal.kernel.exception.SystemException {
271 _shoppingCartLocalService.deleteUserCarts(userId);
272 }
273
274 public com.liferay.portlet.shopping.model.ShoppingCart getCart(
275 long userId, long groupId)
276 throws com.liferay.portal.kernel.exception.PortalException,
277 com.liferay.portal.kernel.exception.SystemException {
278 return _shoppingCartLocalService.getCart(userId, groupId);
279 }
280
281 public java.util.Map<com.liferay.portlet.shopping.model.ShoppingCartItem, java.lang.Integer> getItems(
282 long groupId, java.lang.String itemIds)
283 throws com.liferay.portal.kernel.exception.SystemException {
284 return _shoppingCartLocalService.getItems(groupId, itemIds);
285 }
286
287 public com.liferay.portlet.shopping.model.ShoppingCart updateCart(
288 long userId, long groupId, java.lang.String itemIds,
289 java.lang.String couponCodes, int altShipping, boolean insure)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException {
292 return _shoppingCartLocalService.updateCart(userId, groupId, itemIds,
293 couponCodes, altShipping, insure);
294 }
295
296
299 public ShoppingCartLocalService getWrappedShoppingCartLocalService() {
300 return _shoppingCartLocalService;
301 }
302
303
306 public void setWrappedShoppingCartLocalService(
307 ShoppingCartLocalService shoppingCartLocalService) {
308 _shoppingCartLocalService = shoppingCartLocalService;
309 }
310
311 public ShoppingCartLocalService getWrappedService() {
312 return _shoppingCartLocalService;
313 }
314
315 public void setWrappedService(
316 ShoppingCartLocalService shoppingCartLocalService) {
317 _shoppingCartLocalService = shoppingCartLocalService;
318 }
319
320 private ShoppingCartLocalService _shoppingCartLocalService;
321 }