001    /**
002     * Copyright (c) 2000-2012 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    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link ShoppingOrderService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       ShoppingOrderService
026     * @generated
027     */
028    public class ShoppingOrderServiceWrapper implements ShoppingOrderService,
029            ServiceWrapper<ShoppingOrderService> {
030            public ShoppingOrderServiceWrapper(
031                    ShoppingOrderService shoppingOrderService) {
032                    _shoppingOrderService = shoppingOrderService;
033            }
034    
035            public void completeOrder(long groupId, java.lang.String number,
036                    java.lang.String ppTxnId, java.lang.String ppPaymentStatus,
037                    double ppPaymentGross, java.lang.String ppReceiverEmail,
038                    java.lang.String ppPayerEmail,
039                    com.liferay.portal.service.ServiceContext serviceContext)
040                    throws com.liferay.portal.kernel.exception.PortalException,
041                            com.liferay.portal.kernel.exception.SystemException {
042                    _shoppingOrderService.completeOrder(groupId, number, ppTxnId,
043                            ppPaymentStatus, ppPaymentGross, ppReceiverEmail, ppPayerEmail,
044                            serviceContext);
045            }
046    
047            public void deleteOrder(long groupId, long orderId)
048                    throws com.liferay.portal.kernel.exception.PortalException,
049                            com.liferay.portal.kernel.exception.SystemException {
050                    _shoppingOrderService.deleteOrder(groupId, orderId);
051            }
052    
053            public com.liferay.portlet.shopping.model.ShoppingOrder getOrder(
054                    long groupId, long orderId)
055                    throws com.liferay.portal.kernel.exception.PortalException,
056                            com.liferay.portal.kernel.exception.SystemException {
057                    return _shoppingOrderService.getOrder(groupId, orderId);
058            }
059    
060            public void sendEmail(long groupId, long orderId,
061                    java.lang.String emailType,
062                    com.liferay.portal.service.ServiceContext serviceContext)
063                    throws com.liferay.portal.kernel.exception.PortalException,
064                            com.liferay.portal.kernel.exception.SystemException {
065                    _shoppingOrderService.sendEmail(groupId, orderId, emailType,
066                            serviceContext);
067            }
068    
069            public com.liferay.portlet.shopping.model.ShoppingOrder updateOrder(
070                    long groupId, long orderId, java.lang.String ppTxnId,
071                    java.lang.String ppPaymentStatus, double ppPaymentGross,
072                    java.lang.String ppReceiverEmail, java.lang.String ppPayerEmail)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _shoppingOrderService.updateOrder(groupId, orderId, ppTxnId,
076                            ppPaymentStatus, ppPaymentGross, ppReceiverEmail, ppPayerEmail);
077            }
078    
079            public com.liferay.portlet.shopping.model.ShoppingOrder updateOrder(
080                    long groupId, long orderId, java.lang.String billingFirstName,
081                    java.lang.String billingLastName, java.lang.String billingEmailAddress,
082                    java.lang.String billingCompany, java.lang.String billingStreet,
083                    java.lang.String billingCity, java.lang.String billingState,
084                    java.lang.String billingZip, java.lang.String billingCountry,
085                    java.lang.String billingPhone, boolean shipToBilling,
086                    java.lang.String shippingFirstName, java.lang.String shippingLastName,
087                    java.lang.String shippingEmailAddress,
088                    java.lang.String shippingCompany, java.lang.String shippingStreet,
089                    java.lang.String shippingCity, java.lang.String shippingState,
090                    java.lang.String shippingZip, java.lang.String shippingCountry,
091                    java.lang.String shippingPhone, java.lang.String ccName,
092                    java.lang.String ccType, java.lang.String ccNumber, int ccExpMonth,
093                    int ccExpYear, java.lang.String ccVerNumber, java.lang.String comments)
094                    throws com.liferay.portal.kernel.exception.PortalException,
095                            com.liferay.portal.kernel.exception.SystemException {
096                    return _shoppingOrderService.updateOrder(groupId, orderId,
097                            billingFirstName, billingLastName, billingEmailAddress,
098                            billingCompany, billingStreet, billingCity, billingState,
099                            billingZip, billingCountry, billingPhone, shipToBilling,
100                            shippingFirstName, shippingLastName, shippingEmailAddress,
101                            shippingCompany, shippingStreet, shippingCity, shippingState,
102                            shippingZip, shippingCountry, shippingPhone, ccName, ccType,
103                            ccNumber, ccExpMonth, ccExpYear, ccVerNumber, comments);
104            }
105    
106            /**
107             * @deprecated Renamed to {@link #getWrappedService}
108             */
109            public ShoppingOrderService getWrappedShoppingOrderService() {
110                    return _shoppingOrderService;
111            }
112    
113            /**
114             * @deprecated Renamed to {@link #setWrappedService}
115             */
116            public void setWrappedShoppingOrderService(
117                    ShoppingOrderService shoppingOrderService) {
118                    _shoppingOrderService = shoppingOrderService;
119            }
120    
121            public ShoppingOrderService getWrappedService() {
122                    return _shoppingOrderService;
123            }
124    
125            public void setWrappedService(ShoppingOrderService shoppingOrderService) {
126                    _shoppingOrderService = shoppingOrderService;
127            }
128    
129            private ShoppingOrderService _shoppingOrderService;
130    }