001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.shopping.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link ShoppingItemService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ShoppingItemService
024     * @generated
025     */
026    public class ShoppingItemServiceWrapper implements ShoppingItemService {
027            public ShoppingItemServiceWrapper(ShoppingItemService shoppingItemService) {
028                    _shoppingItemService = shoppingItemService;
029            }
030    
031            public void addBookItems(long groupId, long categoryId,
032                    java.lang.String[] isbns)
033                    throws com.liferay.portal.kernel.exception.PortalException,
034                            com.liferay.portal.kernel.exception.SystemException {
035                    _shoppingItemService.addBookItems(groupId, categoryId, isbns);
036            }
037    
038            public com.liferay.portlet.shopping.model.ShoppingItem addItem(
039                    long groupId, long categoryId, java.lang.String sku,
040                    java.lang.String name, java.lang.String description,
041                    java.lang.String properties, java.lang.String fieldsQuantities,
042                    boolean requiresShipping, int stockQuantity, boolean featured,
043                    java.lang.Boolean sale, boolean smallImage,
044                    java.lang.String smallImageURL, java.io.File smallFile,
045                    boolean mediumImage, java.lang.String mediumImageURL,
046                    java.io.File mediumFile, boolean largeImage,
047                    java.lang.String largeImageURL, java.io.File largeFile,
048                    java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
049                    java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
050                    com.liferay.portal.service.ServiceContext serviceContext)
051                    throws com.liferay.portal.kernel.exception.PortalException,
052                            com.liferay.portal.kernel.exception.SystemException {
053                    return _shoppingItemService.addItem(groupId, categoryId, sku, name,
054                            description, properties, fieldsQuantities, requiresShipping,
055                            stockQuantity, featured, sale, smallImage, smallImageURL,
056                            smallFile, mediumImage, mediumImageURL, mediumFile, largeImage,
057                            largeImageURL, largeFile, itemFields, itemPrices, serviceContext);
058            }
059    
060            public void deleteItem(long itemId)
061                    throws com.liferay.portal.kernel.exception.PortalException,
062                            com.liferay.portal.kernel.exception.SystemException {
063                    _shoppingItemService.deleteItem(itemId);
064            }
065    
066            public com.liferay.portlet.shopping.model.ShoppingItem getItem(long itemId)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    return _shoppingItemService.getItem(itemId);
070            }
071    
072            public com.liferay.portlet.shopping.model.ShoppingItem updateItem(
073                    long itemId, long groupId, long categoryId, java.lang.String sku,
074                    java.lang.String name, java.lang.String description,
075                    java.lang.String properties, java.lang.String fieldsQuantities,
076                    boolean requiresShipping, int stockQuantity, boolean featured,
077                    java.lang.Boolean sale, boolean smallImage,
078                    java.lang.String smallImageURL, java.io.File smallFile,
079                    boolean mediumImage, java.lang.String mediumImageURL,
080                    java.io.File mediumFile, boolean largeImage,
081                    java.lang.String largeImageURL, java.io.File largeFile,
082                    java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
083                    java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
084                    com.liferay.portal.service.ServiceContext serviceContext)
085                    throws com.liferay.portal.kernel.exception.PortalException,
086                            com.liferay.portal.kernel.exception.SystemException {
087                    return _shoppingItemService.updateItem(itemId, groupId, categoryId,
088                            sku, name, description, properties, fieldsQuantities,
089                            requiresShipping, stockQuantity, featured, sale, smallImage,
090                            smallImageURL, smallFile, mediumImage, mediumImageURL, mediumFile,
091                            largeImage, largeImageURL, largeFile, itemFields, itemPrices,
092                            serviceContext);
093            }
094    
095            public ShoppingItemService getWrappedShoppingItemService() {
096                    return _shoppingItemService;
097            }
098    
099            private ShoppingItemService _shoppingItemService;
100    }