1
22
23 package com.liferay.portlet.shopping.service;
24
25
26
42 public class ShoppingCouponLocalServiceWrapper
43 implements ShoppingCouponLocalService {
44 public ShoppingCouponLocalServiceWrapper(
45 ShoppingCouponLocalService shoppingCouponLocalService) {
46 _shoppingCouponLocalService = shoppingCouponLocalService;
47 }
48
49 public com.liferay.portlet.shopping.model.ShoppingCoupon addShoppingCoupon(
50 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
51 throws com.liferay.portal.SystemException {
52 return _shoppingCouponLocalService.addShoppingCoupon(shoppingCoupon);
53 }
54
55 public com.liferay.portlet.shopping.model.ShoppingCoupon createShoppingCoupon(
56 long couponId) {
57 return _shoppingCouponLocalService.createShoppingCoupon(couponId);
58 }
59
60 public void deleteShoppingCoupon(long couponId)
61 throws com.liferay.portal.PortalException,
62 com.liferay.portal.SystemException {
63 _shoppingCouponLocalService.deleteShoppingCoupon(couponId);
64 }
65
66 public void deleteShoppingCoupon(
67 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
68 throws com.liferay.portal.SystemException {
69 _shoppingCouponLocalService.deleteShoppingCoupon(shoppingCoupon);
70 }
71
72 public java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74 throws com.liferay.portal.SystemException {
75 return _shoppingCouponLocalService.dynamicQuery(dynamicQuery);
76 }
77
78 public java.util.List<Object> dynamicQuery(
79 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80 int end) throws com.liferay.portal.SystemException {
81 return _shoppingCouponLocalService.dynamicQuery(dynamicQuery, start, end);
82 }
83
84 public com.liferay.portlet.shopping.model.ShoppingCoupon getShoppingCoupon(
85 long couponId)
86 throws com.liferay.portal.PortalException,
87 com.liferay.portal.SystemException {
88 return _shoppingCouponLocalService.getShoppingCoupon(couponId);
89 }
90
91 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> getShoppingCoupons(
92 int start, int end) throws com.liferay.portal.SystemException {
93 return _shoppingCouponLocalService.getShoppingCoupons(start, end);
94 }
95
96 public int getShoppingCouponsCount()
97 throws com.liferay.portal.SystemException {
98 return _shoppingCouponLocalService.getShoppingCouponsCount();
99 }
100
101 public com.liferay.portlet.shopping.model.ShoppingCoupon updateShoppingCoupon(
102 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
103 throws com.liferay.portal.SystemException {
104 return _shoppingCouponLocalService.updateShoppingCoupon(shoppingCoupon);
105 }
106
107 public com.liferay.portlet.shopping.model.ShoppingCoupon updateShoppingCoupon(
108 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon,
109 boolean merge) throws com.liferay.portal.SystemException {
110 return _shoppingCouponLocalService.updateShoppingCoupon(shoppingCoupon,
111 merge);
112 }
113
114 public com.liferay.portlet.shopping.model.ShoppingCoupon addCoupon(
115 long userId, java.lang.String code, boolean autoCode,
116 java.lang.String name, java.lang.String description,
117 int startDateMonth, int startDateDay, int startDateYear,
118 int startDateHour, int startDateMinute, int endDateMonth,
119 int endDateDay, int endDateYear, int endDateHour, int endDateMinute,
120 boolean neverExpire, boolean active, java.lang.String limitCategories,
121 java.lang.String limitSkus, double minOrder, double discount,
122 java.lang.String discountType,
123 com.liferay.portal.service.ServiceContext serviceContext)
124 throws com.liferay.portal.PortalException,
125 com.liferay.portal.SystemException {
126 return _shoppingCouponLocalService.addCoupon(userId, code, autoCode,
127 name, description, startDateMonth, startDateDay, startDateYear,
128 startDateHour, startDateMinute, endDateMonth, endDateDay,
129 endDateYear, endDateHour, endDateMinute, neverExpire, active,
130 limitCategories, limitSkus, minOrder, discount, discountType,
131 serviceContext);
132 }
133
134 public void deleteCoupon(long couponId)
135 throws com.liferay.portal.PortalException,
136 com.liferay.portal.SystemException {
137 _shoppingCouponLocalService.deleteCoupon(couponId);
138 }
139
140 public void deleteCoupons(long groupId)
141 throws com.liferay.portal.SystemException {
142 _shoppingCouponLocalService.deleteCoupons(groupId);
143 }
144
145 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon(
146 long couponId)
147 throws com.liferay.portal.PortalException,
148 com.liferay.portal.SystemException {
149 return _shoppingCouponLocalService.getCoupon(couponId);
150 }
151
152 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon(
153 java.lang.String code)
154 throws com.liferay.portal.PortalException,
155 com.liferay.portal.SystemException {
156 return _shoppingCouponLocalService.getCoupon(code);
157 }
158
159 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> search(
160 long groupId, long companyId, java.lang.String code, boolean active,
161 java.lang.String discountType, boolean andOperator, int start, int end)
162 throws com.liferay.portal.SystemException {
163 return _shoppingCouponLocalService.search(groupId, companyId, code,
164 active, discountType, andOperator, start, end);
165 }
166
167 public int searchCount(long groupId, long companyId, java.lang.String code,
168 boolean active, java.lang.String discountType, boolean andOperator)
169 throws com.liferay.portal.SystemException {
170 return _shoppingCouponLocalService.searchCount(groupId, companyId,
171 code, active, discountType, andOperator);
172 }
173
174 public com.liferay.portlet.shopping.model.ShoppingCoupon updateCoupon(
175 long userId, long couponId, java.lang.String name,
176 java.lang.String description, int startDateMonth, int startDateDay,
177 int startDateYear, int startDateHour, int startDateMinute,
178 int endDateMonth, int endDateDay, int endDateYear, int endDateHour,
179 int endDateMinute, boolean neverExpire, boolean active,
180 java.lang.String limitCategories, java.lang.String limitSkus,
181 double minOrder, double discount, java.lang.String discountType,
182 com.liferay.portal.service.ServiceContext serviceContext)
183 throws com.liferay.portal.PortalException,
184 com.liferay.portal.SystemException {
185 return _shoppingCouponLocalService.updateCoupon(userId, couponId, name,
186 description, startDateMonth, startDateDay, startDateYear,
187 startDateHour, startDateMinute, endDateMonth, endDateDay,
188 endDateYear, endDateHour, endDateMinute, neverExpire, active,
189 limitCategories, limitSkus, minOrder, discount, discountType,
190 serviceContext);
191 }
192
193 public ShoppingCouponLocalService getWrappedShoppingCouponLocalService() {
194 return _shoppingCouponLocalService;
195 }
196
197 private ShoppingCouponLocalService _shoppingCouponLocalService;
198 }