001
014
015 package com.liferay.portlet.shopping.service;
016
017
026 public class ShoppingCouponLocalServiceWrapper
027 implements ShoppingCouponLocalService {
028 public ShoppingCouponLocalServiceWrapper(
029 ShoppingCouponLocalService shoppingCouponLocalService) {
030 _shoppingCouponLocalService = shoppingCouponLocalService;
031 }
032
033
040 public com.liferay.portlet.shopping.model.ShoppingCoupon addShoppingCoupon(
041 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return _shoppingCouponLocalService.addShoppingCoupon(shoppingCoupon);
044 }
045
046
052 public com.liferay.portlet.shopping.model.ShoppingCoupon createShoppingCoupon(
053 long couponId) {
054 return _shoppingCouponLocalService.createShoppingCoupon(couponId);
055 }
056
057
064 public void deleteShoppingCoupon(long couponId)
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException {
067 _shoppingCouponLocalService.deleteShoppingCoupon(couponId);
068 }
069
070
076 public void deleteShoppingCoupon(
077 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 _shoppingCouponLocalService.deleteShoppingCoupon(shoppingCoupon);
080 }
081
082
089 @SuppressWarnings("rawtypes")
090 public java.util.List dynamicQuery(
091 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return _shoppingCouponLocalService.dynamicQuery(dynamicQuery);
094 }
095
096
109 @SuppressWarnings("rawtypes")
110 public java.util.List dynamicQuery(
111 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112 int end) throws com.liferay.portal.kernel.exception.SystemException {
113 return _shoppingCouponLocalService.dynamicQuery(dynamicQuery, start, end);
114 }
115
116
130 @SuppressWarnings("rawtypes")
131 public java.util.List dynamicQuery(
132 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
133 int end,
134 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135 throws com.liferay.portal.kernel.exception.SystemException {
136 return _shoppingCouponLocalService.dynamicQuery(dynamicQuery, start,
137 end, orderByComparator);
138 }
139
140
147 public long dynamicQueryCount(
148 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
149 throws com.liferay.portal.kernel.exception.SystemException {
150 return _shoppingCouponLocalService.dynamicQueryCount(dynamicQuery);
151 }
152
153
161 public com.liferay.portlet.shopping.model.ShoppingCoupon getShoppingCoupon(
162 long couponId)
163 throws com.liferay.portal.kernel.exception.PortalException,
164 com.liferay.portal.kernel.exception.SystemException {
165 return _shoppingCouponLocalService.getShoppingCoupon(couponId);
166 }
167
168
180 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> getShoppingCoupons(
181 int start, int end)
182 throws com.liferay.portal.kernel.exception.SystemException {
183 return _shoppingCouponLocalService.getShoppingCoupons(start, end);
184 }
185
186
192 public int getShoppingCouponsCount()
193 throws com.liferay.portal.kernel.exception.SystemException {
194 return _shoppingCouponLocalService.getShoppingCouponsCount();
195 }
196
197
204 public com.liferay.portlet.shopping.model.ShoppingCoupon updateShoppingCoupon(
205 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
206 throws com.liferay.portal.kernel.exception.SystemException {
207 return _shoppingCouponLocalService.updateShoppingCoupon(shoppingCoupon);
208 }
209
210
218 public com.liferay.portlet.shopping.model.ShoppingCoupon updateShoppingCoupon(
219 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon,
220 boolean merge)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return _shoppingCouponLocalService.updateShoppingCoupon(shoppingCoupon,
223 merge);
224 }
225
226 public com.liferay.portlet.shopping.model.ShoppingCoupon addCoupon(
227 long userId, java.lang.String code, boolean autoCode,
228 java.lang.String name, java.lang.String description,
229 int startDateMonth, int startDateDay, int startDateYear,
230 int startDateHour, int startDateMinute, int endDateMonth,
231 int endDateDay, int endDateYear, int endDateHour, int endDateMinute,
232 boolean neverExpire, boolean active, java.lang.String limitCategories,
233 java.lang.String limitSkus, double minOrder, double discount,
234 java.lang.String discountType,
235 com.liferay.portal.service.ServiceContext serviceContext)
236 throws com.liferay.portal.kernel.exception.PortalException,
237 com.liferay.portal.kernel.exception.SystemException {
238 return _shoppingCouponLocalService.addCoupon(userId, code, autoCode,
239 name, description, startDateMonth, startDateDay, startDateYear,
240 startDateHour, startDateMinute, endDateMonth, endDateDay,
241 endDateYear, endDateHour, endDateMinute, neverExpire, active,
242 limitCategories, limitSkus, minOrder, discount, discountType,
243 serviceContext);
244 }
245
246 public void deleteCoupon(long couponId)
247 throws com.liferay.portal.kernel.exception.PortalException,
248 com.liferay.portal.kernel.exception.SystemException {
249 _shoppingCouponLocalService.deleteCoupon(couponId);
250 }
251
252 public void deleteCoupons(long groupId)
253 throws com.liferay.portal.kernel.exception.SystemException {
254 _shoppingCouponLocalService.deleteCoupons(groupId);
255 }
256
257 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon(
258 long couponId)
259 throws com.liferay.portal.kernel.exception.PortalException,
260 com.liferay.portal.kernel.exception.SystemException {
261 return _shoppingCouponLocalService.getCoupon(couponId);
262 }
263
264 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon(
265 java.lang.String code)
266 throws com.liferay.portal.kernel.exception.PortalException,
267 com.liferay.portal.kernel.exception.SystemException {
268 return _shoppingCouponLocalService.getCoupon(code);
269 }
270
271 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> search(
272 long groupId, long companyId, java.lang.String code, boolean active,
273 java.lang.String discountType, boolean andOperator, int start, int end)
274 throws com.liferay.portal.kernel.exception.SystemException {
275 return _shoppingCouponLocalService.search(groupId, companyId, code,
276 active, discountType, andOperator, start, end);
277 }
278
279 public int searchCount(long groupId, long companyId, java.lang.String code,
280 boolean active, java.lang.String discountType, boolean andOperator)
281 throws com.liferay.portal.kernel.exception.SystemException {
282 return _shoppingCouponLocalService.searchCount(groupId, companyId,
283 code, active, discountType, andOperator);
284 }
285
286 public com.liferay.portlet.shopping.model.ShoppingCoupon updateCoupon(
287 long userId, long couponId, java.lang.String name,
288 java.lang.String description, int startDateMonth, int startDateDay,
289 int startDateYear, int startDateHour, int startDateMinute,
290 int endDateMonth, int endDateDay, int endDateYear, int endDateHour,
291 int endDateMinute, boolean neverExpire, boolean active,
292 java.lang.String limitCategories, java.lang.String limitSkus,
293 double minOrder, double discount, java.lang.String discountType,
294 com.liferay.portal.service.ServiceContext serviceContext)
295 throws com.liferay.portal.kernel.exception.PortalException,
296 com.liferay.portal.kernel.exception.SystemException {
297 return _shoppingCouponLocalService.updateCoupon(userId, couponId, name,
298 description, startDateMonth, startDateDay, startDateYear,
299 startDateHour, startDateMinute, endDateMonth, endDateDay,
300 endDateYear, endDateHour, endDateMinute, neverExpire, active,
301 limitCategories, limitSkus, minOrder, discount, discountType,
302 serviceContext);
303 }
304
305 public ShoppingCouponLocalService getWrappedShoppingCouponLocalService() {
306 return _shoppingCouponLocalService;
307 }
308
309 private ShoppingCouponLocalService _shoppingCouponLocalService;
310 }