001
014
015 package com.liferay.portlet.shopping.service;
016
017
026 public class ShoppingItemLocalServiceWrapper implements ShoppingItemLocalService {
027 public ShoppingItemLocalServiceWrapper(
028 ShoppingItemLocalService shoppingItemLocalService) {
029 _shoppingItemLocalService = shoppingItemLocalService;
030 }
031
032
039 public com.liferay.portlet.shopping.model.ShoppingItem addShoppingItem(
040 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return _shoppingItemLocalService.addShoppingItem(shoppingItem);
043 }
044
045
051 public com.liferay.portlet.shopping.model.ShoppingItem createShoppingItem(
052 long itemId) {
053 return _shoppingItemLocalService.createShoppingItem(itemId);
054 }
055
056
063 public void deleteShoppingItem(long itemId)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 _shoppingItemLocalService.deleteShoppingItem(itemId);
067 }
068
069
075 public void deleteShoppingItem(
076 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
077 throws com.liferay.portal.kernel.exception.SystemException {
078 _shoppingItemLocalService.deleteShoppingItem(shoppingItem);
079 }
080
081
088 @SuppressWarnings("rawtypes")
089 public java.util.List dynamicQuery(
090 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _shoppingItemLocalService.dynamicQuery(dynamicQuery);
093 }
094
095
108 @SuppressWarnings("rawtypes")
109 public java.util.List dynamicQuery(
110 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
111 int end) throws com.liferay.portal.kernel.exception.SystemException {
112 return _shoppingItemLocalService.dynamicQuery(dynamicQuery, start, end);
113 }
114
115
129 @SuppressWarnings("rawtypes")
130 public java.util.List dynamicQuery(
131 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
132 int end,
133 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134 throws com.liferay.portal.kernel.exception.SystemException {
135 return _shoppingItemLocalService.dynamicQuery(dynamicQuery, start, end,
136 orderByComparator);
137 }
138
139
146 public long dynamicQueryCount(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
148 throws com.liferay.portal.kernel.exception.SystemException {
149 return _shoppingItemLocalService.dynamicQueryCount(dynamicQuery);
150 }
151
152
160 public com.liferay.portlet.shopping.model.ShoppingItem getShoppingItem(
161 long itemId)
162 throws com.liferay.portal.kernel.exception.PortalException,
163 com.liferay.portal.kernel.exception.SystemException {
164 return _shoppingItemLocalService.getShoppingItem(itemId);
165 }
166
167
179 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getShoppingItems(
180 int start, int end)
181 throws com.liferay.portal.kernel.exception.SystemException {
182 return _shoppingItemLocalService.getShoppingItems(start, end);
183 }
184
185
191 public int getShoppingItemsCount()
192 throws com.liferay.portal.kernel.exception.SystemException {
193 return _shoppingItemLocalService.getShoppingItemsCount();
194 }
195
196
203 public com.liferay.portlet.shopping.model.ShoppingItem updateShoppingItem(
204 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
205 throws com.liferay.portal.kernel.exception.SystemException {
206 return _shoppingItemLocalService.updateShoppingItem(shoppingItem);
207 }
208
209
217 public com.liferay.portlet.shopping.model.ShoppingItem updateShoppingItem(
218 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem,
219 boolean merge)
220 throws com.liferay.portal.kernel.exception.SystemException {
221 return _shoppingItemLocalService.updateShoppingItem(shoppingItem, merge);
222 }
223
224 public void addBookItems(long userId, long groupId, long categoryId,
225 java.lang.String[] isbns)
226 throws com.liferay.portal.kernel.exception.PortalException,
227 com.liferay.portal.kernel.exception.SystemException {
228 _shoppingItemLocalService.addBookItems(userId, groupId, categoryId,
229 isbns);
230 }
231
232 public com.liferay.portlet.shopping.model.ShoppingItem addItem(
233 long userId, long groupId, long categoryId, java.lang.String sku,
234 java.lang.String name, java.lang.String description,
235 java.lang.String properties, java.lang.String fieldsQuantities,
236 boolean requiresShipping, int stockQuantity, boolean featured,
237 java.lang.Boolean sale, boolean smallImage,
238 java.lang.String smallImageURL, java.io.File smallFile,
239 boolean mediumImage, java.lang.String mediumImageURL,
240 java.io.File mediumFile, boolean largeImage,
241 java.lang.String largeImageURL, java.io.File largeFile,
242 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
243 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
244 com.liferay.portal.service.ServiceContext serviceContext)
245 throws com.liferay.portal.kernel.exception.PortalException,
246 com.liferay.portal.kernel.exception.SystemException {
247 return _shoppingItemLocalService.addItem(userId, groupId, categoryId,
248 sku, name, description, properties, fieldsQuantities,
249 requiresShipping, stockQuantity, featured, sale, smallImage,
250 smallImageURL, smallFile, mediumImage, mediumImageURL, mediumFile,
251 largeImage, largeImageURL, largeFile, itemFields, itemPrices,
252 serviceContext);
253 }
254
255 public void addItemResources(long itemId, boolean addCommunityPermissions,
256 boolean addGuestPermissions)
257 throws com.liferay.portal.kernel.exception.PortalException,
258 com.liferay.portal.kernel.exception.SystemException {
259 _shoppingItemLocalService.addItemResources(itemId,
260 addCommunityPermissions, addGuestPermissions);
261 }
262
263 public void addItemResources(long itemId,
264 java.lang.String[] communityPermissions,
265 java.lang.String[] guestPermissions)
266 throws com.liferay.portal.kernel.exception.PortalException,
267 com.liferay.portal.kernel.exception.SystemException {
268 _shoppingItemLocalService.addItemResources(itemId,
269 communityPermissions, guestPermissions);
270 }
271
272 public void addItemResources(
273 com.liferay.portlet.shopping.model.ShoppingItem item,
274 boolean addCommunityPermissions, boolean addGuestPermissions)
275 throws com.liferay.portal.kernel.exception.PortalException,
276 com.liferay.portal.kernel.exception.SystemException {
277 _shoppingItemLocalService.addItemResources(item,
278 addCommunityPermissions, addGuestPermissions);
279 }
280
281 public void addItemResources(
282 com.liferay.portlet.shopping.model.ShoppingItem item,
283 java.lang.String[] communityPermissions,
284 java.lang.String[] guestPermissions)
285 throws com.liferay.portal.kernel.exception.PortalException,
286 com.liferay.portal.kernel.exception.SystemException {
287 _shoppingItemLocalService.addItemResources(item, communityPermissions,
288 guestPermissions);
289 }
290
291 public void deleteItem(long itemId)
292 throws com.liferay.portal.kernel.exception.PortalException,
293 com.liferay.portal.kernel.exception.SystemException {
294 _shoppingItemLocalService.deleteItem(itemId);
295 }
296
297 public void deleteItem(com.liferay.portlet.shopping.model.ShoppingItem item)
298 throws com.liferay.portal.kernel.exception.PortalException,
299 com.liferay.portal.kernel.exception.SystemException {
300 _shoppingItemLocalService.deleteItem(item);
301 }
302
303 public void deleteItems(long groupId, long categoryId)
304 throws com.liferay.portal.kernel.exception.PortalException,
305 com.liferay.portal.kernel.exception.SystemException {
306 _shoppingItemLocalService.deleteItems(groupId, categoryId);
307 }
308
309 public int getCategoriesItemsCount(long groupId,
310 java.util.List<java.lang.Long> categoryIds)
311 throws com.liferay.portal.kernel.exception.SystemException {
312 return _shoppingItemLocalService.getCategoriesItemsCount(groupId,
313 categoryIds);
314 }
315
316 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getFeaturedItems(
317 long groupId, long categoryId, int numOfItems)
318 throws com.liferay.portal.kernel.exception.SystemException {
319 return _shoppingItemLocalService.getFeaturedItems(groupId, categoryId,
320 numOfItems);
321 }
322
323 public com.liferay.portlet.shopping.model.ShoppingItem getItem(long itemId)
324 throws com.liferay.portal.kernel.exception.PortalException,
325 com.liferay.portal.kernel.exception.SystemException {
326 return _shoppingItemLocalService.getItem(itemId);
327 }
328
329 public com.liferay.portlet.shopping.model.ShoppingItem getItem(
330 long companyId, java.lang.String sku)
331 throws com.liferay.portal.kernel.exception.PortalException,
332 com.liferay.portal.kernel.exception.SystemException {
333 return _shoppingItemLocalService.getItem(companyId, sku);
334 }
335
336 public com.liferay.portlet.shopping.model.ShoppingItem getItemByLargeImageId(
337 long largeImageId)
338 throws com.liferay.portal.kernel.exception.PortalException,
339 com.liferay.portal.kernel.exception.SystemException {
340 return _shoppingItemLocalService.getItemByLargeImageId(largeImageId);
341 }
342
343 public com.liferay.portlet.shopping.model.ShoppingItem getItemByMediumImageId(
344 long mediumImageId)
345 throws com.liferay.portal.kernel.exception.PortalException,
346 com.liferay.portal.kernel.exception.SystemException {
347 return _shoppingItemLocalService.getItemByMediumImageId(mediumImageId);
348 }
349
350 public com.liferay.portlet.shopping.model.ShoppingItem getItemBySmallImageId(
351 long smallImageId)
352 throws com.liferay.portal.kernel.exception.PortalException,
353 com.liferay.portal.kernel.exception.SystemException {
354 return _shoppingItemLocalService.getItemBySmallImageId(smallImageId);
355 }
356
357 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
358 long groupId, long categoryId)
359 throws com.liferay.portal.kernel.exception.SystemException {
360 return _shoppingItemLocalService.getItems(groupId, categoryId);
361 }
362
363 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
364 long groupId, long categoryId, int start, int end,
365 com.liferay.portal.kernel.util.OrderByComparator obc)
366 throws com.liferay.portal.kernel.exception.SystemException {
367 return _shoppingItemLocalService.getItems(groupId, categoryId, start,
368 end, obc);
369 }
370
371 public int getItemsCount(long groupId, long categoryId)
372 throws com.liferay.portal.kernel.exception.SystemException {
373 return _shoppingItemLocalService.getItemsCount(groupId, categoryId);
374 }
375
376 public com.liferay.portlet.shopping.model.ShoppingItem[] getItemsPrevAndNext(
377 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
378 throws com.liferay.portal.kernel.exception.PortalException,
379 com.liferay.portal.kernel.exception.SystemException {
380 return _shoppingItemLocalService.getItemsPrevAndNext(itemId, obc);
381 }
382
383 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getSaleItems(
384 long groupId, long categoryId, int numOfItems)
385 throws com.liferay.portal.kernel.exception.SystemException {
386 return _shoppingItemLocalService.getSaleItems(groupId, categoryId,
387 numOfItems);
388 }
389
390 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> search(
391 long groupId, long[] categoryIds, java.lang.String keywords, int start,
392 int end) throws com.liferay.portal.kernel.exception.SystemException {
393 return _shoppingItemLocalService.search(groupId, categoryIds, keywords,
394 start, end);
395 }
396
397 public int searchCount(long groupId, long[] categoryIds,
398 java.lang.String keywords)
399 throws com.liferay.portal.kernel.exception.SystemException {
400 return _shoppingItemLocalService.searchCount(groupId, categoryIds,
401 keywords);
402 }
403
404 public com.liferay.portlet.shopping.model.ShoppingItem updateItem(
405 long userId, long itemId, long groupId, long categoryId,
406 java.lang.String sku, java.lang.String name,
407 java.lang.String description, java.lang.String properties,
408 java.lang.String fieldsQuantities, boolean requiresShipping,
409 int stockQuantity, boolean featured, java.lang.Boolean sale,
410 boolean smallImage, java.lang.String smallImageURL,
411 java.io.File smallFile, boolean mediumImage,
412 java.lang.String mediumImageURL, java.io.File mediumFile,
413 boolean largeImage, java.lang.String largeImageURL,
414 java.io.File largeFile,
415 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
416 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
417 com.liferay.portal.service.ServiceContext serviceContext)
418 throws com.liferay.portal.kernel.exception.PortalException,
419 com.liferay.portal.kernel.exception.SystemException {
420 return _shoppingItemLocalService.updateItem(userId, itemId, groupId,
421 categoryId, sku, name, description, properties, fieldsQuantities,
422 requiresShipping, stockQuantity, featured, sale, smallImage,
423 smallImageURL, smallFile, mediumImage, mediumImageURL, mediumFile,
424 largeImage, largeImageURL, largeFile, itemFields, itemPrices,
425 serviceContext);
426 }
427
428 public ShoppingItemLocalService getWrappedShoppingItemLocalService() {
429 return _shoppingItemLocalService;
430 }
431
432 private ShoppingItemLocalService _shoppingItemLocalService;
433 }