001    /**
002     * Copyright (c) 2000-2011 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 int getCategoriesItemsCount(long groupId,
067                    java.util.List<java.lang.Long> categoryIds)
068                    throws com.liferay.portal.kernel.exception.SystemException {
069                    return _shoppingItemService.getCategoriesItemsCount(groupId, categoryIds);
070            }
071    
072            public com.liferay.portlet.shopping.model.ShoppingItem getItem(long itemId)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _shoppingItemService.getItem(itemId);
076            }
077    
078            public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
079                    long groupId, long categoryId)
080                    throws com.liferay.portal.kernel.exception.SystemException {
081                    return _shoppingItemService.getItems(groupId, categoryId);
082            }
083    
084            public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
085                    long groupId, long categoryId, int start, int end,
086                    com.liferay.portal.kernel.util.OrderByComparator obc)
087                    throws com.liferay.portal.kernel.exception.SystemException {
088                    return _shoppingItemService.getItems(groupId, categoryId, start, end,
089                            obc);
090            }
091    
092            public int getItemsCount(long groupId, long categoryId)
093                    throws com.liferay.portal.kernel.exception.SystemException {
094                    return _shoppingItemService.getItemsCount(groupId, categoryId);
095            }
096    
097            public com.liferay.portlet.shopping.model.ShoppingItem[] getItemsPrevAndNext(
098                    long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
099                    throws com.liferay.portal.kernel.exception.PortalException,
100                            com.liferay.portal.kernel.exception.SystemException {
101                    return _shoppingItemService.getItemsPrevAndNext(itemId, obc);
102            }
103    
104            public com.liferay.portlet.shopping.model.ShoppingItem updateItem(
105                    long itemId, long groupId, long categoryId, java.lang.String sku,
106                    java.lang.String name, java.lang.String description,
107                    java.lang.String properties, java.lang.String fieldsQuantities,
108                    boolean requiresShipping, int stockQuantity, boolean featured,
109                    java.lang.Boolean sale, boolean smallImage,
110                    java.lang.String smallImageURL, java.io.File smallFile,
111                    boolean mediumImage, java.lang.String mediumImageURL,
112                    java.io.File mediumFile, boolean largeImage,
113                    java.lang.String largeImageURL, java.io.File largeFile,
114                    java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
115                    java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
116                    com.liferay.portal.service.ServiceContext serviceContext)
117                    throws com.liferay.portal.kernel.exception.PortalException,
118                            com.liferay.portal.kernel.exception.SystemException {
119                    return _shoppingItemService.updateItem(itemId, groupId, categoryId,
120                            sku, name, description, properties, fieldsQuantities,
121                            requiresShipping, stockQuantity, featured, sale, smallImage,
122                            smallImageURL, smallFile, mediumImage, mediumImageURL, mediumFile,
123                            largeImage, largeImageURL, largeFile, itemFields, itemPrices,
124                            serviceContext);
125            }
126    
127            public ShoppingItemService getWrappedShoppingItemService() {
128                    return _shoppingItemService;
129            }
130    
131            public void setWrappedShoppingItemService(
132                    ShoppingItemService shoppingItemService) {
133                    _shoppingItemService = shoppingItemService;
134            }
135    
136            private ShoppingItemService _shoppingItemService;
137    }