001
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
028 @ProviderType
029 public class ShoppingOrderServiceWrapper implements ShoppingOrderService,
030 ServiceWrapper<ShoppingOrderService> {
031 public ShoppingOrderServiceWrapper(
032 ShoppingOrderService shoppingOrderService) {
033 _shoppingOrderService = shoppingOrderService;
034 }
035
036
041 @Override
042 public java.lang.String getBeanIdentifier() {
043 return _shoppingOrderService.getBeanIdentifier();
044 }
045
046
051 @Override
052 public void setBeanIdentifier(java.lang.String beanIdentifier) {
053 _shoppingOrderService.setBeanIdentifier(beanIdentifier);
054 }
055
056 @Override
057 public void completeOrder(long groupId, java.lang.String number,
058 java.lang.String ppTxnId, java.lang.String ppPaymentStatus,
059 double ppPaymentGross, java.lang.String ppReceiverEmail,
060 java.lang.String ppPayerEmail,
061 com.liferay.portal.service.ServiceContext serviceContext)
062 throws com.liferay.portal.kernel.exception.PortalException,
063 com.liferay.portal.kernel.exception.SystemException {
064 _shoppingOrderService.completeOrder(groupId, number, ppTxnId,
065 ppPaymentStatus, ppPaymentGross, ppReceiverEmail, ppPayerEmail,
066 serviceContext);
067 }
068
069 @Override
070 public void deleteOrder(long groupId, long orderId)
071 throws com.liferay.portal.kernel.exception.PortalException,
072 com.liferay.portal.kernel.exception.SystemException {
073 _shoppingOrderService.deleteOrder(groupId, orderId);
074 }
075
076 @Override
077 public com.liferay.portlet.shopping.model.ShoppingOrder getOrder(
078 long groupId, long orderId)
079 throws com.liferay.portal.kernel.exception.PortalException,
080 com.liferay.portal.kernel.exception.SystemException {
081 return _shoppingOrderService.getOrder(groupId, orderId);
082 }
083
084 @Override
085 public void sendEmail(long groupId, long orderId,
086 java.lang.String emailType,
087 com.liferay.portal.service.ServiceContext serviceContext)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException {
090 _shoppingOrderService.sendEmail(groupId, orderId, emailType,
091 serviceContext);
092 }
093
094 @Override
095 public com.liferay.portlet.shopping.model.ShoppingOrder updateOrder(
096 long groupId, long orderId, java.lang.String ppTxnId,
097 java.lang.String ppPaymentStatus, double ppPaymentGross,
098 java.lang.String ppReceiverEmail, java.lang.String ppPayerEmail)
099 throws com.liferay.portal.kernel.exception.PortalException,
100 com.liferay.portal.kernel.exception.SystemException {
101 return _shoppingOrderService.updateOrder(groupId, orderId, ppTxnId,
102 ppPaymentStatus, ppPaymentGross, ppReceiverEmail, ppPayerEmail);
103 }
104
105 @Override
106 public com.liferay.portlet.shopping.model.ShoppingOrder updateOrder(
107 long groupId, long orderId, java.lang.String billingFirstName,
108 java.lang.String billingLastName, java.lang.String billingEmailAddress,
109 java.lang.String billingCompany, java.lang.String billingStreet,
110 java.lang.String billingCity, java.lang.String billingState,
111 java.lang.String billingZip, java.lang.String billingCountry,
112 java.lang.String billingPhone, boolean shipToBilling,
113 java.lang.String shippingFirstName, java.lang.String shippingLastName,
114 java.lang.String shippingEmailAddress,
115 java.lang.String shippingCompany, java.lang.String shippingStreet,
116 java.lang.String shippingCity, java.lang.String shippingState,
117 java.lang.String shippingZip, java.lang.String shippingCountry,
118 java.lang.String shippingPhone, java.lang.String ccName,
119 java.lang.String ccType, java.lang.String ccNumber, int ccExpMonth,
120 int ccExpYear, java.lang.String ccVerNumber, java.lang.String comments)
121 throws com.liferay.portal.kernel.exception.PortalException,
122 com.liferay.portal.kernel.exception.SystemException {
123 return _shoppingOrderService.updateOrder(groupId, orderId,
124 billingFirstName, billingLastName, billingEmailAddress,
125 billingCompany, billingStreet, billingCity, billingState,
126 billingZip, billingCountry, billingPhone, shipToBilling,
127 shippingFirstName, shippingLastName, shippingEmailAddress,
128 shippingCompany, shippingStreet, shippingCity, shippingState,
129 shippingZip, shippingCountry, shippingPhone, ccName, ccType,
130 ccNumber, ccExpMonth, ccExpYear, ccVerNumber, comments);
131 }
132
133
136 public ShoppingOrderService getWrappedShoppingOrderService() {
137 return _shoppingOrderService;
138 }
139
140
143 public void setWrappedShoppingOrderService(
144 ShoppingOrderService shoppingOrderService) {
145 _shoppingOrderService = shoppingOrderService;
146 }
147
148 @Override
149 public ShoppingOrderService getWrappedService() {
150 return _shoppingOrderService;
151 }
152
153 @Override
154 public void setWrappedService(ShoppingOrderService shoppingOrderService) {
155 _shoppingOrderService = shoppingOrderService;
156 }
157
158 private ShoppingOrderService _shoppingOrderService;
159 }