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 public com.liferay.portlet.shopping.model.ShoppingCoupon addShoppingCoupon(
034 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
035 throws com.liferay.portal.kernel.exception.SystemException {
036 return _shoppingCouponLocalService.addShoppingCoupon(shoppingCoupon);
037 }
038
039 public com.liferay.portlet.shopping.model.ShoppingCoupon createShoppingCoupon(
040 long couponId) {
041 return _shoppingCouponLocalService.createShoppingCoupon(couponId);
042 }
043
044 public void deleteShoppingCoupon(long couponId)
045 throws com.liferay.portal.kernel.exception.PortalException,
046 com.liferay.portal.kernel.exception.SystemException {
047 _shoppingCouponLocalService.deleteShoppingCoupon(couponId);
048 }
049
050 public void deleteShoppingCoupon(
051 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
052 throws com.liferay.portal.kernel.exception.SystemException {
053 _shoppingCouponLocalService.deleteShoppingCoupon(shoppingCoupon);
054 }
055
056 @SuppressWarnings("unchecked")
057 public java.util.List dynamicQuery(
058 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059 throws com.liferay.portal.kernel.exception.SystemException {
060 return _shoppingCouponLocalService.dynamicQuery(dynamicQuery);
061 }
062
063 @SuppressWarnings("unchecked")
064 public java.util.List dynamicQuery(
065 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066 int end) throws com.liferay.portal.kernel.exception.SystemException {
067 return _shoppingCouponLocalService.dynamicQuery(dynamicQuery, start, end);
068 }
069
070 @SuppressWarnings("unchecked")
071 public java.util.List dynamicQuery(
072 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
073 int end,
074 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075 throws com.liferay.portal.kernel.exception.SystemException {
076 return _shoppingCouponLocalService.dynamicQuery(dynamicQuery, start,
077 end, orderByComparator);
078 }
079
080 public long dynamicQueryCount(
081 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
082 throws com.liferay.portal.kernel.exception.SystemException {
083 return _shoppingCouponLocalService.dynamicQueryCount(dynamicQuery);
084 }
085
086 public com.liferay.portlet.shopping.model.ShoppingCoupon getShoppingCoupon(
087 long couponId)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException {
090 return _shoppingCouponLocalService.getShoppingCoupon(couponId);
091 }
092
093 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> getShoppingCoupons(
094 int start, int end)
095 throws com.liferay.portal.kernel.exception.SystemException {
096 return _shoppingCouponLocalService.getShoppingCoupons(start, end);
097 }
098
099 public int getShoppingCouponsCount()
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return _shoppingCouponLocalService.getShoppingCouponsCount();
102 }
103
104 public com.liferay.portlet.shopping.model.ShoppingCoupon updateShoppingCoupon(
105 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon)
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return _shoppingCouponLocalService.updateShoppingCoupon(shoppingCoupon);
108 }
109
110 public com.liferay.portlet.shopping.model.ShoppingCoupon updateShoppingCoupon(
111 com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon,
112 boolean merge)
113 throws com.liferay.portal.kernel.exception.SystemException {
114 return _shoppingCouponLocalService.updateShoppingCoupon(shoppingCoupon,
115 merge);
116 }
117
118 public com.liferay.portlet.shopping.model.ShoppingCoupon addCoupon(
119 long userId, java.lang.String code, boolean autoCode,
120 java.lang.String name, java.lang.String description,
121 int startDateMonth, int startDateDay, int startDateYear,
122 int startDateHour, int startDateMinute, int endDateMonth,
123 int endDateDay, int endDateYear, int endDateHour, int endDateMinute,
124 boolean neverExpire, boolean active, java.lang.String limitCategories,
125 java.lang.String limitSkus, double minOrder, double discount,
126 java.lang.String discountType,
127 com.liferay.portal.service.ServiceContext serviceContext)
128 throws com.liferay.portal.kernel.exception.PortalException,
129 com.liferay.portal.kernel.exception.SystemException {
130 return _shoppingCouponLocalService.addCoupon(userId, code, autoCode,
131 name, description, startDateMonth, startDateDay, startDateYear,
132 startDateHour, startDateMinute, endDateMonth, endDateDay,
133 endDateYear, endDateHour, endDateMinute, neverExpire, active,
134 limitCategories, limitSkus, minOrder, discount, discountType,
135 serviceContext);
136 }
137
138 public void deleteCoupon(long couponId)
139 throws com.liferay.portal.kernel.exception.PortalException,
140 com.liferay.portal.kernel.exception.SystemException {
141 _shoppingCouponLocalService.deleteCoupon(couponId);
142 }
143
144 public void deleteCoupons(long groupId)
145 throws com.liferay.portal.kernel.exception.SystemException {
146 _shoppingCouponLocalService.deleteCoupons(groupId);
147 }
148
149 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon(
150 long couponId)
151 throws com.liferay.portal.kernel.exception.PortalException,
152 com.liferay.portal.kernel.exception.SystemException {
153 return _shoppingCouponLocalService.getCoupon(couponId);
154 }
155
156 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon(
157 java.lang.String code)
158 throws com.liferay.portal.kernel.exception.PortalException,
159 com.liferay.portal.kernel.exception.SystemException {
160 return _shoppingCouponLocalService.getCoupon(code);
161 }
162
163 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> search(
164 long groupId, long companyId, java.lang.String code, boolean active,
165 java.lang.String discountType, boolean andOperator, int start, int end)
166 throws com.liferay.portal.kernel.exception.SystemException {
167 return _shoppingCouponLocalService.search(groupId, companyId, code,
168 active, discountType, andOperator, start, end);
169 }
170
171 public int searchCount(long groupId, long companyId, java.lang.String code,
172 boolean active, java.lang.String discountType, boolean andOperator)
173 throws com.liferay.portal.kernel.exception.SystemException {
174 return _shoppingCouponLocalService.searchCount(groupId, companyId,
175 code, active, discountType, andOperator);
176 }
177
178 public com.liferay.portlet.shopping.model.ShoppingCoupon updateCoupon(
179 long userId, long couponId, java.lang.String name,
180 java.lang.String description, int startDateMonth, int startDateDay,
181 int startDateYear, int startDateHour, int startDateMinute,
182 int endDateMonth, int endDateDay, int endDateYear, int endDateHour,
183 int endDateMinute, boolean neverExpire, boolean active,
184 java.lang.String limitCategories, java.lang.String limitSkus,
185 double minOrder, double discount, java.lang.String discountType,
186 com.liferay.portal.service.ServiceContext serviceContext)
187 throws com.liferay.portal.kernel.exception.PortalException,
188 com.liferay.portal.kernel.exception.SystemException {
189 return _shoppingCouponLocalService.updateCoupon(userId, couponId, name,
190 description, startDateMonth, startDateDay, startDateYear,
191 startDateHour, startDateMinute, endDateMonth, endDateDay,
192 endDateYear, endDateHour, endDateMinute, neverExpire, active,
193 limitCategories, limitSkus, minOrder, discount, discountType,
194 serviceContext);
195 }
196
197 public ShoppingCouponLocalService getWrappedShoppingCouponLocalService() {
198 return _shoppingCouponLocalService;
199 }
200
201 private ShoppingCouponLocalService _shoppingCouponLocalService;
202 }