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