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 ShoppingCouponServiceWrapper implements ShoppingCouponService,
030 ServiceWrapper<ShoppingCouponService> {
031 public ShoppingCouponServiceWrapper(
032 ShoppingCouponService shoppingCouponService) {
033 _shoppingCouponService = shoppingCouponService;
034 }
035
036
041 @Override
042 public java.lang.String getBeanIdentifier() {
043 return _shoppingCouponService.getBeanIdentifier();
044 }
045
046
051 @Override
052 public void setBeanIdentifier(java.lang.String beanIdentifier) {
053 _shoppingCouponService.setBeanIdentifier(beanIdentifier);
054 }
055
056 @Override
057 public com.liferay.portlet.shopping.model.ShoppingCoupon addCoupon(
058 java.lang.String code, boolean autoCode, java.lang.String name,
059 java.lang.String description, int startDateMonth, int startDateDay,
060 int startDateYear, int startDateHour, int startDateMinute,
061 int endDateMonth, int endDateDay, int endDateYear, int endDateHour,
062 int endDateMinute, boolean neverExpire, boolean active,
063 java.lang.String limitCategories, java.lang.String limitSkus,
064 double minOrder, double discount, java.lang.String discountType,
065 com.liferay.portal.service.ServiceContext serviceContext)
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException {
068 return _shoppingCouponService.addCoupon(code, autoCode, name,
069 description, startDateMonth, startDateDay, startDateYear,
070 startDateHour, startDateMinute, endDateMonth, endDateDay,
071 endDateYear, endDateHour, endDateMinute, neverExpire, active,
072 limitCategories, limitSkus, minOrder, discount, discountType,
073 serviceContext);
074 }
075
076 @Override
077 public void deleteCoupon(long groupId, long couponId)
078 throws com.liferay.portal.kernel.exception.PortalException,
079 com.liferay.portal.kernel.exception.SystemException {
080 _shoppingCouponService.deleteCoupon(groupId, couponId);
081 }
082
083 @Override
084 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon(
085 long groupId, long couponId)
086 throws com.liferay.portal.kernel.exception.PortalException,
087 com.liferay.portal.kernel.exception.SystemException {
088 return _shoppingCouponService.getCoupon(groupId, couponId);
089 }
090
091 @Override
092 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> search(
093 long groupId, long companyId, java.lang.String code, boolean active,
094 java.lang.String discountType, boolean andOperator, int start, int end)
095 throws com.liferay.portal.kernel.exception.PortalException,
096 com.liferay.portal.kernel.exception.SystemException {
097 return _shoppingCouponService.search(groupId, companyId, code, active,
098 discountType, andOperator, start, end);
099 }
100
101 @Override
102 public com.liferay.portlet.shopping.model.ShoppingCoupon updateCoupon(
103 long couponId, java.lang.String name, java.lang.String description,
104 int startDateMonth, int startDateDay, int startDateYear,
105 int startDateHour, int startDateMinute, int endDateMonth,
106 int endDateDay, int endDateYear, int endDateHour, int endDateMinute,
107 boolean neverExpire, boolean active, java.lang.String limitCategories,
108 java.lang.String limitSkus, double minOrder, double discount,
109 java.lang.String discountType,
110 com.liferay.portal.service.ServiceContext serviceContext)
111 throws com.liferay.portal.kernel.exception.PortalException,
112 com.liferay.portal.kernel.exception.SystemException {
113 return _shoppingCouponService.updateCoupon(couponId, name, description,
114 startDateMonth, startDateDay, startDateYear, startDateHour,
115 startDateMinute, endDateMonth, endDateDay, endDateYear,
116 endDateHour, endDateMinute, neverExpire, active, limitCategories,
117 limitSkus, minOrder, discount, discountType, serviceContext);
118 }
119
120
123 public ShoppingCouponService getWrappedShoppingCouponService() {
124 return _shoppingCouponService;
125 }
126
127
130 public void setWrappedShoppingCouponService(
131 ShoppingCouponService shoppingCouponService) {
132 _shoppingCouponService = shoppingCouponService;
133 }
134
135 @Override
136 public ShoppingCouponService getWrappedService() {
137 return _shoppingCouponService;
138 }
139
140 @Override
141 public void setWrappedService(ShoppingCouponService shoppingCouponService) {
142 _shoppingCouponService = shoppingCouponService;
143 }
144
145 private ShoppingCouponService _shoppingCouponService;
146 }