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="ShoppingOrderItemLocalServiceUtil.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 ShoppingOrderItemLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       ShoppingOrderItemLocalService
31   * @generated
32   */
33  public class ShoppingOrderItemLocalServiceWrapper
34      implements ShoppingOrderItemLocalService {
35      public ShoppingOrderItemLocalServiceWrapper(
36          ShoppingOrderItemLocalService shoppingOrderItemLocalService) {
37          _shoppingOrderItemLocalService = shoppingOrderItemLocalService;
38      }
39  
40      public com.liferay.portlet.shopping.model.ShoppingOrderItem addShoppingOrderItem(
41          com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem)
42          throws com.liferay.portal.SystemException {
43          return _shoppingOrderItemLocalService.addShoppingOrderItem(shoppingOrderItem);
44      }
45  
46      public com.liferay.portlet.shopping.model.ShoppingOrderItem createShoppingOrderItem(
47          long orderItemId) {
48          return _shoppingOrderItemLocalService.createShoppingOrderItem(orderItemId);
49      }
50  
51      public void deleteShoppingOrderItem(long orderItemId)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException {
54          _shoppingOrderItemLocalService.deleteShoppingOrderItem(orderItemId);
55      }
56  
57      public void deleteShoppingOrderItem(
58          com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem)
59          throws com.liferay.portal.SystemException {
60          _shoppingOrderItemLocalService.deleteShoppingOrderItem(shoppingOrderItem);
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 _shoppingOrderItemLocalService.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 _shoppingOrderItemLocalService.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 _shoppingOrderItemLocalService.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 _shoppingOrderItemLocalService.dynamicQueryCount(dynamicQuery);
92      }
93  
94      public com.liferay.portlet.shopping.model.ShoppingOrderItem getShoppingOrderItem(
95          long orderItemId)
96          throws com.liferay.portal.PortalException,
97              com.liferay.portal.SystemException {
98          return _shoppingOrderItemLocalService.getShoppingOrderItem(orderItemId);
99      }
100 
101     public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrderItem> getShoppingOrderItems(
102         int start, int end) throws com.liferay.portal.SystemException {
103         return _shoppingOrderItemLocalService.getShoppingOrderItems(start, end);
104     }
105 
106     public int getShoppingOrderItemsCount()
107         throws com.liferay.portal.SystemException {
108         return _shoppingOrderItemLocalService.getShoppingOrderItemsCount();
109     }
110 
111     public com.liferay.portlet.shopping.model.ShoppingOrderItem updateShoppingOrderItem(
112         com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem)
113         throws com.liferay.portal.SystemException {
114         return _shoppingOrderItemLocalService.updateShoppingOrderItem(shoppingOrderItem);
115     }
116 
117     public com.liferay.portlet.shopping.model.ShoppingOrderItem updateShoppingOrderItem(
118         com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem,
119         boolean merge) throws com.liferay.portal.SystemException {
120         return _shoppingOrderItemLocalService.updateShoppingOrderItem(shoppingOrderItem,
121             merge);
122     }
123 
124     public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrderItem> getOrderItems(
125         long orderId) throws com.liferay.portal.SystemException {
126         return _shoppingOrderItemLocalService.getOrderItems(orderId);
127     }
128 
129     public ShoppingOrderItemLocalService getWrappedShoppingOrderItemLocalService() {
130         return _shoppingOrderItemLocalService;
131     }
132 
133     private ShoppingOrderItemLocalService _shoppingOrderItemLocalService;
134 }