001    /**
002     * Copyright (c) 2000-2010 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 ShoppingItemPriceLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ShoppingItemPriceLocalService
024     * @generated
025     */
026    public class ShoppingItemPriceLocalServiceWrapper
027            implements ShoppingItemPriceLocalService {
028            public ShoppingItemPriceLocalServiceWrapper(
029                    ShoppingItemPriceLocalService shoppingItemPriceLocalService) {
030                    _shoppingItemPriceLocalService = shoppingItemPriceLocalService;
031            }
032    
033            public com.liferay.portlet.shopping.model.ShoppingItemPrice addShoppingItemPrice(
034                    com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice)
035                    throws com.liferay.portal.kernel.exception.SystemException {
036                    return _shoppingItemPriceLocalService.addShoppingItemPrice(shoppingItemPrice);
037            }
038    
039            public com.liferay.portlet.shopping.model.ShoppingItemPrice createShoppingItemPrice(
040                    long itemPriceId) {
041                    return _shoppingItemPriceLocalService.createShoppingItemPrice(itemPriceId);
042            }
043    
044            public void deleteShoppingItemPrice(long itemPriceId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _shoppingItemPriceLocalService.deleteShoppingItemPrice(itemPriceId);
048            }
049    
050            public void deleteShoppingItemPrice(
051                    com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    _shoppingItemPriceLocalService.deleteShoppingItemPrice(shoppingItemPrice);
054            }
055    
056            @SuppressWarnings("unchecked")
057            public java.util.List dynamicQuery(
058                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _shoppingItemPriceLocalService.dynamicQuery(dynamicQuery);
061            }
062    
063            @SuppressWarnings("unchecked")
064            public java.util.List dynamicQuery(
065                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066                    int end) throws com.liferay.portal.kernel.exception.SystemException {
067                    return _shoppingItemPriceLocalService.dynamicQuery(dynamicQuery, start,
068                            end);
069            }
070    
071            @SuppressWarnings("unchecked")
072            public java.util.List dynamicQuery(
073                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
074                    int end,
075                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
076                    throws com.liferay.portal.kernel.exception.SystemException {
077                    return _shoppingItemPriceLocalService.dynamicQuery(dynamicQuery, start,
078                            end, orderByComparator);
079            }
080    
081            public long dynamicQueryCount(
082                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
083                    throws com.liferay.portal.kernel.exception.SystemException {
084                    return _shoppingItemPriceLocalService.dynamicQueryCount(dynamicQuery);
085            }
086    
087            public com.liferay.portlet.shopping.model.ShoppingItemPrice getShoppingItemPrice(
088                    long itemPriceId)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    return _shoppingItemPriceLocalService.getShoppingItemPrice(itemPriceId);
092            }
093    
094            public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> getShoppingItemPrices(
095                    int start, int end)
096                    throws com.liferay.portal.kernel.exception.SystemException {
097                    return _shoppingItemPriceLocalService.getShoppingItemPrices(start, end);
098            }
099    
100            public int getShoppingItemPricesCount()
101                    throws com.liferay.portal.kernel.exception.SystemException {
102                    return _shoppingItemPriceLocalService.getShoppingItemPricesCount();
103            }
104    
105            public com.liferay.portlet.shopping.model.ShoppingItemPrice updateShoppingItemPrice(
106                    com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice)
107                    throws com.liferay.portal.kernel.exception.SystemException {
108                    return _shoppingItemPriceLocalService.updateShoppingItemPrice(shoppingItemPrice);
109            }
110    
111            public com.liferay.portlet.shopping.model.ShoppingItemPrice updateShoppingItemPrice(
112                    com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice,
113                    boolean merge)
114                    throws com.liferay.portal.kernel.exception.SystemException {
115                    return _shoppingItemPriceLocalService.updateShoppingItemPrice(shoppingItemPrice,
116                            merge);
117            }
118    
119            public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> getItemPrices(
120                    long itemId)
121                    throws com.liferay.portal.kernel.exception.PortalException,
122                            com.liferay.portal.kernel.exception.SystemException {
123                    return _shoppingItemPriceLocalService.getItemPrices(itemId);
124            }
125    
126            public ShoppingItemPriceLocalService getWrappedShoppingItemPriceLocalService() {
127                    return _shoppingItemPriceLocalService;
128            }
129    
130            private ShoppingItemPriceLocalService _shoppingItemPriceLocalService;
131    }