001
014
015 package com.liferay.portlet.shopping.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class ShoppingItemServiceWrapper implements ShoppingItemService,
029 ServiceWrapper<ShoppingItemService> {
030 public ShoppingItemServiceWrapper(ShoppingItemService shoppingItemService) {
031 _shoppingItemService = shoppingItemService;
032 }
033
034
039 public java.lang.String getBeanIdentifier() {
040 return _shoppingItemService.getBeanIdentifier();
041 }
042
043
048 public void setBeanIdentifier(java.lang.String beanIdentifier) {
049 _shoppingItemService.setBeanIdentifier(beanIdentifier);
050 }
051
052 public void addBookItems(long groupId, long categoryId,
053 java.lang.String[] isbns)
054 throws com.liferay.portal.kernel.exception.PortalException,
055 com.liferay.portal.kernel.exception.SystemException {
056 _shoppingItemService.addBookItems(groupId, categoryId, isbns);
057 }
058
059 public com.liferay.portlet.shopping.model.ShoppingItem addItem(
060 long groupId, long categoryId, java.lang.String sku,
061 java.lang.String name, java.lang.String description,
062 java.lang.String properties, java.lang.String fieldsQuantities,
063 boolean requiresShipping, int stockQuantity, boolean featured,
064 java.lang.Boolean sale, boolean smallImage,
065 java.lang.String smallImageURL, java.io.File smallFile,
066 boolean mediumImage, java.lang.String mediumImageURL,
067 java.io.File mediumFile, boolean largeImage,
068 java.lang.String largeImageURL, java.io.File largeFile,
069 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
070 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
071 com.liferay.portal.service.ServiceContext serviceContext)
072 throws com.liferay.portal.kernel.exception.PortalException,
073 com.liferay.portal.kernel.exception.SystemException {
074 return _shoppingItemService.addItem(groupId, categoryId, sku, name,
075 description, properties, fieldsQuantities, requiresShipping,
076 stockQuantity, featured, sale, smallImage, smallImageURL,
077 smallFile, mediumImage, mediumImageURL, mediumFile, largeImage,
078 largeImageURL, largeFile, itemFields, itemPrices, serviceContext);
079 }
080
081 public void deleteItem(long itemId)
082 throws com.liferay.portal.kernel.exception.PortalException,
083 com.liferay.portal.kernel.exception.SystemException {
084 _shoppingItemService.deleteItem(itemId);
085 }
086
087 public int getCategoriesItemsCount(long groupId,
088 java.util.List<java.lang.Long> categoryIds)
089 throws com.liferay.portal.kernel.exception.SystemException {
090 return _shoppingItemService.getCategoriesItemsCount(groupId, categoryIds);
091 }
092
093 public com.liferay.portlet.shopping.model.ShoppingItem getItem(long itemId)
094 throws com.liferay.portal.kernel.exception.PortalException,
095 com.liferay.portal.kernel.exception.SystemException {
096 return _shoppingItemService.getItem(itemId);
097 }
098
099 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
100 long groupId, long categoryId)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _shoppingItemService.getItems(groupId, categoryId);
103 }
104
105 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
106 long groupId, long categoryId, int start, int end,
107 com.liferay.portal.kernel.util.OrderByComparator obc)
108 throws com.liferay.portal.kernel.exception.SystemException {
109 return _shoppingItemService.getItems(groupId, categoryId, start, end,
110 obc);
111 }
112
113 public int getItemsCount(long groupId, long categoryId)
114 throws com.liferay.portal.kernel.exception.SystemException {
115 return _shoppingItemService.getItemsCount(groupId, categoryId);
116 }
117
118 public com.liferay.portlet.shopping.model.ShoppingItem[] getItemsPrevAndNext(
119 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
120 throws com.liferay.portal.kernel.exception.PortalException,
121 com.liferay.portal.kernel.exception.SystemException {
122 return _shoppingItemService.getItemsPrevAndNext(itemId, obc);
123 }
124
125 public com.liferay.portlet.shopping.model.ShoppingItem updateItem(
126 long itemId, long groupId, long categoryId, java.lang.String sku,
127 java.lang.String name, java.lang.String description,
128 java.lang.String properties, java.lang.String fieldsQuantities,
129 boolean requiresShipping, int stockQuantity, boolean featured,
130 java.lang.Boolean sale, boolean smallImage,
131 java.lang.String smallImageURL, java.io.File smallFile,
132 boolean mediumImage, java.lang.String mediumImageURL,
133 java.io.File mediumFile, boolean largeImage,
134 java.lang.String largeImageURL, java.io.File largeFile,
135 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
136 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
137 com.liferay.portal.service.ServiceContext serviceContext)
138 throws com.liferay.portal.kernel.exception.PortalException,
139 com.liferay.portal.kernel.exception.SystemException {
140 return _shoppingItemService.updateItem(itemId, groupId, categoryId,
141 sku, name, description, properties, fieldsQuantities,
142 requiresShipping, stockQuantity, featured, sale, smallImage,
143 smallImageURL, smallFile, mediumImage, mediumImageURL, mediumFile,
144 largeImage, largeImageURL, largeFile, itemFields, itemPrices,
145 serviceContext);
146 }
147
148
151 public ShoppingItemService getWrappedShoppingItemService() {
152 return _shoppingItemService;
153 }
154
155
158 public void setWrappedShoppingItemService(
159 ShoppingItemService shoppingItemService) {
160 _shoppingItemService = shoppingItemService;
161 }
162
163 public ShoppingItemService getWrappedService() {
164 return _shoppingItemService;
165 }
166
167 public void setWrappedService(ShoppingItemService shoppingItemService) {
168 _shoppingItemService = shoppingItemService;
169 }
170
171 private ShoppingItemService _shoppingItemService;
172 }