1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.shopping.service;
16  
17  /**
18   * <a href="ShoppingItemServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link ShoppingItemService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       ShoppingItemService
31   * @generated
32   */
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 }