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