001
014
015 package com.liferay.portlet.shopping.service;
016
017
026 public class ShoppingOrderLocalServiceWrapper
027 implements ShoppingOrderLocalService {
028 public ShoppingOrderLocalServiceWrapper(
029 ShoppingOrderLocalService shoppingOrderLocalService) {
030 _shoppingOrderLocalService = shoppingOrderLocalService;
031 }
032
033
040 public com.liferay.portlet.shopping.model.ShoppingOrder addShoppingOrder(
041 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return _shoppingOrderLocalService.addShoppingOrder(shoppingOrder);
044 }
045
046
052 public com.liferay.portlet.shopping.model.ShoppingOrder createShoppingOrder(
053 long orderId) {
054 return _shoppingOrderLocalService.createShoppingOrder(orderId);
055 }
056
057
064 public void deleteShoppingOrder(long orderId)
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException {
067 _shoppingOrderLocalService.deleteShoppingOrder(orderId);
068 }
069
070
076 public void deleteShoppingOrder(
077 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 _shoppingOrderLocalService.deleteShoppingOrder(shoppingOrder);
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 _shoppingOrderLocalService.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 _shoppingOrderLocalService.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 _shoppingOrderLocalService.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 _shoppingOrderLocalService.dynamicQueryCount(dynamicQuery);
151 }
152
153
161 public com.liferay.portlet.shopping.model.ShoppingOrder getShoppingOrder(
162 long orderId)
163 throws com.liferay.portal.kernel.exception.PortalException,
164 com.liferay.portal.kernel.exception.SystemException {
165 return _shoppingOrderLocalService.getShoppingOrder(orderId);
166 }
167
168
180 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> getShoppingOrders(
181 int start, int end)
182 throws com.liferay.portal.kernel.exception.SystemException {
183 return _shoppingOrderLocalService.getShoppingOrders(start, end);
184 }
185
186
192 public int getShoppingOrdersCount()
193 throws com.liferay.portal.kernel.exception.SystemException {
194 return _shoppingOrderLocalService.getShoppingOrdersCount();
195 }
196
197
204 public com.liferay.portlet.shopping.model.ShoppingOrder updateShoppingOrder(
205 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder)
206 throws com.liferay.portal.kernel.exception.SystemException {
207 return _shoppingOrderLocalService.updateShoppingOrder(shoppingOrder);
208 }
209
210
218 public com.liferay.portlet.shopping.model.ShoppingOrder updateShoppingOrder(
219 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder,
220 boolean merge)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return _shoppingOrderLocalService.updateShoppingOrder(shoppingOrder,
223 merge);
224 }
225
226 public com.liferay.portlet.shopping.model.ShoppingOrder addLatestOrder(
227 long userId, long groupId)
228 throws com.liferay.portal.kernel.exception.PortalException,
229 com.liferay.portal.kernel.exception.SystemException {
230 return _shoppingOrderLocalService.addLatestOrder(userId, groupId);
231 }
232
233 public void completeOrder(java.lang.String number,
234 java.lang.String ppTxnId, java.lang.String ppPaymentStatus,
235 double ppPaymentGross, java.lang.String ppReceiverEmail,
236 java.lang.String ppPayerEmail, boolean updateInventory)
237 throws com.liferay.portal.kernel.exception.PortalException,
238 com.liferay.portal.kernel.exception.SystemException {
239 _shoppingOrderLocalService.completeOrder(number, ppTxnId,
240 ppPaymentStatus, ppPaymentGross, ppReceiverEmail, ppPayerEmail,
241 updateInventory);
242 }
243
244 public void deleteOrder(long orderId)
245 throws com.liferay.portal.kernel.exception.PortalException,
246 com.liferay.portal.kernel.exception.SystemException {
247 _shoppingOrderLocalService.deleteOrder(orderId);
248 }
249
250 public void deleteOrder(
251 com.liferay.portlet.shopping.model.ShoppingOrder order)
252 throws com.liferay.portal.kernel.exception.PortalException,
253 com.liferay.portal.kernel.exception.SystemException {
254 _shoppingOrderLocalService.deleteOrder(order);
255 }
256
257 public void deleteOrders(long groupId)
258 throws com.liferay.portal.kernel.exception.PortalException,
259 com.liferay.portal.kernel.exception.SystemException {
260 _shoppingOrderLocalService.deleteOrders(groupId);
261 }
262
263 public com.liferay.portlet.shopping.model.ShoppingOrder getLatestOrder(
264 long userId, long groupId)
265 throws com.liferay.portal.kernel.exception.PortalException,
266 com.liferay.portal.kernel.exception.SystemException {
267 return _shoppingOrderLocalService.getLatestOrder(userId, groupId);
268 }
269
270 public com.liferay.portlet.shopping.model.ShoppingOrder getOrder(
271 long orderId)
272 throws com.liferay.portal.kernel.exception.PortalException,
273 com.liferay.portal.kernel.exception.SystemException {
274 return _shoppingOrderLocalService.getOrder(orderId);
275 }
276
277 public com.liferay.portlet.shopping.model.ShoppingOrder getOrder(
278 java.lang.String number)
279 throws com.liferay.portal.kernel.exception.PortalException,
280 com.liferay.portal.kernel.exception.SystemException {
281 return _shoppingOrderLocalService.getOrder(number);
282 }
283
284 public com.liferay.portlet.shopping.model.ShoppingOrder getPayPalTxnIdOrder(
285 java.lang.String ppTxnId)
286 throws com.liferay.portal.kernel.exception.PortalException,
287 com.liferay.portal.kernel.exception.SystemException {
288 return _shoppingOrderLocalService.getPayPalTxnIdOrder(ppTxnId);
289 }
290
291 public com.liferay.portlet.shopping.model.ShoppingOrder saveLatestOrder(
292 com.liferay.portlet.shopping.model.ShoppingCart cart)
293 throws com.liferay.portal.kernel.exception.PortalException,
294 com.liferay.portal.kernel.exception.SystemException {
295 return _shoppingOrderLocalService.saveLatestOrder(cart);
296 }
297
298 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> search(
299 long groupId, long companyId, long userId, java.lang.String number,
300 java.lang.String billingFirstName, java.lang.String billingLastName,
301 java.lang.String billingEmailAddress,
302 java.lang.String shippingFirstName, java.lang.String shippingLastName,
303 java.lang.String shippingEmailAddress,
304 java.lang.String ppPaymentStatus, boolean andOperator, int start,
305 int end) throws com.liferay.portal.kernel.exception.SystemException {
306 return _shoppingOrderLocalService.search(groupId, companyId, userId,
307 number, billingFirstName, billingLastName, billingEmailAddress,
308 shippingFirstName, shippingLastName, shippingEmailAddress,
309 ppPaymentStatus, andOperator, start, end);
310 }
311
312 public int searchCount(long groupId, long companyId, long userId,
313 java.lang.String number, java.lang.String billingFirstName,
314 java.lang.String billingLastName, java.lang.String billingEmailAddress,
315 java.lang.String shippingFirstName, java.lang.String shippingLastName,
316 java.lang.String shippingEmailAddress,
317 java.lang.String ppPaymentStatus, boolean andOperator)
318 throws com.liferay.portal.kernel.exception.SystemException {
319 return _shoppingOrderLocalService.searchCount(groupId, companyId,
320 userId, number, billingFirstName, billingLastName,
321 billingEmailAddress, shippingFirstName, shippingLastName,
322 shippingEmailAddress, ppPaymentStatus, andOperator);
323 }
324
325 public void sendEmail(long orderId, java.lang.String emailType)
326 throws com.liferay.portal.kernel.exception.PortalException,
327 com.liferay.portal.kernel.exception.SystemException {
328 _shoppingOrderLocalService.sendEmail(orderId, emailType);
329 }
330
331 public void sendEmail(
332 com.liferay.portlet.shopping.model.ShoppingOrder order,
333 java.lang.String emailType)
334 throws com.liferay.portal.kernel.exception.PortalException,
335 com.liferay.portal.kernel.exception.SystemException {
336 _shoppingOrderLocalService.sendEmail(order, emailType);
337 }
338
339 public com.liferay.portlet.shopping.model.ShoppingOrder updateLatestOrder(
340 long userId, long groupId, java.lang.String billingFirstName,
341 java.lang.String billingLastName, java.lang.String billingEmailAddress,
342 java.lang.String billingCompany, java.lang.String billingStreet,
343 java.lang.String billingCity, java.lang.String billingState,
344 java.lang.String billingZip, java.lang.String billingCountry,
345 java.lang.String billingPhone, boolean shipToBilling,
346 java.lang.String shippingFirstName, java.lang.String shippingLastName,
347 java.lang.String shippingEmailAddress,
348 java.lang.String shippingCompany, java.lang.String shippingStreet,
349 java.lang.String shippingCity, java.lang.String shippingState,
350 java.lang.String shippingZip, java.lang.String shippingCountry,
351 java.lang.String shippingPhone, java.lang.String ccName,
352 java.lang.String ccType, java.lang.String ccNumber, int ccExpMonth,
353 int ccExpYear, java.lang.String ccVerNumber, java.lang.String comments)
354 throws com.liferay.portal.kernel.exception.PortalException,
355 com.liferay.portal.kernel.exception.SystemException {
356 return _shoppingOrderLocalService.updateLatestOrder(userId, groupId,
357 billingFirstName, billingLastName, billingEmailAddress,
358 billingCompany, billingStreet, billingCity, billingState,
359 billingZip, billingCountry, billingPhone, shipToBilling,
360 shippingFirstName, shippingLastName, shippingEmailAddress,
361 shippingCompany, shippingStreet, shippingCity, shippingState,
362 shippingZip, shippingCountry, shippingPhone, ccName, ccType,
363 ccNumber, ccExpMonth, ccExpYear, ccVerNumber, comments);
364 }
365
366 public com.liferay.portlet.shopping.model.ShoppingOrder updateOrder(
367 long orderId, java.lang.String ppTxnId,
368 java.lang.String ppPaymentStatus, double ppPaymentGross,
369 java.lang.String ppReceiverEmail, java.lang.String ppPayerEmail)
370 throws com.liferay.portal.kernel.exception.PortalException,
371 com.liferay.portal.kernel.exception.SystemException {
372 return _shoppingOrderLocalService.updateOrder(orderId, ppTxnId,
373 ppPaymentStatus, ppPaymentGross, ppReceiverEmail, ppPayerEmail);
374 }
375
376 public com.liferay.portlet.shopping.model.ShoppingOrder updateOrder(
377 long orderId, java.lang.String billingFirstName,
378 java.lang.String billingLastName, java.lang.String billingEmailAddress,
379 java.lang.String billingCompany, java.lang.String billingStreet,
380 java.lang.String billingCity, java.lang.String billingState,
381 java.lang.String billingZip, java.lang.String billingCountry,
382 java.lang.String billingPhone, boolean shipToBilling,
383 java.lang.String shippingFirstName, java.lang.String shippingLastName,
384 java.lang.String shippingEmailAddress,
385 java.lang.String shippingCompany, java.lang.String shippingStreet,
386 java.lang.String shippingCity, java.lang.String shippingState,
387 java.lang.String shippingZip, java.lang.String shippingCountry,
388 java.lang.String shippingPhone, java.lang.String ccName,
389 java.lang.String ccType, java.lang.String ccNumber, int ccExpMonth,
390 int ccExpYear, java.lang.String ccVerNumber, java.lang.String comments)
391 throws com.liferay.portal.kernel.exception.PortalException,
392 com.liferay.portal.kernel.exception.SystemException {
393 return _shoppingOrderLocalService.updateOrder(orderId,
394 billingFirstName, billingLastName, billingEmailAddress,
395 billingCompany, billingStreet, billingCity, billingState,
396 billingZip, billingCountry, billingPhone, shipToBilling,
397 shippingFirstName, shippingLastName, shippingEmailAddress,
398 shippingCompany, shippingStreet, shippingCity, shippingState,
399 shippingZip, shippingCountry, shippingPhone, ccName, ccType,
400 ccNumber, ccExpMonth, ccExpYear, ccVerNumber, comments);
401 }
402
403 public ShoppingOrderLocalService getWrappedShoppingOrderLocalService() {
404 return _shoppingOrderLocalService;
405 }
406
407 private ShoppingOrderLocalService _shoppingOrderLocalService;
408 }