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
067 public void deleteShoppingCoupon(long couponId)
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException {
070 _shoppingCouponLocalService.deleteShoppingCoupon(couponId);
071 }
072
073
079 public void deleteShoppingCoupon(
080 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
081 throws com.liferay.portal.kernel.exception.SystemException {
082 _shoppingCouponLocalService.deleteShoppingCoupon(shoppingCoupon);
083 }
084
085
092 @SuppressWarnings("rawtypes")
093 public java.util.List dynamicQuery(
094 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
095 throws com.liferay.portal.kernel.exception.SystemException {
096 return _shoppingCouponLocalService.dynamicQuery(dynamicQuery);
097 }
098
099
112 @SuppressWarnings("rawtypes")
113 public java.util.List dynamicQuery(
114 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
115 int end) throws com.liferay.portal.kernel.exception.SystemException {
116 return _shoppingCouponLocalService.dynamicQuery(dynamicQuery, start, end);
117 }
118
119
133 @SuppressWarnings("rawtypes")
134 public java.util.List dynamicQuery(
135 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
136 int end,
137 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
138 throws com.liferay.portal.kernel.exception.SystemException {
139 return _shoppingCouponLocalService.dynamicQuery(dynamicQuery, start,
140 end, orderByComparator);
141 }
142
143
150 public long dynamicQueryCount(
151 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
152 throws com.liferay.portal.kernel.exception.SystemException {
153 return _shoppingCouponLocalService.dynamicQueryCount(dynamicQuery);
154 }
155
156 public com.liferay.portlet.shopping.model.ShoppingCoupon fetchShoppingCoupon(
157 long couponId)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _shoppingCouponLocalService.fetchShoppingCoupon(couponId);
160 }
161
162
170 public com.liferay.portlet.shopping.model.ShoppingCoupon getShoppingCoupon(
171 long couponId)
172 throws com.liferay.portal.kernel.exception.PortalException,
173 com.liferay.portal.kernel.exception.SystemException {
174 return _shoppingCouponLocalService.getShoppingCoupon(couponId);
175 }
176
177 public com.liferay.portal.model.PersistedModel getPersistedModel(
178 java.io.Serializable primaryKeyObj)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _shoppingCouponLocalService.getPersistedModel(primaryKeyObj);
182 }
183
184
196 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> getShoppingCoupons(
197 int start, int end)
198 throws com.liferay.portal.kernel.exception.SystemException {
199 return _shoppingCouponLocalService.getShoppingCoupons(start, end);
200 }
201
202
208 public int getShoppingCouponsCount()
209 throws com.liferay.portal.kernel.exception.SystemException {
210 return _shoppingCouponLocalService.getShoppingCouponsCount();
211 }
212
213
220 public com.liferay.portlet.shopping.model.ShoppingCoupon updateShoppingCoupon(
221 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
222 throws com.liferay.portal.kernel.exception.SystemException {
223 return _shoppingCouponLocalService.updateShoppingCoupon(shoppingCoupon);
224 }
225
226
234 public com.liferay.portlet.shopping.model.ShoppingCoupon updateShoppingCoupon(
235 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon,
236 boolean merge)
237 throws com.liferay.portal.kernel.exception.SystemException {
238 return _shoppingCouponLocalService.updateShoppingCoupon(shoppingCoupon,
239 merge);
240 }
241
242
247 public java.lang.String getBeanIdentifier() {
248 return _shoppingCouponLocalService.getBeanIdentifier();
249 }
250
251
256 public void setBeanIdentifier(java.lang.String beanIdentifier) {
257 _shoppingCouponLocalService.setBeanIdentifier(beanIdentifier);
258 }
259
260 public com.liferay.portlet.shopping.model.ShoppingCoupon addCoupon(
261 long userId, java.lang.String code, boolean autoCode,
262 java.lang.String name, java.lang.String description,
263 int startDateMonth, int startDateDay, int startDateYear,
264 int startDateHour, int startDateMinute, int endDateMonth,
265 int endDateDay, int endDateYear, int endDateHour, int endDateMinute,
266 boolean neverExpire, boolean active, java.lang.String limitCategories,
267 java.lang.String limitSkus, double minOrder, double discount,
268 java.lang.String discountType,
269 com.liferay.portal.service.ServiceContext serviceContext)
270 throws com.liferay.portal.kernel.exception.PortalException,
271 com.liferay.portal.kernel.exception.SystemException {
272 return _shoppingCouponLocalService.addCoupon(userId, code, autoCode,
273 name, description, startDateMonth, startDateDay, startDateYear,
274 startDateHour, startDateMinute, endDateMonth, endDateDay,
275 endDateYear, endDateHour, endDateMinute, neverExpire, active,
276 limitCategories, limitSkus, minOrder, discount, discountType,
277 serviceContext);
278 }
279
280 public void deleteCoupon(long couponId)
281 throws com.liferay.portal.kernel.exception.PortalException,
282 com.liferay.portal.kernel.exception.SystemException {
283 _shoppingCouponLocalService.deleteCoupon(couponId);
284 }
285
286 public void deleteCoupon(
287 com.liferay.portlet.shopping.model.ShoppingCoupon coupon)
288 throws com.liferay.portal.kernel.exception.SystemException {
289 _shoppingCouponLocalService.deleteCoupon(coupon);
290 }
291
292 public void deleteCoupons(long groupId)
293 throws com.liferay.portal.kernel.exception.SystemException {
294 _shoppingCouponLocalService.deleteCoupons(groupId);
295 }
296
297 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon(
298 long couponId)
299 throws com.liferay.portal.kernel.exception.PortalException,
300 com.liferay.portal.kernel.exception.SystemException {
301 return _shoppingCouponLocalService.getCoupon(couponId);
302 }
303
304 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon(
305 java.lang.String code)
306 throws com.liferay.portal.kernel.exception.PortalException,
307 com.liferay.portal.kernel.exception.SystemException {
308 return _shoppingCouponLocalService.getCoupon(code);
309 }
310
311 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> search(
312 long groupId, long companyId, java.lang.String code, boolean active,
313 java.lang.String discountType, boolean andOperator, int start, int end)
314 throws com.liferay.portal.kernel.exception.SystemException {
315 return _shoppingCouponLocalService.search(groupId, companyId, code,
316 active, discountType, andOperator, start, end);
317 }
318
319 public int searchCount(long groupId, long companyId, java.lang.String code,
320 boolean active, java.lang.String discountType, boolean andOperator)
321 throws com.liferay.portal.kernel.exception.SystemException {
322 return _shoppingCouponLocalService.searchCount(groupId, companyId,
323 code, active, discountType, andOperator);
324 }
325
326 public com.liferay.portlet.shopping.model.ShoppingCoupon updateCoupon(
327 long userId, long couponId, java.lang.String name,
328 java.lang.String description, int startDateMonth, int startDateDay,
329 int startDateYear, int startDateHour, int startDateMinute,
330 int endDateMonth, int endDateDay, int endDateYear, int endDateHour,
331 int endDateMinute, boolean neverExpire, boolean active,
332 java.lang.String limitCategories, java.lang.String limitSkus,
333 double minOrder, double discount, java.lang.String discountType,
334 com.liferay.portal.service.ServiceContext serviceContext)
335 throws com.liferay.portal.kernel.exception.PortalException,
336 com.liferay.portal.kernel.exception.SystemException {
337 return _shoppingCouponLocalService.updateCoupon(userId, couponId, name,
338 description, startDateMonth, startDateDay, startDateYear,
339 startDateHour, startDateMinute, endDateMonth, endDateDay,
340 endDateYear, endDateHour, endDateMinute, neverExpire, active,
341 limitCategories, limitSkus, minOrder, discount, discountType,
342 serviceContext);
343 }
344
345
348 public ShoppingCouponLocalService getWrappedShoppingCouponLocalService() {
349 return _shoppingCouponLocalService;
350 }
351
352
355 public void setWrappedShoppingCouponLocalService(
356 ShoppingCouponLocalService shoppingCouponLocalService) {
357 _shoppingCouponLocalService = shoppingCouponLocalService;
358 }
359
360 public ShoppingCouponLocalService getWrappedService() {
361 return _shoppingCouponLocalService;
362 }
363
364 public void setWrappedService(
365 ShoppingCouponLocalService shoppingCouponLocalService) {
366 _shoppingCouponLocalService = shoppingCouponLocalService;
367 }
368
369 private ShoppingCouponLocalService _shoppingCouponLocalService;
370 }