001    /**
002     * Copyright (c) 2000-2012 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    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link ShoppingItemService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       ShoppingItemService
026     * @generated
027     */
028    public class ShoppingItemServiceWrapper implements ShoppingItemService,
029            ServiceWrapper<ShoppingItemService> {
030            public ShoppingItemServiceWrapper(ShoppingItemService shoppingItemService) {
031                    _shoppingItemService = shoppingItemService;
032            }
033    
034            public void addBookItems(long groupId, long categoryId,
035                    java.lang.String[] isbns)
036                    throws com.liferay.portal.kernel.exception.PortalException,
037                            com.liferay.portal.kernel.exception.SystemException {
038                    _shoppingItemService.addBookItems(groupId, categoryId, isbns);
039            }
040    
041            public com.liferay.portlet.shopping.model.ShoppingItem addItem(
042                    long groupId, long categoryId, java.lang.String sku,
043                    java.lang.String name, java.lang.String description,
044                    java.lang.String properties, java.lang.String fieldsQuantities,
045                    boolean requiresShipping, int stockQuantity, boolean featured,
046                    java.lang.Boolean sale, boolean smallImage,
047                    java.lang.String smallImageURL, java.io.File smallFile,
048                    boolean mediumImage, java.lang.String mediumImageURL,
049                    java.io.File mediumFile, boolean largeImage,
050                    java.lang.String largeImageURL, java.io.File largeFile,
051                    java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
052                    java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
053                    com.liferay.portal.service.ServiceContext serviceContext)
054                    throws com.liferay.portal.kernel.exception.PortalException,
055                            com.liferay.portal.kernel.exception.SystemException {
056                    return _shoppingItemService.addItem(groupId, categoryId, sku, name,
057                            description, properties, fieldsQuantities, requiresShipping,
058                            stockQuantity, featured, sale, smallImage, smallImageURL,
059                            smallFile, mediumImage, mediumImageURL, mediumFile, largeImage,
060                            largeImageURL, largeFile, itemFields, itemPrices, serviceContext);
061            }
062    
063            public void deleteItem(long itemId)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    _shoppingItemService.deleteItem(itemId);
067            }
068    
069            public int getCategoriesItemsCount(long groupId,
070                    java.util.List<java.lang.Long> categoryIds)
071                    throws com.liferay.portal.kernel.exception.SystemException {
072                    return _shoppingItemService.getCategoriesItemsCount(groupId, categoryIds);
073            }
074    
075            public com.liferay.portlet.shopping.model.ShoppingItem getItem(long itemId)
076                    throws com.liferay.portal.kernel.exception.PortalException,
077                            com.liferay.portal.kernel.exception.SystemException {
078                    return _shoppingItemService.getItem(itemId);
079            }
080    
081            public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
082                    long groupId, long categoryId)
083                    throws com.liferay.portal.kernel.exception.SystemException {
084                    return _shoppingItemService.getItems(groupId, categoryId);
085            }
086    
087            public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
088                    long groupId, long categoryId, int start, int end,
089                    com.liferay.portal.kernel.util.OrderByComparator obc)
090                    throws com.liferay.portal.kernel.exception.SystemException {
091                    return _shoppingItemService.getItems(groupId, categoryId, start, end,
092                            obc);
093            }
094    
095            public int getItemsCount(long groupId, long categoryId)
096                    throws com.liferay.portal.kernel.exception.SystemException {
097                    return _shoppingItemService.getItemsCount(groupId, categoryId);
098            }
099    
100            public com.liferay.portlet.shopping.model.ShoppingItem[] getItemsPrevAndNext(
101                    long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
102                    throws com.liferay.portal.kernel.exception.PortalException,
103                            com.liferay.portal.kernel.exception.SystemException {
104                    return _shoppingItemService.getItemsPrevAndNext(itemId, obc);
105            }
106    
107            public com.liferay.portlet.shopping.model.ShoppingItem updateItem(
108                    long itemId, long groupId, long categoryId, java.lang.String sku,
109                    java.lang.String name, java.lang.String description,
110                    java.lang.String properties, java.lang.String fieldsQuantities,
111                    boolean requiresShipping, int stockQuantity, boolean featured,
112                    java.lang.Boolean sale, boolean smallImage,
113                    java.lang.String smallImageURL, java.io.File smallFile,
114                    boolean mediumImage, java.lang.String mediumImageURL,
115                    java.io.File mediumFile, boolean largeImage,
116                    java.lang.String largeImageURL, java.io.File largeFile,
117                    java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
118                    java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
119                    com.liferay.portal.service.ServiceContext serviceContext)
120                    throws com.liferay.portal.kernel.exception.PortalException,
121                            com.liferay.portal.kernel.exception.SystemException {
122                    return _shoppingItemService.updateItem(itemId, groupId, categoryId,
123                            sku, name, description, properties, fieldsQuantities,
124                            requiresShipping, stockQuantity, featured, sale, smallImage,
125                            smallImageURL, smallFile, mediumImage, mediumImageURL, mediumFile,
126                            largeImage, largeImageURL, largeFile, itemFields, itemPrices,
127                            serviceContext);
128            }
129    
130            /**
131             * @deprecated Renamed to {@link #getWrappedService}
132             */
133            public ShoppingItemService getWrappedShoppingItemService() {
134                    return _shoppingItemService;
135            }
136    
137            /**
138             * @deprecated Renamed to {@link #setWrappedService}
139             */
140            public void setWrappedShoppingItemService(
141                    ShoppingItemService shoppingItemService) {
142                    _shoppingItemService = shoppingItemService;
143            }
144    
145            public ShoppingItemService getWrappedService() {
146                    return _shoppingItemService;
147            }
148    
149            public void setWrappedService(ShoppingItemService shoppingItemService) {
150                    _shoppingItemService = shoppingItemService;
151            }
152    
153            private ShoppingItemService _shoppingItemService;
154    }