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 java.util.List<Object> dynamicQuery(
77 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78 int end,
79 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
80 throws com.liferay.portal.kernel.exception.SystemException {
81 return _shoppingCouponLocalService.dynamicQuery(dynamicQuery, start,
82 end, orderByComparator);
83 }
84
85 public int dynamicQueryCount(
86 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
87 throws com.liferay.portal.kernel.exception.SystemException {
88 return _shoppingCouponLocalService.dynamicQueryCount(dynamicQuery);
89 }
90
91 public com.liferay.portlet.shopping.model.ShoppingCoupon getShoppingCoupon(
92 long couponId)
93 throws com.liferay.portal.kernel.exception.PortalException,
94 com.liferay.portal.kernel.exception.SystemException {
95 return _shoppingCouponLocalService.getShoppingCoupon(couponId);
96 }
97
98 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> getShoppingCoupons(
99 int start, int end)
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return _shoppingCouponLocalService.getShoppingCoupons(start, end);
102 }
103
104 public int getShoppingCouponsCount()
105 throws com.liferay.portal.kernel.exception.SystemException {
106 return _shoppingCouponLocalService.getShoppingCouponsCount();
107 }
108
109 public com.liferay.portlet.shopping.model.ShoppingCoupon updateShoppingCoupon(
110 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
111 throws com.liferay.portal.kernel.exception.SystemException {
112 return _shoppingCouponLocalService.updateShoppingCoupon(shoppingCoupon);
113 }
114
115 public com.liferay.portlet.shopping.model.ShoppingCoupon updateShoppingCoupon(
116 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon,
117 boolean merge)
118 throws com.liferay.portal.kernel.exception.SystemException {
119 return _shoppingCouponLocalService.updateShoppingCoupon(shoppingCoupon,
120 merge);
121 }
122
123 public com.liferay.portlet.shopping.model.ShoppingCoupon addCoupon(
124 long userId, java.lang.String code, boolean autoCode,
125 java.lang.String name, java.lang.String description,
126 int startDateMonth, int startDateDay, int startDateYear,
127 int startDateHour, int startDateMinute, int endDateMonth,
128 int endDateDay, int endDateYear, int endDateHour, int endDateMinute,
129 boolean neverExpire, boolean active, java.lang.String limitCategories,
130 java.lang.String limitSkus, double minOrder, double discount,
131 java.lang.String discountType,
132 com.liferay.portal.service.ServiceContext serviceContext)
133 throws com.liferay.portal.kernel.exception.PortalException,
134 com.liferay.portal.kernel.exception.SystemException {
135 return _shoppingCouponLocalService.addCoupon(userId, code, autoCode,
136 name, description, startDateMonth, startDateDay, startDateYear,
137 startDateHour, startDateMinute, endDateMonth, endDateDay,
138 endDateYear, endDateHour, endDateMinute, neverExpire, active,
139 limitCategories, limitSkus, minOrder, discount, discountType,
140 serviceContext);
141 }
142
143 public void deleteCoupon(long couponId)
144 throws com.liferay.portal.kernel.exception.PortalException,
145 com.liferay.portal.kernel.exception.SystemException {
146 _shoppingCouponLocalService.deleteCoupon(couponId);
147 }
148
149 public void deleteCoupons(long groupId)
150 throws com.liferay.portal.kernel.exception.SystemException {
151 _shoppingCouponLocalService.deleteCoupons(groupId);
152 }
153
154 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon(
155 long couponId)
156 throws com.liferay.portal.kernel.exception.PortalException,
157 com.liferay.portal.kernel.exception.SystemException {
158 return _shoppingCouponLocalService.getCoupon(couponId);
159 }
160
161 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon(
162 java.lang.String code)
163 throws com.liferay.portal.kernel.exception.PortalException,
164 com.liferay.portal.kernel.exception.SystemException {
165 return _shoppingCouponLocalService.getCoupon(code);
166 }
167
168 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> search(
169 long groupId, long companyId, java.lang.String code, boolean active,
170 java.lang.String discountType, boolean andOperator, int start, int end)
171 throws com.liferay.portal.kernel.exception.SystemException {
172 return _shoppingCouponLocalService.search(groupId, companyId, code,
173 active, discountType, andOperator, start, end);
174 }
175
176 public int searchCount(long groupId, long companyId, java.lang.String code,
177 boolean active, java.lang.String discountType, boolean andOperator)
178 throws com.liferay.portal.kernel.exception.SystemException {
179 return _shoppingCouponLocalService.searchCount(groupId, companyId,
180 code, active, discountType, andOperator);
181 }
182
183 public com.liferay.portlet.shopping.model.ShoppingCoupon updateCoupon(
184 long userId, long couponId, java.lang.String name,
185 java.lang.String description, int startDateMonth, int startDateDay,
186 int startDateYear, int startDateHour, int startDateMinute,
187 int endDateMonth, int endDateDay, int endDateYear, int endDateHour,
188 int endDateMinute, boolean neverExpire, boolean active,
189 java.lang.String limitCategories, java.lang.String limitSkus,
190 double minOrder, double discount, java.lang.String discountType,
191 com.liferay.portal.service.ServiceContext serviceContext)
192 throws com.liferay.portal.kernel.exception.PortalException,
193 com.liferay.portal.kernel.exception.SystemException {
194 return _shoppingCouponLocalService.updateCoupon(userId, couponId, name,
195 description, startDateMonth, startDateDay, startDateYear,
196 startDateHour, startDateMinute, endDateMonth, endDateDay,
197 endDateYear, endDateHour, endDateMinute, neverExpire, active,
198 limitCategories, limitSkus, minOrder, discount, discountType,
199 serviceContext);
200 }
201
202 public ShoppingCouponLocalService getWrappedShoppingCouponLocalService() {
203 return _shoppingCouponLocalService;
204 }
205
206 private ShoppingCouponLocalService _shoppingCouponLocalService;
207 }