1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.shopping.service;
16  
17  /**
18   * <a href="ShoppingItemPriceLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link ShoppingItemPriceLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       ShoppingItemPriceLocalService
31   * @generated
32   */
33  public class ShoppingItemPriceLocalServiceWrapper
34      implements ShoppingItemPriceLocalService {
35      public ShoppingItemPriceLocalServiceWrapper(
36          ShoppingItemPriceLocalService shoppingItemPriceLocalService) {
37          _shoppingItemPriceLocalService = shoppingItemPriceLocalService;
38      }
39  
40      public com.liferay.portlet.shopping.model.ShoppingItemPrice addShoppingItemPrice(
41          com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice)
42          throws com.liferay.portal.SystemException {
43          return _shoppingItemPriceLocalService.addShoppingItemPrice(shoppingItemPrice);
44      }
45  
46      public com.liferay.portlet.shopping.model.ShoppingItemPrice createShoppingItemPrice(
47          long itemPriceId) {
48          return _shoppingItemPriceLocalService.createShoppingItemPrice(itemPriceId);
49      }
50  
51      public void deleteShoppingItemPrice(long itemPriceId)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException {
54          _shoppingItemPriceLocalService.deleteShoppingItemPrice(itemPriceId);
55      }
56  
57      public void deleteShoppingItemPrice(
58          com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice)
59          throws com.liferay.portal.SystemException {
60          _shoppingItemPriceLocalService.deleteShoppingItemPrice(shoppingItemPrice);
61      }
62  
63      @SuppressWarnings("rawtypes")
64      public java.util.List dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.SystemException {
67          return _shoppingItemPriceLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      @SuppressWarnings("rawtypes")
71      public java.util.List dynamicQuery(
72          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73          int end) throws com.liferay.portal.SystemException {
74          return _shoppingItemPriceLocalService.dynamicQuery(dynamicQuery, start,
75              end);
76      }
77  
78      @SuppressWarnings("rawtypes")
79      public java.util.List dynamicQuery(
80          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
81          int end,
82          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83          throws com.liferay.portal.SystemException {
84          return _shoppingItemPriceLocalService.dynamicQuery(dynamicQuery, start,
85              end, orderByComparator);
86      }
87  
88      public int dynamicQueryCount(
89          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
90          throws com.liferay.portal.SystemException {
91          return _shoppingItemPriceLocalService.dynamicQueryCount(dynamicQuery);
92      }
93  
94      public com.liferay.portlet.shopping.model.ShoppingItemPrice getShoppingItemPrice(
95          long itemPriceId)
96          throws com.liferay.portal.PortalException,
97              com.liferay.portal.SystemException {
98          return _shoppingItemPriceLocalService.getShoppingItemPrice(itemPriceId);
99      }
100 
101     public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> getShoppingItemPrices(
102         int start, int end) throws com.liferay.portal.SystemException {
103         return _shoppingItemPriceLocalService.getShoppingItemPrices(start, end);
104     }
105 
106     public int getShoppingItemPricesCount()
107         throws com.liferay.portal.SystemException {
108         return _shoppingItemPriceLocalService.getShoppingItemPricesCount();
109     }
110 
111     public com.liferay.portlet.shopping.model.ShoppingItemPrice updateShoppingItemPrice(
112         com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice)
113         throws com.liferay.portal.SystemException {
114         return _shoppingItemPriceLocalService.updateShoppingItemPrice(shoppingItemPrice);
115     }
116 
117     public com.liferay.portlet.shopping.model.ShoppingItemPrice updateShoppingItemPrice(
118         com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice,
119         boolean merge) throws com.liferay.portal.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.PortalException,
127             com.liferay.portal.SystemException {
128         return _shoppingItemPriceLocalService.getItemPrices(itemId);
129     }
130 
131     public ShoppingItemPriceLocalService getWrappedShoppingItemPriceLocalService() {
132         return _shoppingItemPriceLocalService;
133     }
134 
135     private ShoppingItemPriceLocalService _shoppingItemPriceLocalService;
136 }