001
014
015 package com.liferay.portlet.shopping.service;
016
017
018
027 public class ShoppingItemServiceWrapper implements ShoppingItemService {
028 public ShoppingItemServiceWrapper(ShoppingItemService shoppingItemService) {
029 _shoppingItemService = shoppingItemService;
030 }
031
032 public void addBookItems(long groupId, long categoryId,
033 java.lang.String[] isbns)
034 throws com.liferay.portal.kernel.exception.PortalException,
035 com.liferay.portal.kernel.exception.SystemException {
036 _shoppingItemService.addBookItems(groupId, categoryId, isbns);
037 }
038
039 public com.liferay.portlet.shopping.model.ShoppingItem addItem(
040 long groupId, long categoryId, java.lang.String sku,
041 java.lang.String name, java.lang.String description,
042 java.lang.String properties, java.lang.String fieldsQuantities,
043 boolean requiresShipping, int stockQuantity, boolean featured,
044 java.lang.Boolean sale, boolean smallImage,
045 java.lang.String smallImageURL, java.io.File smallFile,
046 boolean mediumImage, java.lang.String mediumImageURL,
047 java.io.File mediumFile, boolean largeImage,
048 java.lang.String largeImageURL, java.io.File largeFile,
049 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
050 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
051 com.liferay.portal.service.ServiceContext serviceContext)
052 throws com.liferay.portal.kernel.exception.PortalException,
053 com.liferay.portal.kernel.exception.SystemException {
054 return _shoppingItemService.addItem(groupId, categoryId, sku, name,
055 description, properties, fieldsQuantities, requiresShipping,
056 stockQuantity, featured, sale, smallImage, smallImageURL,
057 smallFile, mediumImage, mediumImageURL, mediumFile, largeImage,
058 largeImageURL, largeFile, itemFields, itemPrices, serviceContext);
059 }
060
061 public void deleteItem(long itemId)
062 throws com.liferay.portal.kernel.exception.PortalException,
063 com.liferay.portal.kernel.exception.SystemException {
064 _shoppingItemService.deleteItem(itemId);
065 }
066
067 public com.liferay.portlet.shopping.model.ShoppingItem getItem(long itemId)
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException {
070 return _shoppingItemService.getItem(itemId);
071 }
072
073 public com.liferay.portlet.shopping.model.ShoppingItem updateItem(
074 long itemId, long groupId, long categoryId, java.lang.String sku,
075 java.lang.String name, java.lang.String description,
076 java.lang.String properties, java.lang.String fieldsQuantities,
077 boolean requiresShipping, int stockQuantity, boolean featured,
078 java.lang.Boolean sale, boolean smallImage,
079 java.lang.String smallImageURL, java.io.File smallFile,
080 boolean mediumImage, java.lang.String mediumImageURL,
081 java.io.File mediumFile, boolean largeImage,
082 java.lang.String largeImageURL, java.io.File largeFile,
083 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
084 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
085 com.liferay.portal.service.ServiceContext serviceContext)
086 throws com.liferay.portal.kernel.exception.PortalException,
087 com.liferay.portal.kernel.exception.SystemException {
088 return _shoppingItemService.updateItem(itemId, groupId, categoryId,
089 sku, name, description, properties, fieldsQuantities,
090 requiresShipping, stockQuantity, featured, sale, smallImage,
091 smallImageURL, smallFile, mediumImage, mediumImageURL, mediumFile,
092 largeImage, largeImageURL, largeFile, itemFields, itemPrices,
093 serviceContext);
094 }
095
096 public ShoppingItemService getWrappedShoppingItemService() {
097 return _shoppingItemService;
098 }
099
100 private ShoppingItemService _shoppingItemService;
101 }