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