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