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