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