1
14
15 package com.liferay.portlet.shopping.service;
16
17
18
34 public class ShoppingItemServiceWrapper implements ShoppingItemService {
35 public ShoppingItemServiceWrapper(ShoppingItemService shoppingItemService) {
36 _shoppingItemService = shoppingItemService;
37 }
38
39 public void addBookItems(long groupId, long categoryId,
40 java.lang.String[] isbns)
41 throws com.liferay.portal.kernel.exception.PortalException,
42 com.liferay.portal.kernel.exception.SystemException {
43 _shoppingItemService.addBookItems(groupId, categoryId, isbns);
44 }
45
46 public com.liferay.portlet.shopping.model.ShoppingItem addItem(
47 long groupId, long categoryId, java.lang.String sku,
48 java.lang.String name, java.lang.String description,
49 java.lang.String properties, java.lang.String fieldsQuantities,
50 boolean requiresShipping, int stockQuantity, boolean featured,
51 java.lang.Boolean sale, boolean smallImage,
52 java.lang.String smallImageURL, java.io.File smallFile,
53 boolean mediumImage, java.lang.String mediumImageURL,
54 java.io.File mediumFile, boolean largeImage,
55 java.lang.String largeImageURL, java.io.File largeFile,
56 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
57 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
58 com.liferay.portal.service.ServiceContext serviceContext)
59 throws com.liferay.portal.kernel.exception.PortalException,
60 com.liferay.portal.kernel.exception.SystemException {
61 return _shoppingItemService.addItem(groupId, categoryId, sku, name,
62 description, properties, fieldsQuantities, requiresShipping,
63 stockQuantity, featured, sale, smallImage, smallImageURL,
64 smallFile, mediumImage, mediumImageURL, mediumFile, largeImage,
65 largeImageURL, largeFile, itemFields, itemPrices, serviceContext);
66 }
67
68 public void deleteItem(long itemId)
69 throws com.liferay.portal.kernel.exception.PortalException,
70 com.liferay.portal.kernel.exception.SystemException {
71 _shoppingItemService.deleteItem(itemId);
72 }
73
74 public com.liferay.portlet.shopping.model.ShoppingItem getItem(long itemId)
75 throws com.liferay.portal.kernel.exception.PortalException,
76 com.liferay.portal.kernel.exception.SystemException {
77 return _shoppingItemService.getItem(itemId);
78 }
79
80 public com.liferay.portlet.shopping.model.ShoppingItem updateItem(
81 long itemId, long groupId, long categoryId, java.lang.String sku,
82 java.lang.String name, java.lang.String description,
83 java.lang.String properties, java.lang.String fieldsQuantities,
84 boolean requiresShipping, int stockQuantity, boolean featured,
85 java.lang.Boolean sale, boolean smallImage,
86 java.lang.String smallImageURL, java.io.File smallFile,
87 boolean mediumImage, java.lang.String mediumImageURL,
88 java.io.File mediumFile, boolean largeImage,
89 java.lang.String largeImageURL, java.io.File largeFile,
90 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
91 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
92 com.liferay.portal.service.ServiceContext serviceContext)
93 throws com.liferay.portal.kernel.exception.PortalException,
94 com.liferay.portal.kernel.exception.SystemException {
95 return _shoppingItemService.updateItem(itemId, groupId, categoryId,
96 sku, name, description, properties, fieldsQuantities,
97 requiresShipping, stockQuantity, featured, sale, smallImage,
98 smallImageURL, smallFile, mediumImage, mediumImageURL, mediumFile,
99 largeImage, largeImageURL, largeFile, itemFields, itemPrices,
100 serviceContext);
101 }
102
103 public ShoppingItemService getWrappedShoppingItemService() {
104 return _shoppingItemService;
105 }
106
107 private ShoppingItemService _shoppingItemService;
108 }