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 public com.liferay.portal.model.PersistedModel getPersistedModel(
169 java.io.Serializable primaryKeyObj)
170 throws com.liferay.portal.kernel.exception.PortalException,
171 com.liferay.portal.kernel.exception.SystemException {
172 return _shoppingCouponLocalService.getPersistedModel(primaryKeyObj);
173 }
174
175
187 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> getShoppingCoupons(
188 int start, int end)
189 throws com.liferay.portal.kernel.exception.SystemException {
190 return _shoppingCouponLocalService.getShoppingCoupons(start, end);
191 }
192
193
199 public int getShoppingCouponsCount()
200 throws com.liferay.portal.kernel.exception.SystemException {
201 return _shoppingCouponLocalService.getShoppingCouponsCount();
202 }
203
204
211 public com.liferay.portlet.shopping.model.ShoppingCoupon updateShoppingCoupon(
212 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
213 throws com.liferay.portal.kernel.exception.SystemException {
214 return _shoppingCouponLocalService.updateShoppingCoupon(shoppingCoupon);
215 }
216
217
225 public com.liferay.portlet.shopping.model.ShoppingCoupon updateShoppingCoupon(
226 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon,
227 boolean merge)
228 throws com.liferay.portal.kernel.exception.SystemException {
229 return _shoppingCouponLocalService.updateShoppingCoupon(shoppingCoupon,
230 merge);
231 }
232
233
238 public java.lang.String getBeanIdentifier() {
239 return _shoppingCouponLocalService.getBeanIdentifier();
240 }
241
242
247 public void setBeanIdentifier(java.lang.String beanIdentifier) {
248 _shoppingCouponLocalService.setBeanIdentifier(beanIdentifier);
249 }
250
251 public com.liferay.portlet.shopping.model.ShoppingCoupon addCoupon(
252 long userId, java.lang.String code, boolean autoCode,
253 java.lang.String name, java.lang.String description,
254 int startDateMonth, int startDateDay, int startDateYear,
255 int startDateHour, int startDateMinute, int endDateMonth,
256 int endDateDay, int endDateYear, int endDateHour, int endDateMinute,
257 boolean neverExpire, boolean active, java.lang.String limitCategories,
258 java.lang.String limitSkus, double minOrder, double discount,
259 java.lang.String discountType,
260 com.liferay.portal.service.ServiceContext serviceContext)
261 throws com.liferay.portal.kernel.exception.PortalException,
262 com.liferay.portal.kernel.exception.SystemException {
263 return _shoppingCouponLocalService.addCoupon(userId, code, autoCode,
264 name, description, startDateMonth, startDateDay, startDateYear,
265 startDateHour, startDateMinute, endDateMonth, endDateDay,
266 endDateYear, endDateHour, endDateMinute, neverExpire, active,
267 limitCategories, limitSkus, minOrder, discount, discountType,
268 serviceContext);
269 }
270
271 public void deleteCoupon(long couponId)
272 throws com.liferay.portal.kernel.exception.PortalException,
273 com.liferay.portal.kernel.exception.SystemException {
274 _shoppingCouponLocalService.deleteCoupon(couponId);
275 }
276
277 public void deleteCoupon(
278 com.liferay.portlet.shopping.model.ShoppingCoupon coupon)
279 throws com.liferay.portal.kernel.exception.SystemException {
280 _shoppingCouponLocalService.deleteCoupon(coupon);
281 }
282
283 public void deleteCoupons(long groupId)
284 throws com.liferay.portal.kernel.exception.SystemException {
285 _shoppingCouponLocalService.deleteCoupons(groupId);
286 }
287
288 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon(
289 long couponId)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException {
292 return _shoppingCouponLocalService.getCoupon(couponId);
293 }
294
295 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon(
296 java.lang.String code)
297 throws com.liferay.portal.kernel.exception.PortalException,
298 com.liferay.portal.kernel.exception.SystemException {
299 return _shoppingCouponLocalService.getCoupon(code);
300 }
301
302 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> search(
303 long groupId, long companyId, java.lang.String code, boolean active,
304 java.lang.String discountType, boolean andOperator, int start, int end)
305 throws com.liferay.portal.kernel.exception.SystemException {
306 return _shoppingCouponLocalService.search(groupId, companyId, code,
307 active, discountType, andOperator, start, end);
308 }
309
310 public int searchCount(long groupId, long companyId, java.lang.String code,
311 boolean active, java.lang.String discountType, boolean andOperator)
312 throws com.liferay.portal.kernel.exception.SystemException {
313 return _shoppingCouponLocalService.searchCount(groupId, companyId,
314 code, active, discountType, andOperator);
315 }
316
317 public com.liferay.portlet.shopping.model.ShoppingCoupon updateCoupon(
318 long userId, long couponId, java.lang.String name,
319 java.lang.String description, int startDateMonth, int startDateDay,
320 int startDateYear, int startDateHour, int startDateMinute,
321 int endDateMonth, int endDateDay, int endDateYear, int endDateHour,
322 int endDateMinute, boolean neverExpire, boolean active,
323 java.lang.String limitCategories, java.lang.String limitSkus,
324 double minOrder, double discount, java.lang.String discountType,
325 com.liferay.portal.service.ServiceContext serviceContext)
326 throws com.liferay.portal.kernel.exception.PortalException,
327 com.liferay.portal.kernel.exception.SystemException {
328 return _shoppingCouponLocalService.updateCoupon(userId, couponId, name,
329 description, startDateMonth, startDateDay, startDateYear,
330 startDateHour, startDateMinute, endDateMonth, endDateDay,
331 endDateYear, endDateHour, endDateMinute, neverExpire, active,
332 limitCategories, limitSkus, minOrder, discount, discountType,
333 serviceContext);
334 }
335
336 public ShoppingCouponLocalService getWrappedShoppingCouponLocalService() {
337 return _shoppingCouponLocalService;
338 }
339
340 public void setWrappedShoppingCouponLocalService(
341 ShoppingCouponLocalService shoppingCouponLocalService) {
342 _shoppingCouponLocalService = shoppingCouponLocalService;
343 }
344
345 private ShoppingCouponLocalService _shoppingCouponLocalService;
346 }