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