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