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 categoryId, java.lang.String[] isbns)
40 throws com.liferay.portal.PortalException,
41 com.liferay.portal.SystemException, java.rmi.RemoteException {
42 _shoppingItemService.addBookItems(categoryId, isbns);
43 }
44
45 public com.liferay.portlet.shopping.model.ShoppingItem addItem(
46 long categoryId, java.lang.String sku, java.lang.String name,
47 java.lang.String description, java.lang.String properties,
48 java.lang.String fieldsQuantities, boolean requiresShipping,
49 int stockQuantity, boolean featured, java.lang.Boolean sale,
50 boolean smallImage, java.lang.String smallImageURL,
51 java.io.File smallFile, boolean mediumImage,
52 java.lang.String mediumImageURL, java.io.File mediumFile,
53 boolean largeImage, java.lang.String largeImageURL,
54 java.io.File largeFile,
55 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
56 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
57 boolean addCommunityPermissions, boolean addGuestPermissions)
58 throws com.liferay.portal.PortalException,
59 com.liferay.portal.SystemException, java.rmi.RemoteException {
60 return _shoppingItemService.addItem(categoryId, sku, name, description,
61 properties, fieldsQuantities, requiresShipping, stockQuantity,
62 featured, sale, smallImage, smallImageURL, smallFile, mediumImage,
63 mediumImageURL, mediumFile, largeImage, largeImageURL, largeFile,
64 itemFields, itemPrices, addCommunityPermissions, addGuestPermissions);
65 }
66
67 public com.liferay.portlet.shopping.model.ShoppingItem addItem(
68 long categoryId, java.lang.String sku, java.lang.String name,
69 java.lang.String description, java.lang.String properties,
70 java.lang.String fieldsQuantities, boolean requiresShipping,
71 int stockQuantity, boolean featured, java.lang.Boolean sale,
72 boolean smallImage, java.lang.String smallImageURL,
73 java.io.File smallFile, boolean mediumImage,
74 java.lang.String mediumImageURL, java.io.File mediumFile,
75 boolean largeImage, java.lang.String largeImageURL,
76 java.io.File largeFile,
77 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
78 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
79 java.lang.String[] communityPermissions,
80 java.lang.String[] guestPermissions)
81 throws com.liferay.portal.PortalException,
82 com.liferay.portal.SystemException, java.rmi.RemoteException {
83 return _shoppingItemService.addItem(categoryId, sku, name, description,
84 properties, fieldsQuantities, requiresShipping, stockQuantity,
85 featured, sale, smallImage, smallImageURL, smallFile, mediumImage,
86 mediumImageURL, mediumFile, largeImage, largeImageURL, largeFile,
87 itemFields, itemPrices, communityPermissions, guestPermissions);
88 }
89
90 public void deleteItem(long itemId)
91 throws com.liferay.portal.PortalException,
92 com.liferay.portal.SystemException, java.rmi.RemoteException {
93 _shoppingItemService.deleteItem(itemId);
94 }
95
96 public com.liferay.portlet.shopping.model.ShoppingItem getItem(long itemId)
97 throws com.liferay.portal.PortalException,
98 com.liferay.portal.SystemException, java.rmi.RemoteException {
99 return _shoppingItemService.getItem(itemId);
100 }
101
102 public com.liferay.portlet.shopping.model.ShoppingItem updateItem(
103 long itemId, long categoryId, java.lang.String sku,
104 java.lang.String name, java.lang.String description,
105 java.lang.String properties, java.lang.String fieldsQuantities,
106 boolean requiresShipping, int stockQuantity, boolean featured,
107 java.lang.Boolean sale, boolean smallImage,
108 java.lang.String smallImageURL, java.io.File smallFile,
109 boolean mediumImage, java.lang.String mediumImageURL,
110 java.io.File mediumFile, boolean largeImage,
111 java.lang.String largeImageURL, java.io.File largeFile,
112 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
113 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices)
114 throws com.liferay.portal.PortalException,
115 com.liferay.portal.SystemException, java.rmi.RemoteException {
116 return _shoppingItemService.updateItem(itemId, categoryId, sku, name,
117 description, properties, fieldsQuantities, requiresShipping,
118 stockQuantity, featured, sale, smallImage, smallImageURL,
119 smallFile, mediumImage, mediumImageURL, mediumFile, largeImage,
120 largeImageURL, largeFile, itemFields, itemPrices);
121 }
122
123 public ShoppingItemService getWrappedShoppingItemService() {
124 return _shoppingItemService;
125 }
126
127 private ShoppingItemService _shoppingItemService;
128 }