001
014
015 package com.liferay.portlet.shopping.service;
016
017
026 public class ShoppingOrderServiceWrapper implements ShoppingOrderService {
027 public ShoppingOrderServiceWrapper(
028 ShoppingOrderService shoppingOrderService) {
029 _shoppingOrderService = shoppingOrderService;
030 }
031
032 public void completeOrder(long groupId, java.lang.String number,
033 java.lang.String ppTxnId, java.lang.String ppPaymentStatus,
034 double ppPaymentGross, java.lang.String ppReceiverEmail,
035 java.lang.String ppPayerEmail)
036 throws com.liferay.portal.kernel.exception.PortalException,
037 com.liferay.portal.kernel.exception.SystemException {
038 _shoppingOrderService.completeOrder(groupId, number, ppTxnId,
039 ppPaymentStatus, ppPaymentGross, ppReceiverEmail, ppPayerEmail);
040 }
041
042 public void deleteOrder(long groupId, long orderId)
043 throws com.liferay.portal.kernel.exception.PortalException,
044 com.liferay.portal.kernel.exception.SystemException {
045 _shoppingOrderService.deleteOrder(groupId, orderId);
046 }
047
048 public com.liferay.portlet.shopping.model.ShoppingOrder getOrder(
049 long groupId, long orderId)
050 throws com.liferay.portal.kernel.exception.PortalException,
051 com.liferay.portal.kernel.exception.SystemException {
052 return _shoppingOrderService.getOrder(groupId, orderId);
053 }
054
055 public void sendEmail(long groupId, long orderId, java.lang.String emailType)
056 throws com.liferay.portal.kernel.exception.PortalException,
057 com.liferay.portal.kernel.exception.SystemException {
058 _shoppingOrderService.sendEmail(groupId, orderId, emailType);
059 }
060
061 public com.liferay.portlet.shopping.model.ShoppingOrder updateOrder(
062 long groupId, long orderId, java.lang.String ppTxnId,
063 java.lang.String ppPaymentStatus, double ppPaymentGross,
064 java.lang.String ppReceiverEmail, java.lang.String ppPayerEmail)
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException {
067 return _shoppingOrderService.updateOrder(groupId, orderId, ppTxnId,
068 ppPaymentStatus, ppPaymentGross, ppReceiverEmail, ppPayerEmail);
069 }
070
071 public com.liferay.portlet.shopping.model.ShoppingOrder updateOrder(
072 long groupId, long orderId, java.lang.String billingFirstName,
073 java.lang.String billingLastName, java.lang.String billingEmailAddress,
074 java.lang.String billingCompany, java.lang.String billingStreet,
075 java.lang.String billingCity, java.lang.String billingState,
076 java.lang.String billingZip, java.lang.String billingCountry,
077 java.lang.String billingPhone, boolean shipToBilling,
078 java.lang.String shippingFirstName, java.lang.String shippingLastName,
079 java.lang.String shippingEmailAddress,
080 java.lang.String shippingCompany, java.lang.String shippingStreet,
081 java.lang.String shippingCity, java.lang.String shippingState,
082 java.lang.String shippingZip, java.lang.String shippingCountry,
083 java.lang.String shippingPhone, java.lang.String ccName,
084 java.lang.String ccType, java.lang.String ccNumber, int ccExpMonth,
085 int ccExpYear, java.lang.String ccVerNumber, java.lang.String comments)
086 throws com.liferay.portal.kernel.exception.PortalException,
087 com.liferay.portal.kernel.exception.SystemException {
088 return _shoppingOrderService.updateOrder(groupId, orderId,
089 billingFirstName, billingLastName, billingEmailAddress,
090 billingCompany, billingStreet, billingCity, billingState,
091 billingZip, billingCountry, billingPhone, shipToBilling,
092 shippingFirstName, shippingLastName, shippingEmailAddress,
093 shippingCompany, shippingStreet, shippingCity, shippingState,
094 shippingZip, shippingCountry, shippingPhone, ccName, ccType,
095 ccNumber, ccExpMonth, ccExpYear, ccVerNumber, comments);
096 }
097
098 public ShoppingOrderService getWrappedShoppingOrderService() {
099 return _shoppingOrderService;
100 }
101
102 private ShoppingOrderService _shoppingOrderService;
103 }