001
014
015 package com.liferay.portlet.shopping.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class ShoppingOrderLocalServiceWrapper
029 implements ShoppingOrderLocalService,
030 ServiceWrapper<ShoppingOrderLocalService> {
031 public ShoppingOrderLocalServiceWrapper(
032 ShoppingOrderLocalService shoppingOrderLocalService) {
033 _shoppingOrderLocalService = shoppingOrderLocalService;
034 }
035
036
043 public com.liferay.portlet.shopping.model.ShoppingOrder addShoppingOrder(
044 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder)
045 throws com.liferay.portal.kernel.exception.SystemException {
046 return _shoppingOrderLocalService.addShoppingOrder(shoppingOrder);
047 }
048
049
055 public com.liferay.portlet.shopping.model.ShoppingOrder createShoppingOrder(
056 long orderId) {
057 return _shoppingOrderLocalService.createShoppingOrder(orderId);
058 }
059
060
068 public com.liferay.portlet.shopping.model.ShoppingOrder deleteShoppingOrder(
069 long orderId)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _shoppingOrderLocalService.deleteShoppingOrder(orderId);
073 }
074
075
082 public com.liferay.portlet.shopping.model.ShoppingOrder deleteShoppingOrder(
083 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder)
084 throws com.liferay.portal.kernel.exception.SystemException {
085 return _shoppingOrderLocalService.deleteShoppingOrder(shoppingOrder);
086 }
087
088 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
089 return _shoppingOrderLocalService.dynamicQuery();
090 }
091
092
099 @SuppressWarnings("rawtypes")
100 public java.util.List dynamicQuery(
101 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _shoppingOrderLocalService.dynamicQuery(dynamicQuery);
104 }
105
106
119 @SuppressWarnings("rawtypes")
120 public java.util.List dynamicQuery(
121 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
122 int end) throws com.liferay.portal.kernel.exception.SystemException {
123 return _shoppingOrderLocalService.dynamicQuery(dynamicQuery, start, end);
124 }
125
126
140 @SuppressWarnings("rawtypes")
141 public java.util.List dynamicQuery(
142 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
143 int end,
144 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
145 throws com.liferay.portal.kernel.exception.SystemException {
146 return _shoppingOrderLocalService.dynamicQuery(dynamicQuery, start,
147 end, orderByComparator);
148 }
149
150
157 public long dynamicQueryCount(
158 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
159 throws com.liferay.portal.kernel.exception.SystemException {
160 return _shoppingOrderLocalService.dynamicQueryCount(dynamicQuery);
161 }
162
163 public com.liferay.portlet.shopping.model.ShoppingOrder fetchShoppingOrder(
164 long orderId)
165 throws com.liferay.portal.kernel.exception.SystemException {
166 return _shoppingOrderLocalService.fetchShoppingOrder(orderId);
167 }
168
169
177 public com.liferay.portlet.shopping.model.ShoppingOrder getShoppingOrder(
178 long orderId)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _shoppingOrderLocalService.getShoppingOrder(orderId);
182 }
183
184 public com.liferay.portal.model.PersistedModel getPersistedModel(
185 java.io.Serializable primaryKeyObj)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException {
188 return _shoppingOrderLocalService.getPersistedModel(primaryKeyObj);
189 }
190
191
203 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> getShoppingOrders(
204 int start, int end)
205 throws com.liferay.portal.kernel.exception.SystemException {
206 return _shoppingOrderLocalService.getShoppingOrders(start, end);
207 }
208
209
215 public int getShoppingOrdersCount()
216 throws com.liferay.portal.kernel.exception.SystemException {
217 return _shoppingOrderLocalService.getShoppingOrdersCount();
218 }
219
220
227 public com.liferay.portlet.shopping.model.ShoppingOrder updateShoppingOrder(
228 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder)
229 throws com.liferay.portal.kernel.exception.SystemException {
230 return _shoppingOrderLocalService.updateShoppingOrder(shoppingOrder);
231 }
232
233
241 public com.liferay.portlet.shopping.model.ShoppingOrder updateShoppingOrder(
242 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder,
243 boolean merge)
244 throws com.liferay.portal.kernel.exception.SystemException {
245 return _shoppingOrderLocalService.updateShoppingOrder(shoppingOrder,
246 merge);
247 }
248
249
254 public java.lang.String getBeanIdentifier() {
255 return _shoppingOrderLocalService.getBeanIdentifier();
256 }
257
258
263 public void setBeanIdentifier(java.lang.String beanIdentifier) {
264 _shoppingOrderLocalService.setBeanIdentifier(beanIdentifier);
265 }
266
267 public com.liferay.portlet.shopping.model.ShoppingOrder addLatestOrder(
268 long userId, long groupId)
269 throws com.liferay.portal.kernel.exception.PortalException,
270 com.liferay.portal.kernel.exception.SystemException {
271 return _shoppingOrderLocalService.addLatestOrder(userId, groupId);
272 }
273
274 public void completeOrder(java.lang.String number,
275 java.lang.String ppTxnId, java.lang.String ppPaymentStatus,
276 double ppPaymentGross, java.lang.String ppReceiverEmail,
277 java.lang.String ppPayerEmail, boolean updateInventory,
278 com.liferay.portal.service.ServiceContext serviceContext)
279 throws com.liferay.portal.kernel.exception.PortalException,
280 com.liferay.portal.kernel.exception.SystemException {
281 _shoppingOrderLocalService.completeOrder(number, ppTxnId,
282 ppPaymentStatus, ppPaymentGross, ppReceiverEmail, ppPayerEmail,
283 updateInventory, serviceContext);
284 }
285
286 public void deleteOrder(long orderId)
287 throws com.liferay.portal.kernel.exception.PortalException,
288 com.liferay.portal.kernel.exception.SystemException {
289 _shoppingOrderLocalService.deleteOrder(orderId);
290 }
291
292 public void deleteOrder(
293 com.liferay.portlet.shopping.model.ShoppingOrder order)
294 throws com.liferay.portal.kernel.exception.PortalException,
295 com.liferay.portal.kernel.exception.SystemException {
296 _shoppingOrderLocalService.deleteOrder(order);
297 }
298
299 public void deleteOrders(long groupId)
300 throws com.liferay.portal.kernel.exception.PortalException,
301 com.liferay.portal.kernel.exception.SystemException {
302 _shoppingOrderLocalService.deleteOrders(groupId);
303 }
304
305 public com.liferay.portlet.shopping.model.ShoppingOrder getLatestOrder(
306 long userId, long groupId)
307 throws com.liferay.portal.kernel.exception.PortalException,
308 com.liferay.portal.kernel.exception.SystemException {
309 return _shoppingOrderLocalService.getLatestOrder(userId, groupId);
310 }
311
312 public com.liferay.portlet.shopping.model.ShoppingOrder getOrder(
313 long orderId)
314 throws com.liferay.portal.kernel.exception.PortalException,
315 com.liferay.portal.kernel.exception.SystemException {
316 return _shoppingOrderLocalService.getOrder(orderId);
317 }
318
319 public com.liferay.portlet.shopping.model.ShoppingOrder getOrder(
320 java.lang.String number)
321 throws com.liferay.portal.kernel.exception.PortalException,
322 com.liferay.portal.kernel.exception.SystemException {
323 return _shoppingOrderLocalService.getOrder(number);
324 }
325
326 public com.liferay.portlet.shopping.model.ShoppingOrder getPayPalTxnIdOrder(
327 java.lang.String ppTxnId)
328 throws com.liferay.portal.kernel.exception.PortalException,
329 com.liferay.portal.kernel.exception.SystemException {
330 return _shoppingOrderLocalService.getPayPalTxnIdOrder(ppTxnId);
331 }
332
333 public com.liferay.portlet.shopping.model.ShoppingOrder saveLatestOrder(
334 com.liferay.portlet.shopping.model.ShoppingCart cart)
335 throws com.liferay.portal.kernel.exception.PortalException,
336 com.liferay.portal.kernel.exception.SystemException {
337 return _shoppingOrderLocalService.saveLatestOrder(cart);
338 }
339
340 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrder> search(
341 long groupId, long companyId, long userId, java.lang.String number,
342 java.lang.String billingFirstName, java.lang.String billingLastName,
343 java.lang.String billingEmailAddress,
344 java.lang.String shippingFirstName, java.lang.String shippingLastName,
345 java.lang.String shippingEmailAddress,
346 java.lang.String ppPaymentStatus, boolean andOperator, int start,
347 int end) throws com.liferay.portal.kernel.exception.SystemException {
348 return _shoppingOrderLocalService.search(groupId, companyId, userId,
349 number, billingFirstName, billingLastName, billingEmailAddress,
350 shippingFirstName, shippingLastName, shippingEmailAddress,
351 ppPaymentStatus, andOperator, start, end);
352 }
353
354 public int searchCount(long groupId, long companyId, long userId,
355 java.lang.String number, java.lang.String billingFirstName,
356 java.lang.String billingLastName, java.lang.String billingEmailAddress,
357 java.lang.String shippingFirstName, java.lang.String shippingLastName,
358 java.lang.String shippingEmailAddress,
359 java.lang.String ppPaymentStatus, boolean andOperator)
360 throws com.liferay.portal.kernel.exception.SystemException {
361 return _shoppingOrderLocalService.searchCount(groupId, companyId,
362 userId, number, billingFirstName, billingLastName,
363 billingEmailAddress, shippingFirstName, shippingLastName,
364 shippingEmailAddress, ppPaymentStatus, andOperator);
365 }
366
367 public void sendEmail(long orderId, java.lang.String emailType,
368 com.liferay.portal.service.ServiceContext serviceContext)
369 throws com.liferay.portal.kernel.exception.PortalException,
370 com.liferay.portal.kernel.exception.SystemException {
371 _shoppingOrderLocalService.sendEmail(orderId, emailType, serviceContext);
372 }
373
374 public void sendEmail(
375 com.liferay.portlet.shopping.model.ShoppingOrder order,
376 java.lang.String emailType,
377 com.liferay.portal.service.ServiceContext serviceContext)
378 throws com.liferay.portal.kernel.exception.PortalException,
379 com.liferay.portal.kernel.exception.SystemException {
380 _shoppingOrderLocalService.sendEmail(order, emailType, serviceContext);
381 }
382
383 public com.liferay.portlet.shopping.model.ShoppingOrder updateLatestOrder(
384 long userId, long groupId, java.lang.String billingFirstName,
385 java.lang.String billingLastName, java.lang.String billingEmailAddress,
386 java.lang.String billingCompany, java.lang.String billingStreet,
387 java.lang.String billingCity, java.lang.String billingState,
388 java.lang.String billingZip, java.lang.String billingCountry,
389 java.lang.String billingPhone, boolean shipToBilling,
390 java.lang.String shippingFirstName, java.lang.String shippingLastName,
391 java.lang.String shippingEmailAddress,
392 java.lang.String shippingCompany, java.lang.String shippingStreet,
393 java.lang.String shippingCity, java.lang.String shippingState,
394 java.lang.String shippingZip, java.lang.String shippingCountry,
395 java.lang.String shippingPhone, java.lang.String ccName,
396 java.lang.String ccType, java.lang.String ccNumber, int ccExpMonth,
397 int ccExpYear, java.lang.String ccVerNumber, java.lang.String comments)
398 throws com.liferay.portal.kernel.exception.PortalException,
399 com.liferay.portal.kernel.exception.SystemException {
400 return _shoppingOrderLocalService.updateLatestOrder(userId, groupId,
401 billingFirstName, billingLastName, billingEmailAddress,
402 billingCompany, billingStreet, billingCity, billingState,
403 billingZip, billingCountry, billingPhone, shipToBilling,
404 shippingFirstName, shippingLastName, shippingEmailAddress,
405 shippingCompany, shippingStreet, shippingCity, shippingState,
406 shippingZip, shippingCountry, shippingPhone, ccName, ccType,
407 ccNumber, ccExpMonth, ccExpYear, ccVerNumber, comments);
408 }
409
410 public com.liferay.portlet.shopping.model.ShoppingOrder updateOrder(
411 long orderId, java.lang.String ppTxnId,
412 java.lang.String ppPaymentStatus, double ppPaymentGross,
413 java.lang.String ppReceiverEmail, java.lang.String ppPayerEmail)
414 throws com.liferay.portal.kernel.exception.PortalException,
415 com.liferay.portal.kernel.exception.SystemException {
416 return _shoppingOrderLocalService.updateOrder(orderId, ppTxnId,
417 ppPaymentStatus, ppPaymentGross, ppReceiverEmail, ppPayerEmail);
418 }
419
420 public com.liferay.portlet.shopping.model.ShoppingOrder updateOrder(
421 long orderId, java.lang.String billingFirstName,
422 java.lang.String billingLastName, java.lang.String billingEmailAddress,
423 java.lang.String billingCompany, java.lang.String billingStreet,
424 java.lang.String billingCity, java.lang.String billingState,
425 java.lang.String billingZip, java.lang.String billingCountry,
426 java.lang.String billingPhone, boolean shipToBilling,
427 java.lang.String shippingFirstName, java.lang.String shippingLastName,
428 java.lang.String shippingEmailAddress,
429 java.lang.String shippingCompany, java.lang.String shippingStreet,
430 java.lang.String shippingCity, java.lang.String shippingState,
431 java.lang.String shippingZip, java.lang.String shippingCountry,
432 java.lang.String shippingPhone, java.lang.String ccName,
433 java.lang.String ccType, java.lang.String ccNumber, int ccExpMonth,
434 int ccExpYear, java.lang.String ccVerNumber, java.lang.String comments)
435 throws com.liferay.portal.kernel.exception.PortalException,
436 com.liferay.portal.kernel.exception.SystemException {
437 return _shoppingOrderLocalService.updateOrder(orderId,
438 billingFirstName, billingLastName, billingEmailAddress,
439 billingCompany, billingStreet, billingCity, billingState,
440 billingZip, billingCountry, billingPhone, shipToBilling,
441 shippingFirstName, shippingLastName, shippingEmailAddress,
442 shippingCompany, shippingStreet, shippingCity, shippingState,
443 shippingZip, shippingCountry, shippingPhone, ccName, ccType,
444 ccNumber, ccExpMonth, ccExpYear, ccVerNumber, comments);
445 }
446
447
450 public ShoppingOrderLocalService getWrappedShoppingOrderLocalService() {
451 return _shoppingOrderLocalService;
452 }
453
454
457 public void setWrappedShoppingOrderLocalService(
458 ShoppingOrderLocalService shoppingOrderLocalService) {
459 _shoppingOrderLocalService = shoppingOrderLocalService;
460 }
461
462 public ShoppingOrderLocalService getWrappedService() {
463 return _shoppingOrderLocalService;
464 }
465
466 public void setWrappedService(
467 ShoppingOrderLocalService shoppingOrderLocalService) {
468 _shoppingOrderLocalService = shoppingOrderLocalService;
469 }
470
471 private ShoppingOrderLocalService _shoppingOrderLocalService;
472 }