1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.shopping.service;
16  
17  
18  /**
19   * <a href="ShoppingItemServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link ShoppingItemService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       ShoppingItemService
32   * @generated
33   */
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 {
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          com.liferay.portal.service.ServiceContext serviceContext)
58          throws com.liferay.portal.PortalException,
59              com.liferay.portal.SystemException {
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, serviceContext);
65      }
66  
67      public void deleteItem(long itemId)
68          throws com.liferay.portal.PortalException,
69              com.liferay.portal.SystemException {
70          _shoppingItemService.deleteItem(itemId);
71      }
72  
73      public com.liferay.portlet.shopping.model.ShoppingItem getItem(long itemId)
74          throws com.liferay.portal.PortalException,
75              com.liferay.portal.SystemException {
76          return _shoppingItemService.getItem(itemId);
77      }
78  
79      public com.liferay.portlet.shopping.model.ShoppingItem updateItem(
80          long itemId, long categoryId, java.lang.String sku,
81          java.lang.String name, java.lang.String description,
82          java.lang.String properties, java.lang.String fieldsQuantities,
83          boolean requiresShipping, int stockQuantity, boolean featured,
84          java.lang.Boolean sale, boolean smallImage,
85          java.lang.String smallImageURL, java.io.File smallFile,
86          boolean mediumImage, java.lang.String mediumImageURL,
87          java.io.File mediumFile, boolean largeImage,
88          java.lang.String largeImageURL, java.io.File largeFile,
89          java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
90          java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
91          com.liferay.portal.service.ServiceContext serviceContext)
92          throws com.liferay.portal.PortalException,
93              com.liferay.portal.SystemException {
94          return _shoppingItemService.updateItem(itemId, categoryId, sku, name,
95              description, properties, fieldsQuantities, requiresShipping,
96              stockQuantity, featured, sale, smallImage, smallImageURL,
97              smallFile, mediumImage, mediumImageURL, mediumFile, largeImage,
98              largeImageURL, largeFile, itemFields, itemPrices, serviceContext);
99      }
100 
101     public ShoppingItemService getWrappedShoppingItemService() {
102         return _shoppingItemService;
103     }
104 
105     private ShoppingItemService _shoppingItemService;
106 }