001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.shopping.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link ShoppingOrderService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ShoppingOrderService
024     * @generated
025     */
026    public class ShoppingOrderServiceWrapper implements ShoppingOrderService {
027            public ShoppingOrderServiceWrapper(
028                    ShoppingOrderService shoppingOrderService) {
029                    _shoppingOrderService = shoppingOrderService;
030            }
031    
032            public void completeOrder(long groupId, java.lang.String number,
033                    java.lang.String ppTxnId, java.lang.String ppPaymentStatus,
034                    double ppPaymentGross, java.lang.String ppReceiverEmail,
035                    java.lang.String ppPayerEmail)
036                    throws com.liferay.portal.kernel.exception.PortalException,
037                            com.liferay.portal.kernel.exception.SystemException {
038                    _shoppingOrderService.completeOrder(groupId, number, ppTxnId,
039                            ppPaymentStatus, ppPaymentGross, ppReceiverEmail, ppPayerEmail);
040            }
041    
042            public void deleteOrder(long groupId, long orderId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _shoppingOrderService.deleteOrder(groupId, orderId);
046            }
047    
048            public com.liferay.portlet.shopping.model.ShoppingOrder getOrder(
049                    long groupId, long orderId)
050                    throws com.liferay.portal.kernel.exception.PortalException,
051                            com.liferay.portal.kernel.exception.SystemException {
052                    return _shoppingOrderService.getOrder(groupId, orderId);
053            }
054    
055            public void sendEmail(long groupId, long orderId, java.lang.String emailType)
056                    throws com.liferay.portal.kernel.exception.PortalException,
057                            com.liferay.portal.kernel.exception.SystemException {
058                    _shoppingOrderService.sendEmail(groupId, orderId, emailType);
059            }
060    
061            public com.liferay.portlet.shopping.model.ShoppingOrder updateOrder(
062                    long groupId, long orderId, java.lang.String ppTxnId,
063                    java.lang.String ppPaymentStatus, double ppPaymentGross,
064                    java.lang.String ppReceiverEmail, java.lang.String ppPayerEmail)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    return _shoppingOrderService.updateOrder(groupId, orderId, ppTxnId,
068                            ppPaymentStatus, ppPaymentGross, ppReceiverEmail, ppPayerEmail);
069            }
070    
071            public com.liferay.portlet.shopping.model.ShoppingOrder updateOrder(
072                    long groupId, long orderId, java.lang.String billingFirstName,
073                    java.lang.String billingLastName, java.lang.String billingEmailAddress,
074                    java.lang.String billingCompany, java.lang.String billingStreet,
075                    java.lang.String billingCity, java.lang.String billingState,
076                    java.lang.String billingZip, java.lang.String billingCountry,
077                    java.lang.String billingPhone, boolean shipToBilling,
078                    java.lang.String shippingFirstName, java.lang.String shippingLastName,
079                    java.lang.String shippingEmailAddress,
080                    java.lang.String shippingCompany, java.lang.String shippingStreet,
081                    java.lang.String shippingCity, java.lang.String shippingState,
082                    java.lang.String shippingZip, java.lang.String shippingCountry,
083                    java.lang.String shippingPhone, java.lang.String ccName,
084                    java.lang.String ccType, java.lang.String ccNumber, int ccExpMonth,
085                    int ccExpYear, java.lang.String ccVerNumber, java.lang.String comments)
086                    throws com.liferay.portal.kernel.exception.PortalException,
087                            com.liferay.portal.kernel.exception.SystemException {
088                    return _shoppingOrderService.updateOrder(groupId, orderId,
089                            billingFirstName, billingLastName, billingEmailAddress,
090                            billingCompany, billingStreet, billingCity, billingState,
091                            billingZip, billingCountry, billingPhone, shipToBilling,
092                            shippingFirstName, shippingLastName, shippingEmailAddress,
093                            shippingCompany, shippingStreet, shippingCity, shippingState,
094                            shippingZip, shippingCountry, shippingPhone, ccName, ccType,
095                            ccNumber, ccExpMonth, ccExpYear, ccVerNumber, comments);
096            }
097    
098            public ShoppingOrderService getWrappedShoppingOrderService() {
099                    return _shoppingOrderService;
100            }
101    
102            private ShoppingOrderService _shoppingOrderService;
103    }