1
14
15 package com.liferay.portlet.shopping.service;
16
17
18
34 public class ShoppingItemLocalServiceWrapper implements ShoppingItemLocalService {
35 public ShoppingItemLocalServiceWrapper(
36 ShoppingItemLocalService shoppingItemLocalService) {
37 _shoppingItemLocalService = shoppingItemLocalService;
38 }
39
40 public com.liferay.portlet.shopping.model.ShoppingItem addShoppingItem(
41 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
42 throws com.liferay.portal.kernel.exception.SystemException {
43 return _shoppingItemLocalService.addShoppingItem(shoppingItem);
44 }
45
46 public com.liferay.portlet.shopping.model.ShoppingItem createShoppingItem(
47 long itemId) {
48 return _shoppingItemLocalService.createShoppingItem(itemId);
49 }
50
51 public void deleteShoppingItem(long itemId)
52 throws com.liferay.portal.kernel.exception.PortalException,
53 com.liferay.portal.kernel.exception.SystemException {
54 _shoppingItemLocalService.deleteShoppingItem(itemId);
55 }
56
57 public void deleteShoppingItem(
58 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
59 throws com.liferay.portal.kernel.exception.SystemException {
60 _shoppingItemLocalService.deleteShoppingItem(shoppingItem);
61 }
62
63 public java.util.List<Object> dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.kernel.exception.SystemException {
66 return _shoppingItemLocalService.dynamicQuery(dynamicQuery);
67 }
68
69 public java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71 int end) throws com.liferay.portal.kernel.exception.SystemException {
72 return _shoppingItemLocalService.dynamicQuery(dynamicQuery, start, end);
73 }
74
75 public com.liferay.portlet.shopping.model.ShoppingItem getShoppingItem(
76 long itemId)
77 throws com.liferay.portal.kernel.exception.PortalException,
78 com.liferay.portal.kernel.exception.SystemException {
79 return _shoppingItemLocalService.getShoppingItem(itemId);
80 }
81
82 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getShoppingItems(
83 int start, int end)
84 throws com.liferay.portal.kernel.exception.SystemException {
85 return _shoppingItemLocalService.getShoppingItems(start, end);
86 }
87
88 public int getShoppingItemsCount()
89 throws com.liferay.portal.kernel.exception.SystemException {
90 return _shoppingItemLocalService.getShoppingItemsCount();
91 }
92
93 public com.liferay.portlet.shopping.model.ShoppingItem updateShoppingItem(
94 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
95 throws com.liferay.portal.kernel.exception.SystemException {
96 return _shoppingItemLocalService.updateShoppingItem(shoppingItem);
97 }
98
99 public com.liferay.portlet.shopping.model.ShoppingItem updateShoppingItem(
100 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem,
101 boolean merge)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _shoppingItemLocalService.updateShoppingItem(shoppingItem, merge);
104 }
105
106 public void addBookItems(long userId, long groupId, long categoryId,
107 java.lang.String[] isbns)
108 throws com.liferay.portal.kernel.exception.PortalException,
109 com.liferay.portal.kernel.exception.SystemException {
110 _shoppingItemLocalService.addBookItems(userId, groupId, categoryId,
111 isbns);
112 }
113
114 public com.liferay.portlet.shopping.model.ShoppingItem addItem(
115 long userId, long groupId, long categoryId, java.lang.String sku,
116 java.lang.String name, java.lang.String description,
117 java.lang.String properties, java.lang.String fieldsQuantities,
118 boolean requiresShipping, int stockQuantity, boolean featured,
119 java.lang.Boolean sale, boolean smallImage,
120 java.lang.String smallImageURL, java.io.File smallFile,
121 boolean mediumImage, java.lang.String mediumImageURL,
122 java.io.File mediumFile, boolean largeImage,
123 java.lang.String largeImageURL, java.io.File largeFile,
124 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
125 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
126 com.liferay.portal.service.ServiceContext serviceContext)
127 throws com.liferay.portal.kernel.exception.PortalException,
128 com.liferay.portal.kernel.exception.SystemException {
129 return _shoppingItemLocalService.addItem(userId, groupId, categoryId,
130 sku, name, description, properties, fieldsQuantities,
131 requiresShipping, stockQuantity, featured, sale, smallImage,
132 smallImageURL, smallFile, mediumImage, mediumImageURL, mediumFile,
133 largeImage, largeImageURL, largeFile, itemFields, itemPrices,
134 serviceContext);
135 }
136
137 public void addItemResources(long itemId, boolean addCommunityPermissions,
138 boolean addGuestPermissions)
139 throws com.liferay.portal.kernel.exception.PortalException,
140 com.liferay.portal.kernel.exception.SystemException {
141 _shoppingItemLocalService.addItemResources(itemId,
142 addCommunityPermissions, addGuestPermissions);
143 }
144
145 public void addItemResources(long itemId,
146 java.lang.String[] communityPermissions,
147 java.lang.String[] guestPermissions)
148 throws com.liferay.portal.kernel.exception.PortalException,
149 com.liferay.portal.kernel.exception.SystemException {
150 _shoppingItemLocalService.addItemResources(itemId,
151 communityPermissions, guestPermissions);
152 }
153
154 public void addItemResources(
155 com.liferay.portlet.shopping.model.ShoppingItem item,
156 boolean addCommunityPermissions, boolean addGuestPermissions)
157 throws com.liferay.portal.kernel.exception.PortalException,
158 com.liferay.portal.kernel.exception.SystemException {
159 _shoppingItemLocalService.addItemResources(item,
160 addCommunityPermissions, addGuestPermissions);
161 }
162
163 public void addItemResources(
164 com.liferay.portlet.shopping.model.ShoppingItem item,
165 java.lang.String[] communityPermissions,
166 java.lang.String[] guestPermissions)
167 throws com.liferay.portal.kernel.exception.PortalException,
168 com.liferay.portal.kernel.exception.SystemException {
169 _shoppingItemLocalService.addItemResources(item, communityPermissions,
170 guestPermissions);
171 }
172
173 public void deleteItem(long itemId)
174 throws com.liferay.portal.kernel.exception.PortalException,
175 com.liferay.portal.kernel.exception.SystemException {
176 _shoppingItemLocalService.deleteItem(itemId);
177 }
178
179 public void deleteItem(com.liferay.portlet.shopping.model.ShoppingItem item)
180 throws com.liferay.portal.kernel.exception.PortalException,
181 com.liferay.portal.kernel.exception.SystemException {
182 _shoppingItemLocalService.deleteItem(item);
183 }
184
185 public void deleteItems(long groupId, long categoryId)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException {
188 _shoppingItemLocalService.deleteItems(groupId, categoryId);
189 }
190
191 public int getCategoriesItemsCount(long groupId,
192 java.util.List<Long> categoryIds)
193 throws com.liferay.portal.kernel.exception.SystemException {
194 return _shoppingItemLocalService.getCategoriesItemsCount(groupId,
195 categoryIds);
196 }
197
198 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getFeaturedItems(
199 long groupId, long categoryId, int numOfItems)
200 throws com.liferay.portal.kernel.exception.SystemException {
201 return _shoppingItemLocalService.getFeaturedItems(groupId, categoryId,
202 numOfItems);
203 }
204
205 public com.liferay.portlet.shopping.model.ShoppingItem getItem(long itemId)
206 throws com.liferay.portal.kernel.exception.PortalException,
207 com.liferay.portal.kernel.exception.SystemException {
208 return _shoppingItemLocalService.getItem(itemId);
209 }
210
211 public com.liferay.portlet.shopping.model.ShoppingItem getItem(
212 long companyId, java.lang.String sku)
213 throws com.liferay.portal.kernel.exception.PortalException,
214 com.liferay.portal.kernel.exception.SystemException {
215 return _shoppingItemLocalService.getItem(companyId, sku);
216 }
217
218 public com.liferay.portlet.shopping.model.ShoppingItem getItemByLargeImageId(
219 long largeImageId)
220 throws com.liferay.portal.kernel.exception.PortalException,
221 com.liferay.portal.kernel.exception.SystemException {
222 return _shoppingItemLocalService.getItemByLargeImageId(largeImageId);
223 }
224
225 public com.liferay.portlet.shopping.model.ShoppingItem getItemByMediumImageId(
226 long mediumImageId)
227 throws com.liferay.portal.kernel.exception.PortalException,
228 com.liferay.portal.kernel.exception.SystemException {
229 return _shoppingItemLocalService.getItemByMediumImageId(mediumImageId);
230 }
231
232 public com.liferay.portlet.shopping.model.ShoppingItem getItemBySmallImageId(
233 long smallImageId)
234 throws com.liferay.portal.kernel.exception.PortalException,
235 com.liferay.portal.kernel.exception.SystemException {
236 return _shoppingItemLocalService.getItemBySmallImageId(smallImageId);
237 }
238
239 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
240 long groupId, long categoryId)
241 throws com.liferay.portal.kernel.exception.SystemException {
242 return _shoppingItemLocalService.getItems(groupId, categoryId);
243 }
244
245 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
246 long groupId, long categoryId, int start, int end,
247 com.liferay.portal.kernel.util.OrderByComparator obc)
248 throws com.liferay.portal.kernel.exception.SystemException {
249 return _shoppingItemLocalService.getItems(groupId, categoryId, start,
250 end, obc);
251 }
252
253 public int getItemsCount(long groupId, long categoryId)
254 throws com.liferay.portal.kernel.exception.SystemException {
255 return _shoppingItemLocalService.getItemsCount(groupId, categoryId);
256 }
257
258 public com.liferay.portlet.shopping.model.ShoppingItem[] getItemsPrevAndNext(
259 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
260 throws com.liferay.portal.kernel.exception.PortalException,
261 com.liferay.portal.kernel.exception.SystemException {
262 return _shoppingItemLocalService.getItemsPrevAndNext(itemId, obc);
263 }
264
265 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getSaleItems(
266 long groupId, long categoryId, int numOfItems)
267 throws com.liferay.portal.kernel.exception.SystemException {
268 return _shoppingItemLocalService.getSaleItems(groupId, categoryId,
269 numOfItems);
270 }
271
272 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> search(
273 long groupId, long[] categoryIds, java.lang.String keywords, int start,
274 int end) throws com.liferay.portal.kernel.exception.SystemException {
275 return _shoppingItemLocalService.search(groupId, categoryIds, keywords,
276 start, end);
277 }
278
279 public int searchCount(long groupId, long[] categoryIds,
280 java.lang.String keywords)
281 throws com.liferay.portal.kernel.exception.SystemException {
282 return _shoppingItemLocalService.searchCount(groupId, categoryIds,
283 keywords);
284 }
285
286 public com.liferay.portlet.shopping.model.ShoppingItem updateItem(
287 long userId, long itemId, long groupId, long categoryId,
288 java.lang.String sku, java.lang.String name,
289 java.lang.String description, java.lang.String properties,
290 java.lang.String fieldsQuantities, boolean requiresShipping,
291 int stockQuantity, boolean featured, java.lang.Boolean sale,
292 boolean smallImage, java.lang.String smallImageURL,
293 java.io.File smallFile, boolean mediumImage,
294 java.lang.String mediumImageURL, java.io.File mediumFile,
295 boolean largeImage, java.lang.String largeImageURL,
296 java.io.File largeFile,
297 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
298 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
299 com.liferay.portal.service.ServiceContext serviceContext)
300 throws com.liferay.portal.kernel.exception.PortalException,
301 com.liferay.portal.kernel.exception.SystemException {
302 return _shoppingItemLocalService.updateItem(userId, itemId, groupId,
303 categoryId, sku, name, description, properties, fieldsQuantities,
304 requiresShipping, stockQuantity, featured, sale, smallImage,
305 smallImageURL, smallFile, mediumImage, mediumImageURL, mediumFile,
306 largeImage, largeImageURL, largeFile, itemFields, itemPrices,
307 serviceContext);
308 }
309
310 public ShoppingItemLocalService getWrappedShoppingItemLocalService() {
311 return _shoppingItemLocalService;
312 }
313
314 private ShoppingItemLocalService _shoppingItemLocalService;
315 }