1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.shopping.service;
16  
17  
18  /**
19   * <a href="ShoppingItemPriceLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link ShoppingItemPriceLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       ShoppingItemPriceLocalService
32   * @generated
33   */
34  public class ShoppingItemPriceLocalServiceWrapper
35      implements ShoppingItemPriceLocalService {
36      public ShoppingItemPriceLocalServiceWrapper(
37          ShoppingItemPriceLocalService shoppingItemPriceLocalService) {
38          _shoppingItemPriceLocalService = shoppingItemPriceLocalService;
39      }
40  
41      public com.liferay.portlet.shopping.model.ShoppingItemPrice addShoppingItemPrice(
42          com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice)
43          throws com.liferay.portal.kernel.exception.SystemException {
44          return _shoppingItemPriceLocalService.addShoppingItemPrice(shoppingItemPrice);
45      }
46  
47      public com.liferay.portlet.shopping.model.ShoppingItemPrice createShoppingItemPrice(
48          long itemPriceId) {
49          return _shoppingItemPriceLocalService.createShoppingItemPrice(itemPriceId);
50      }
51  
52      public void deleteShoppingItemPrice(long itemPriceId)
53          throws com.liferay.portal.kernel.exception.PortalException,
54              com.liferay.portal.kernel.exception.SystemException {
55          _shoppingItemPriceLocalService.deleteShoppingItemPrice(itemPriceId);
56      }
57  
58      public void deleteShoppingItemPrice(
59          com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice)
60          throws com.liferay.portal.kernel.exception.SystemException {
61          _shoppingItemPriceLocalService.deleteShoppingItemPrice(shoppingItemPrice);
62      }
63  
64      public java.util.List<Object> dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.kernel.exception.SystemException {
67          return _shoppingItemPriceLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      public java.util.List<Object> dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.kernel.exception.SystemException {
73          return _shoppingItemPriceLocalService.dynamicQuery(dynamicQuery, start,
74              end);
75      }
76  
77      public java.util.List<Object> dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end,
80          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81          throws com.liferay.portal.kernel.exception.SystemException {
82          return _shoppingItemPriceLocalService.dynamicQuery(dynamicQuery, start,
83              end, orderByComparator);
84      }
85  
86      public int dynamicQueryCount(
87          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88          throws com.liferay.portal.kernel.exception.SystemException {
89          return _shoppingItemPriceLocalService.dynamicQueryCount(dynamicQuery);
90      }
91  
92      public com.liferay.portlet.shopping.model.ShoppingItemPrice getShoppingItemPrice(
93          long itemPriceId)
94          throws com.liferay.portal.kernel.exception.PortalException,
95              com.liferay.portal.kernel.exception.SystemException {
96          return _shoppingItemPriceLocalService.getShoppingItemPrice(itemPriceId);
97      }
98  
99      public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> getShoppingItemPrices(
100         int start, int end)
101         throws com.liferay.portal.kernel.exception.SystemException {
102         return _shoppingItemPriceLocalService.getShoppingItemPrices(start, end);
103     }
104 
105     public int getShoppingItemPricesCount()
106         throws com.liferay.portal.kernel.exception.SystemException {
107         return _shoppingItemPriceLocalService.getShoppingItemPricesCount();
108     }
109 
110     public com.liferay.portlet.shopping.model.ShoppingItemPrice updateShoppingItemPrice(
111         com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice)
112         throws com.liferay.portal.kernel.exception.SystemException {
113         return _shoppingItemPriceLocalService.updateShoppingItemPrice(shoppingItemPrice);
114     }
115 
116     public com.liferay.portlet.shopping.model.ShoppingItemPrice updateShoppingItemPrice(
117         com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice,
118         boolean merge)
119         throws com.liferay.portal.kernel.exception.SystemException {
120         return _shoppingItemPriceLocalService.updateShoppingItemPrice(shoppingItemPrice,
121             merge);
122     }
123 
124     public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> getItemPrices(
125         long itemId)
126         throws com.liferay.portal.kernel.exception.PortalException,
127             com.liferay.portal.kernel.exception.SystemException {
128         return _shoppingItemPriceLocalService.getItemPrices(itemId);
129     }
130 
131     public ShoppingItemPriceLocalService getWrappedShoppingItemPriceLocalService() {
132         return _shoppingItemPriceLocalService;
133     }
134 
135     private ShoppingItemPriceLocalService _shoppingItemPriceLocalService;
136 }