001
014
015 package com.liferay.portlet.shopping.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class ShoppingCouponLocalServiceWrapper
029 implements ShoppingCouponLocalService,
030 ServiceWrapper<ShoppingCouponLocalService> {
031 public ShoppingCouponLocalServiceWrapper(
032 ShoppingCouponLocalService shoppingCouponLocalService) {
033 _shoppingCouponLocalService = shoppingCouponLocalService;
034 }
035
036
043 public com.liferay.portlet.shopping.model.ShoppingCoupon addShoppingCoupon(
044 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
045 throws com.liferay.portal.kernel.exception.SystemException {
046 return _shoppingCouponLocalService.addShoppingCoupon(shoppingCoupon);
047 }
048
049
055 public com.liferay.portlet.shopping.model.ShoppingCoupon createShoppingCoupon(
056 long couponId) {
057 return _shoppingCouponLocalService.createShoppingCoupon(couponId);
058 }
059
060
068 public com.liferay.portlet.shopping.model.ShoppingCoupon deleteShoppingCoupon(
069 long couponId)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _shoppingCouponLocalService.deleteShoppingCoupon(couponId);
073 }
074
075
082 public com.liferay.portlet.shopping.model.ShoppingCoupon deleteShoppingCoupon(
083 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
084 throws com.liferay.portal.kernel.exception.SystemException {
085 return _shoppingCouponLocalService.deleteShoppingCoupon(shoppingCoupon);
086 }
087
088 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
089 return _shoppingCouponLocalService.dynamicQuery();
090 }
091
092
099 @SuppressWarnings("rawtypes")
100 public java.util.List dynamicQuery(
101 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _shoppingCouponLocalService.dynamicQuery(dynamicQuery);
104 }
105
106
119 @SuppressWarnings("rawtypes")
120 public java.util.List dynamicQuery(
121 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
122 int end) throws com.liferay.portal.kernel.exception.SystemException {
123 return _shoppingCouponLocalService.dynamicQuery(dynamicQuery, start, end);
124 }
125
126
140 @SuppressWarnings("rawtypes")
141 public java.util.List dynamicQuery(
142 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
143 int end,
144 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
145 throws com.liferay.portal.kernel.exception.SystemException {
146 return _shoppingCouponLocalService.dynamicQuery(dynamicQuery, start,
147 end, orderByComparator);
148 }
149
150
157 public long dynamicQueryCount(
158 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
159 throws com.liferay.portal.kernel.exception.SystemException {
160 return _shoppingCouponLocalService.dynamicQueryCount(dynamicQuery);
161 }
162
163 public com.liferay.portlet.shopping.model.ShoppingCoupon fetchShoppingCoupon(
164 long couponId)
165 throws com.liferay.portal.kernel.exception.SystemException {
166 return _shoppingCouponLocalService.fetchShoppingCoupon(couponId);
167 }
168
169
177 public com.liferay.portlet.shopping.model.ShoppingCoupon getShoppingCoupon(
178 long couponId)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _shoppingCouponLocalService.getShoppingCoupon(couponId);
182 }
183
184 public com.liferay.portal.model.PersistedModel getPersistedModel(
185 java.io.Serializable primaryKeyObj)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException {
188 return _shoppingCouponLocalService.getPersistedModel(primaryKeyObj);
189 }
190
191
203 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> getShoppingCoupons(
204 int start, int end)
205 throws com.liferay.portal.kernel.exception.SystemException {
206 return _shoppingCouponLocalService.getShoppingCoupons(start, end);
207 }
208
209
215 public int getShoppingCouponsCount()
216 throws com.liferay.portal.kernel.exception.SystemException {
217 return _shoppingCouponLocalService.getShoppingCouponsCount();
218 }
219
220
227 public com.liferay.portlet.shopping.model.ShoppingCoupon updateShoppingCoupon(
228 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
229 throws com.liferay.portal.kernel.exception.SystemException {
230 return _shoppingCouponLocalService.updateShoppingCoupon(shoppingCoupon);
231 }
232
233
241 public com.liferay.portlet.shopping.model.ShoppingCoupon updateShoppingCoupon(
242 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon,
243 boolean merge)
244 throws com.liferay.portal.kernel.exception.SystemException {
245 return _shoppingCouponLocalService.updateShoppingCoupon(shoppingCoupon,
246 merge);
247 }
248
249
254 public java.lang.String getBeanIdentifier() {
255 return _shoppingCouponLocalService.getBeanIdentifier();
256 }
257
258
263 public void setBeanIdentifier(java.lang.String beanIdentifier) {
264 _shoppingCouponLocalService.setBeanIdentifier(beanIdentifier);
265 }
266
267 public com.liferay.portlet.shopping.model.ShoppingCoupon addCoupon(
268 long userId, java.lang.String code, boolean autoCode,
269 java.lang.String name, java.lang.String description,
270 int startDateMonth, int startDateDay, int startDateYear,
271 int startDateHour, int startDateMinute, int endDateMonth,
272 int endDateDay, int endDateYear, int endDateHour, int endDateMinute,
273 boolean neverExpire, boolean active, java.lang.String limitCategories,
274 java.lang.String limitSkus, double minOrder, double discount,
275 java.lang.String discountType,
276 com.liferay.portal.service.ServiceContext serviceContext)
277 throws com.liferay.portal.kernel.exception.PortalException,
278 com.liferay.portal.kernel.exception.SystemException {
279 return _shoppingCouponLocalService.addCoupon(userId, code, autoCode,
280 name, description, startDateMonth, startDateDay, startDateYear,
281 startDateHour, startDateMinute, endDateMonth, endDateDay,
282 endDateYear, endDateHour, endDateMinute, neverExpire, active,
283 limitCategories, limitSkus, minOrder, discount, discountType,
284 serviceContext);
285 }
286
287 public void deleteCoupon(long couponId)
288 throws com.liferay.portal.kernel.exception.PortalException,
289 com.liferay.portal.kernel.exception.SystemException {
290 _shoppingCouponLocalService.deleteCoupon(couponId);
291 }
292
293 public void deleteCoupon(
294 com.liferay.portlet.shopping.model.ShoppingCoupon coupon)
295 throws com.liferay.portal.kernel.exception.SystemException {
296 _shoppingCouponLocalService.deleteCoupon(coupon);
297 }
298
299 public void deleteCoupons(long groupId)
300 throws com.liferay.portal.kernel.exception.SystemException {
301 _shoppingCouponLocalService.deleteCoupons(groupId);
302 }
303
304 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon(
305 long couponId)
306 throws com.liferay.portal.kernel.exception.PortalException,
307 com.liferay.portal.kernel.exception.SystemException {
308 return _shoppingCouponLocalService.getCoupon(couponId);
309 }
310
311 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon(
312 java.lang.String code)
313 throws com.liferay.portal.kernel.exception.PortalException,
314 com.liferay.portal.kernel.exception.SystemException {
315 return _shoppingCouponLocalService.getCoupon(code);
316 }
317
318 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> search(
319 long groupId, long companyId, java.lang.String code, boolean active,
320 java.lang.String discountType, boolean andOperator, int start, int end)
321 throws com.liferay.portal.kernel.exception.SystemException {
322 return _shoppingCouponLocalService.search(groupId, companyId, code,
323 active, discountType, andOperator, start, end);
324 }
325
326 public int searchCount(long groupId, long companyId, java.lang.String code,
327 boolean active, java.lang.String discountType, boolean andOperator)
328 throws com.liferay.portal.kernel.exception.SystemException {
329 return _shoppingCouponLocalService.searchCount(groupId, companyId,
330 code, active, discountType, andOperator);
331 }
332
333 public com.liferay.portlet.shopping.model.ShoppingCoupon updateCoupon(
334 long userId, long couponId, java.lang.String name,
335 java.lang.String description, int startDateMonth, int startDateDay,
336 int startDateYear, int startDateHour, int startDateMinute,
337 int endDateMonth, int endDateDay, int endDateYear, int endDateHour,
338 int endDateMinute, boolean neverExpire, boolean active,
339 java.lang.String limitCategories, java.lang.String limitSkus,
340 double minOrder, double discount, java.lang.String discountType,
341 com.liferay.portal.service.ServiceContext serviceContext)
342 throws com.liferay.portal.kernel.exception.PortalException,
343 com.liferay.portal.kernel.exception.SystemException {
344 return _shoppingCouponLocalService.updateCoupon(userId, couponId, name,
345 description, startDateMonth, startDateDay, startDateYear,
346 startDateHour, startDateMinute, endDateMonth, endDateDay,
347 endDateYear, endDateHour, endDateMinute, neverExpire, active,
348 limitCategories, limitSkus, minOrder, discount, discountType,
349 serviceContext);
350 }
351
352
355 public ShoppingCouponLocalService getWrappedShoppingCouponLocalService() {
356 return _shoppingCouponLocalService;
357 }
358
359
362 public void setWrappedShoppingCouponLocalService(
363 ShoppingCouponLocalService shoppingCouponLocalService) {
364 _shoppingCouponLocalService = shoppingCouponLocalService;
365 }
366
367 public ShoppingCouponLocalService getWrappedService() {
368 return _shoppingCouponLocalService;
369 }
370
371 public void setWrappedService(
372 ShoppingCouponLocalService shoppingCouponLocalService) {
373 _shoppingCouponLocalService = shoppingCouponLocalService;
374 }
375
376 private ShoppingCouponLocalService _shoppingCouponLocalService;
377 }