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