001
014
015 package com.liferay.portlet.shopping.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
026 public class ShoppingCouponLocalServiceWrapper
027 implements ShoppingCouponLocalService,
028 ServiceWrapper<ShoppingCouponLocalService> {
029 public ShoppingCouponLocalServiceWrapper(
030 ShoppingCouponLocalService shoppingCouponLocalService) {
031 _shoppingCouponLocalService = shoppingCouponLocalService;
032 }
033
034
041 @Override
042 public com.liferay.portlet.shopping.model.ShoppingCoupon addShoppingCoupon(
043 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _shoppingCouponLocalService.addShoppingCoupon(shoppingCoupon);
046 }
047
048
054 @Override
055 public com.liferay.portlet.shopping.model.ShoppingCoupon createShoppingCoupon(
056 long couponId) {
057 return _shoppingCouponLocalService.createShoppingCoupon(couponId);
058 }
059
060
068 @Override
069 public com.liferay.portlet.shopping.model.ShoppingCoupon deleteShoppingCoupon(
070 long couponId)
071 throws com.liferay.portal.kernel.exception.PortalException,
072 com.liferay.portal.kernel.exception.SystemException {
073 return _shoppingCouponLocalService.deleteShoppingCoupon(couponId);
074 }
075
076
083 @Override
084 public com.liferay.portlet.shopping.model.ShoppingCoupon deleteShoppingCoupon(
085 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
086 throws com.liferay.portal.kernel.exception.SystemException {
087 return _shoppingCouponLocalService.deleteShoppingCoupon(shoppingCoupon);
088 }
089
090 @Override
091 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
092 return _shoppingCouponLocalService.dynamicQuery();
093 }
094
095
102 @Override
103 @SuppressWarnings("rawtypes")
104 public java.util.List dynamicQuery(
105 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return _shoppingCouponLocalService.dynamicQuery(dynamicQuery);
108 }
109
110
123 @Override
124 @SuppressWarnings("rawtypes")
125 public java.util.List dynamicQuery(
126 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
127 int end) throws com.liferay.portal.kernel.exception.SystemException {
128 return _shoppingCouponLocalService.dynamicQuery(dynamicQuery, start, end);
129 }
130
131
145 @Override
146 @SuppressWarnings("rawtypes")
147 public java.util.List dynamicQuery(
148 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
149 int end,
150 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return _shoppingCouponLocalService.dynamicQuery(dynamicQuery, start,
153 end, orderByComparator);
154 }
155
156
163 @Override
164 public long dynamicQueryCount(
165 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
166 throws com.liferay.portal.kernel.exception.SystemException {
167 return _shoppingCouponLocalService.dynamicQueryCount(dynamicQuery);
168 }
169
170
178 @Override
179 public long dynamicQueryCount(
180 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
181 com.liferay.portal.kernel.dao.orm.Projection projection)
182 throws com.liferay.portal.kernel.exception.SystemException {
183 return _shoppingCouponLocalService.dynamicQueryCount(dynamicQuery,
184 projection);
185 }
186
187 @Override
188 public com.liferay.portlet.shopping.model.ShoppingCoupon fetchShoppingCoupon(
189 long couponId)
190 throws com.liferay.portal.kernel.exception.SystemException {
191 return _shoppingCouponLocalService.fetchShoppingCoupon(couponId);
192 }
193
194
202 @Override
203 public com.liferay.portlet.shopping.model.ShoppingCoupon getShoppingCoupon(
204 long couponId)
205 throws com.liferay.portal.kernel.exception.PortalException,
206 com.liferay.portal.kernel.exception.SystemException {
207 return _shoppingCouponLocalService.getShoppingCoupon(couponId);
208 }
209
210 @Override
211 public com.liferay.portal.model.PersistedModel getPersistedModel(
212 java.io.Serializable primaryKeyObj)
213 throws com.liferay.portal.kernel.exception.PortalException,
214 com.liferay.portal.kernel.exception.SystemException {
215 return _shoppingCouponLocalService.getPersistedModel(primaryKeyObj);
216 }
217
218
230 @Override
231 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> getShoppingCoupons(
232 int start, int end)
233 throws com.liferay.portal.kernel.exception.SystemException {
234 return _shoppingCouponLocalService.getShoppingCoupons(start, end);
235 }
236
237
243 @Override
244 public int getShoppingCouponsCount()
245 throws com.liferay.portal.kernel.exception.SystemException {
246 return _shoppingCouponLocalService.getShoppingCouponsCount();
247 }
248
249
256 @Override
257 public com.liferay.portlet.shopping.model.ShoppingCoupon updateShoppingCoupon(
258 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
259 throws com.liferay.portal.kernel.exception.SystemException {
260 return _shoppingCouponLocalService.updateShoppingCoupon(shoppingCoupon);
261 }
262
263
268 @Override
269 public java.lang.String getBeanIdentifier() {
270 return _shoppingCouponLocalService.getBeanIdentifier();
271 }
272
273
278 @Override
279 public void setBeanIdentifier(java.lang.String beanIdentifier) {
280 _shoppingCouponLocalService.setBeanIdentifier(beanIdentifier);
281 }
282
283 @Override
284 public com.liferay.portlet.shopping.model.ShoppingCoupon addCoupon(
285 long userId, java.lang.String code, boolean autoCode,
286 java.lang.String name, java.lang.String description,
287 int startDateMonth, int startDateDay, int startDateYear,
288 int startDateHour, int startDateMinute, int endDateMonth,
289 int endDateDay, int endDateYear, int endDateHour, int endDateMinute,
290 boolean neverExpire, boolean active, java.lang.String limitCategories,
291 java.lang.String limitSkus, double minOrder, double discount,
292 java.lang.String discountType,
293 com.liferay.portal.service.ServiceContext serviceContext)
294 throws com.liferay.portal.kernel.exception.PortalException,
295 com.liferay.portal.kernel.exception.SystemException {
296 return _shoppingCouponLocalService.addCoupon(userId, code, autoCode,
297 name, description, startDateMonth, startDateDay, startDateYear,
298 startDateHour, startDateMinute, endDateMonth, endDateDay,
299 endDateYear, endDateHour, endDateMinute, neverExpire, active,
300 limitCategories, limitSkus, minOrder, discount, discountType,
301 serviceContext);
302 }
303
304 @Override
305 public void deleteCoupon(long couponId)
306 throws com.liferay.portal.kernel.exception.PortalException,
307 com.liferay.portal.kernel.exception.SystemException {
308 _shoppingCouponLocalService.deleteCoupon(couponId);
309 }
310
311 @Override
312 public void deleteCoupon(
313 com.liferay.portlet.shopping.model.ShoppingCoupon coupon)
314 throws com.liferay.portal.kernel.exception.SystemException {
315 _shoppingCouponLocalService.deleteCoupon(coupon);
316 }
317
318 @Override
319 public void deleteCoupons(long groupId)
320 throws com.liferay.portal.kernel.exception.SystemException {
321 _shoppingCouponLocalService.deleteCoupons(groupId);
322 }
323
324 @Override
325 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon(
326 long couponId)
327 throws com.liferay.portal.kernel.exception.PortalException,
328 com.liferay.portal.kernel.exception.SystemException {
329 return _shoppingCouponLocalService.getCoupon(couponId);
330 }
331
332 @Override
333 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon(
334 java.lang.String code)
335 throws com.liferay.portal.kernel.exception.PortalException,
336 com.liferay.portal.kernel.exception.SystemException {
337 return _shoppingCouponLocalService.getCoupon(code);
338 }
339
340 @Override
341 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> search(
342 long groupId, long companyId, java.lang.String code, boolean active,
343 java.lang.String discountType, boolean andOperator, int start, int end)
344 throws com.liferay.portal.kernel.exception.SystemException {
345 return _shoppingCouponLocalService.search(groupId, companyId, code,
346 active, discountType, andOperator, start, end);
347 }
348
349 @Override
350 public int searchCount(long groupId, long companyId, java.lang.String code,
351 boolean active, java.lang.String discountType, boolean andOperator)
352 throws com.liferay.portal.kernel.exception.SystemException {
353 return _shoppingCouponLocalService.searchCount(groupId, companyId,
354 code, active, discountType, andOperator);
355 }
356
357 @Override
358 public com.liferay.portlet.shopping.model.ShoppingCoupon updateCoupon(
359 long userId, long couponId, java.lang.String name,
360 java.lang.String description, int startDateMonth, int startDateDay,
361 int startDateYear, int startDateHour, int startDateMinute,
362 int endDateMonth, int endDateDay, int endDateYear, int endDateHour,
363 int endDateMinute, boolean neverExpire, boolean active,
364 java.lang.String limitCategories, java.lang.String limitSkus,
365 double minOrder, double discount, java.lang.String discountType,
366 com.liferay.portal.service.ServiceContext serviceContext)
367 throws com.liferay.portal.kernel.exception.PortalException,
368 com.liferay.portal.kernel.exception.SystemException {
369 return _shoppingCouponLocalService.updateCoupon(userId, couponId, name,
370 description, startDateMonth, startDateDay, startDateYear,
371 startDateHour, startDateMinute, endDateMonth, endDateDay,
372 endDateYear, endDateHour, endDateMinute, neverExpire, active,
373 limitCategories, limitSkus, minOrder, discount, discountType,
374 serviceContext);
375 }
376
377
380 public ShoppingCouponLocalService getWrappedShoppingCouponLocalService() {
381 return _shoppingCouponLocalService;
382 }
383
384
387 public void setWrappedShoppingCouponLocalService(
388 ShoppingCouponLocalService shoppingCouponLocalService) {
389 _shoppingCouponLocalService = shoppingCouponLocalService;
390 }
391
392 @Override
393 public ShoppingCouponLocalService getWrappedService() {
394 return _shoppingCouponLocalService;
395 }
396
397 @Override
398 public void setWrappedService(
399 ShoppingCouponLocalService shoppingCouponLocalService) {
400 _shoppingCouponLocalService = shoppingCouponLocalService;
401 }
402
403 private ShoppingCouponLocalService _shoppingCouponLocalService;
404 }