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="ShoppingOrderServiceUtil.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 ShoppingOrderService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       ShoppingOrderService
31   * @generated
32   */
33  public class ShoppingOrderServiceWrapper implements ShoppingOrderService {
34      public ShoppingOrderServiceWrapper(
35          ShoppingOrderService shoppingOrderService) {
36          _shoppingOrderService = shoppingOrderService;
37      }
38  
39      public void completeOrder(long groupId, java.lang.String number,
40          java.lang.String ppTxnId, java.lang.String ppPaymentStatus,
41          double ppPaymentGross, java.lang.String ppReceiverEmail,
42          java.lang.String ppPayerEmail)
43          throws com.liferay.portal.PortalException,
44              com.liferay.portal.SystemException {
45          _shoppingOrderService.completeOrder(groupId, number, ppTxnId,
46              ppPaymentStatus, ppPaymentGross, ppReceiverEmail, ppPayerEmail);
47      }
48  
49      public void deleteOrder(long groupId, long orderId)
50          throws com.liferay.portal.PortalException,
51              com.liferay.portal.SystemException {
52          _shoppingOrderService.deleteOrder(groupId, orderId);
53      }
54  
55      public com.liferay.portlet.shopping.model.ShoppingOrder getOrder(
56          long groupId, long orderId)
57          throws com.liferay.portal.PortalException,
58              com.liferay.portal.SystemException {
59          return _shoppingOrderService.getOrder(groupId, orderId);
60      }
61  
62      public void sendEmail(long groupId, long orderId, java.lang.String emailType)
63          throws com.liferay.portal.PortalException,
64              com.liferay.portal.SystemException {
65          _shoppingOrderService.sendEmail(groupId, orderId, emailType);
66      }
67  
68      public com.liferay.portlet.shopping.model.ShoppingOrder updateOrder(
69          long groupId, long orderId, java.lang.String ppTxnId,
70          java.lang.String ppPaymentStatus, double ppPaymentGross,
71          java.lang.String ppReceiverEmail, java.lang.String ppPayerEmail)
72          throws com.liferay.portal.PortalException,
73              com.liferay.portal.SystemException {
74          return _shoppingOrderService.updateOrder(groupId, orderId, ppTxnId,
75              ppPaymentStatus, ppPaymentGross, ppReceiverEmail, ppPayerEmail);
76      }
77  
78      public com.liferay.portlet.shopping.model.ShoppingOrder updateOrder(
79          long groupId, long orderId, java.lang.String billingFirstName,
80          java.lang.String billingLastName, java.lang.String billingEmailAddress,
81          java.lang.String billingCompany, java.lang.String billingStreet,
82          java.lang.String billingCity, java.lang.String billingState,
83          java.lang.String billingZip, java.lang.String billingCountry,
84          java.lang.String billingPhone, boolean shipToBilling,
85          java.lang.String shippingFirstName, java.lang.String shippingLastName,
86          java.lang.String shippingEmailAddress,
87          java.lang.String shippingCompany, java.lang.String shippingStreet,
88          java.lang.String shippingCity, java.lang.String shippingState,
89          java.lang.String shippingZip, java.lang.String shippingCountry,
90          java.lang.String shippingPhone, java.lang.String ccName,
91          java.lang.String ccType, java.lang.String ccNumber, int ccExpMonth,
92          int ccExpYear, java.lang.String ccVerNumber, java.lang.String comments)
93          throws com.liferay.portal.PortalException,
94              com.liferay.portal.SystemException {
95          return _shoppingOrderService.updateOrder(groupId, orderId,
96              billingFirstName, billingLastName, billingEmailAddress,
97              billingCompany, billingStreet, billingCity, billingState,
98              billingZip, billingCountry, billingPhone, shipToBilling,
99              shippingFirstName, shippingLastName, shippingEmailAddress,
100             shippingCompany, shippingStreet, shippingCity, shippingState,
101             shippingZip, shippingCountry, shippingPhone, ccName, ccType,
102             ccNumber, ccExpMonth, ccExpYear, ccVerNumber, comments);
103     }
104 
105     public ShoppingOrderService getWrappedShoppingOrderService() {
106         return _shoppingOrderService;
107     }
108 
109     private ShoppingOrderService _shoppingOrderService;
110 }