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