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