001
014
015 package com.liferay.portlet.shopping.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class ShoppingOrderServiceWrapper implements ShoppingOrderService,
029 ServiceWrapper<ShoppingOrderService> {
030 public ShoppingOrderServiceWrapper(
031 ShoppingOrderService shoppingOrderService) {
032 _shoppingOrderService = shoppingOrderService;
033 }
034
035
040 public java.lang.String getBeanIdentifier() {
041 return _shoppingOrderService.getBeanIdentifier();
042 }
043
044
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
127 public ShoppingOrderService getWrappedShoppingOrderService() {
128 return _shoppingOrderService;
129 }
130
131
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 }