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