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="ShoppingOrderItemLocalServiceUtil.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 ShoppingOrderItemLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       ShoppingOrderItemLocalService
32   * @generated
33   */
34  public class ShoppingOrderItemLocalServiceWrapper
35      implements ShoppingOrderItemLocalService {
36      public ShoppingOrderItemLocalServiceWrapper(
37          ShoppingOrderItemLocalService shoppingOrderItemLocalService) {
38          _shoppingOrderItemLocalService = shoppingOrderItemLocalService;
39      }
40  
41      public com.liferay.portlet.shopping.model.ShoppingOrderItem addShoppingOrderItem(
42          com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem)
43          throws com.liferay.portal.SystemException {
44          return _shoppingOrderItemLocalService.addShoppingOrderItem(shoppingOrderItem);
45      }
46  
47      public com.liferay.portlet.shopping.model.ShoppingOrderItem createShoppingOrderItem(
48          long orderItemId) {
49          return _shoppingOrderItemLocalService.createShoppingOrderItem(orderItemId);
50      }
51  
52      public void deleteShoppingOrderItem(long orderItemId)
53          throws com.liferay.portal.PortalException,
54              com.liferay.portal.SystemException {
55          _shoppingOrderItemLocalService.deleteShoppingOrderItem(orderItemId);
56      }
57  
58      public void deleteShoppingOrderItem(
59          com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem)
60          throws com.liferay.portal.SystemException {
61          _shoppingOrderItemLocalService.deleteShoppingOrderItem(shoppingOrderItem);
62      }
63  
64      public java.util.List<Object> dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.SystemException {
67          return _shoppingOrderItemLocalService.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.SystemException {
73          return _shoppingOrderItemLocalService.dynamicQuery(dynamicQuery, start,
74              end);
75      }
76  
77      public com.liferay.portlet.shopping.model.ShoppingOrderItem getShoppingOrderItem(
78          long orderItemId)
79          throws com.liferay.portal.PortalException,
80              com.liferay.portal.SystemException {
81          return _shoppingOrderItemLocalService.getShoppingOrderItem(orderItemId);
82      }
83  
84      public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrderItem> getShoppingOrderItems(
85          int start, int end) throws com.liferay.portal.SystemException {
86          return _shoppingOrderItemLocalService.getShoppingOrderItems(start, end);
87      }
88  
89      public int getShoppingOrderItemsCount()
90          throws com.liferay.portal.SystemException {
91          return _shoppingOrderItemLocalService.getShoppingOrderItemsCount();
92      }
93  
94      public com.liferay.portlet.shopping.model.ShoppingOrderItem updateShoppingOrderItem(
95          com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem)
96          throws com.liferay.portal.SystemException {
97          return _shoppingOrderItemLocalService.updateShoppingOrderItem(shoppingOrderItem);
98      }
99  
100     public com.liferay.portlet.shopping.model.ShoppingOrderItem updateShoppingOrderItem(
101         com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem,
102         boolean merge) throws com.liferay.portal.SystemException {
103         return _shoppingOrderItemLocalService.updateShoppingOrderItem(shoppingOrderItem,
104             merge);
105     }
106 
107     public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrderItem> getOrderItems(
108         long orderId) throws com.liferay.portal.SystemException {
109         return _shoppingOrderItemLocalService.getOrderItems(orderId);
110     }
111 
112     public ShoppingOrderItemLocalService getWrappedShoppingOrderItemLocalService() {
113         return _shoppingOrderItemLocalService;
114     }
115 
116     private ShoppingOrderItemLocalService _shoppingOrderItemLocalService;
117 }