1
22
23 package com.liferay.portlet.shopping.service;
24
25
26
42 public class ShoppingItemLocalServiceWrapper implements ShoppingItemLocalService {
43 public ShoppingItemLocalServiceWrapper(
44 ShoppingItemLocalService shoppingItemLocalService) {
45 _shoppingItemLocalService = shoppingItemLocalService;
46 }
47
48 public com.liferay.portlet.shopping.model.ShoppingItem addShoppingItem(
49 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
50 throws com.liferay.portal.SystemException {
51 return _shoppingItemLocalService.addShoppingItem(shoppingItem);
52 }
53
54 public com.liferay.portlet.shopping.model.ShoppingItem createShoppingItem(
55 long itemId) {
56 return _shoppingItemLocalService.createShoppingItem(itemId);
57 }
58
59 public void deleteShoppingItem(long itemId)
60 throws com.liferay.portal.PortalException,
61 com.liferay.portal.SystemException {
62 _shoppingItemLocalService.deleteShoppingItem(itemId);
63 }
64
65 public void deleteShoppingItem(
66 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
67 throws com.liferay.portal.SystemException {
68 _shoppingItemLocalService.deleteShoppingItem(shoppingItem);
69 }
70
71 public java.util.List<Object> dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
73 throws com.liferay.portal.SystemException {
74 return _shoppingItemLocalService.dynamicQuery(dynamicQuery);
75 }
76
77 public java.util.List<Object> dynamicQuery(
78 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79 int end) throws com.liferay.portal.SystemException {
80 return _shoppingItemLocalService.dynamicQuery(dynamicQuery, start, end);
81 }
82
83 public com.liferay.portlet.shopping.model.ShoppingItem getShoppingItem(
84 long itemId)
85 throws com.liferay.portal.PortalException,
86 com.liferay.portal.SystemException {
87 return _shoppingItemLocalService.getShoppingItem(itemId);
88 }
89
90 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getShoppingItems(
91 int start, int end) throws com.liferay.portal.SystemException {
92 return _shoppingItemLocalService.getShoppingItems(start, end);
93 }
94
95 public int getShoppingItemsCount()
96 throws com.liferay.portal.SystemException {
97 return _shoppingItemLocalService.getShoppingItemsCount();
98 }
99
100 public com.liferay.portlet.shopping.model.ShoppingItem updateShoppingItem(
101 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
102 throws com.liferay.portal.SystemException {
103 return _shoppingItemLocalService.updateShoppingItem(shoppingItem);
104 }
105
106 public com.liferay.portlet.shopping.model.ShoppingItem updateShoppingItem(
107 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem,
108 boolean merge) throws com.liferay.portal.SystemException {
109 return _shoppingItemLocalService.updateShoppingItem(shoppingItem, merge);
110 }
111
112 public void addBookItems(long userId, long categoryId,
113 java.lang.String[] isbns)
114 throws com.liferay.portal.PortalException,
115 com.liferay.portal.SystemException {
116 _shoppingItemLocalService.addBookItems(userId, categoryId, isbns);
117 }
118
119 public com.liferay.portlet.shopping.model.ShoppingItem addItem(
120 long userId, long categoryId, java.lang.String sku,
121 java.lang.String name, java.lang.String description,
122 java.lang.String properties, java.lang.String fieldsQuantities,
123 boolean requiresShipping, int stockQuantity, boolean featured,
124 java.lang.Boolean sale, boolean smallImage,
125 java.lang.String smallImageURL, java.io.File smallFile,
126 boolean mediumImage, java.lang.String mediumImageURL,
127 java.io.File mediumFile, boolean largeImage,
128 java.lang.String largeImageURL, java.io.File largeFile,
129 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
130 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
131 com.liferay.portal.service.ServiceContext serviceContext)
132 throws com.liferay.portal.PortalException,
133 com.liferay.portal.SystemException {
134 return _shoppingItemLocalService.addItem(userId, categoryId, sku, name,
135 description, properties, fieldsQuantities, requiresShipping,
136 stockQuantity, featured, sale, smallImage, smallImageURL,
137 smallFile, mediumImage, mediumImageURL, mediumFile, largeImage,
138 largeImageURL, largeFile, itemFields, itemPrices, serviceContext);
139 }
140
141 public void addItemResources(long itemId, boolean addCommunityPermissions,
142 boolean addGuestPermissions)
143 throws com.liferay.portal.PortalException,
144 com.liferay.portal.SystemException {
145 _shoppingItemLocalService.addItemResources(itemId,
146 addCommunityPermissions, addGuestPermissions);
147 }
148
149 public void addItemResources(long itemId,
150 java.lang.String[] communityPermissions,
151 java.lang.String[] guestPermissions)
152 throws com.liferay.portal.PortalException,
153 com.liferay.portal.SystemException {
154 _shoppingItemLocalService.addItemResources(itemId,
155 communityPermissions, guestPermissions);
156 }
157
158 public void addItemResources(
159 com.liferay.portlet.shopping.model.ShoppingCategory category,
160 com.liferay.portlet.shopping.model.ShoppingItem item,
161 boolean addCommunityPermissions, boolean addGuestPermissions)
162 throws com.liferay.portal.PortalException,
163 com.liferay.portal.SystemException {
164 _shoppingItemLocalService.addItemResources(category, item,
165 addCommunityPermissions, addGuestPermissions);
166 }
167
168 public void addItemResources(
169 com.liferay.portlet.shopping.model.ShoppingCategory category,
170 com.liferay.portlet.shopping.model.ShoppingItem item,
171 java.lang.String[] communityPermissions,
172 java.lang.String[] guestPermissions)
173 throws com.liferay.portal.PortalException,
174 com.liferay.portal.SystemException {
175 _shoppingItemLocalService.addItemResources(category, item,
176 communityPermissions, guestPermissions);
177 }
178
179 public void deleteItem(long itemId)
180 throws com.liferay.portal.PortalException,
181 com.liferay.portal.SystemException {
182 _shoppingItemLocalService.deleteItem(itemId);
183 }
184
185 public void deleteItem(com.liferay.portlet.shopping.model.ShoppingItem item)
186 throws com.liferay.portal.PortalException,
187 com.liferay.portal.SystemException {
188 _shoppingItemLocalService.deleteItem(item);
189 }
190
191 public void deleteItems(long categoryId)
192 throws com.liferay.portal.PortalException,
193 com.liferay.portal.SystemException {
194 _shoppingItemLocalService.deleteItems(categoryId);
195 }
196
197 public int getCategoriesItemsCount(java.util.List<Long> categoryIds)
198 throws com.liferay.portal.SystemException {
199 return _shoppingItemLocalService.getCategoriesItemsCount(categoryIds);
200 }
201
202 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getFeaturedItems(
203 long groupId, long categoryId, int numOfItems)
204 throws com.liferay.portal.SystemException {
205 return _shoppingItemLocalService.getFeaturedItems(groupId, categoryId,
206 numOfItems);
207 }
208
209 public com.liferay.portlet.shopping.model.ShoppingItem getItem(long itemId)
210 throws com.liferay.portal.PortalException,
211 com.liferay.portal.SystemException {
212 return _shoppingItemLocalService.getItem(itemId);
213 }
214
215 public com.liferay.portlet.shopping.model.ShoppingItem getItem(
216 long companyId, java.lang.String sku)
217 throws com.liferay.portal.PortalException,
218 com.liferay.portal.SystemException {
219 return _shoppingItemLocalService.getItem(companyId, sku);
220 }
221
222 public com.liferay.portlet.shopping.model.ShoppingItem getItemByLargeImageId(
223 long largeImageId)
224 throws com.liferay.portal.PortalException,
225 com.liferay.portal.SystemException {
226 return _shoppingItemLocalService.getItemByLargeImageId(largeImageId);
227 }
228
229 public com.liferay.portlet.shopping.model.ShoppingItem getItemByMediumImageId(
230 long mediumImageId)
231 throws com.liferay.portal.PortalException,
232 com.liferay.portal.SystemException {
233 return _shoppingItemLocalService.getItemByMediumImageId(mediumImageId);
234 }
235
236 public com.liferay.portlet.shopping.model.ShoppingItem getItemBySmallImageId(
237 long smallImageId)
238 throws com.liferay.portal.PortalException,
239 com.liferay.portal.SystemException {
240 return _shoppingItemLocalService.getItemBySmallImageId(smallImageId);
241 }
242
243 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
244 long categoryId) throws com.liferay.portal.SystemException {
245 return _shoppingItemLocalService.getItems(categoryId);
246 }
247
248 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
249 long categoryId, int start, int end,
250 com.liferay.portal.kernel.util.OrderByComparator obc)
251 throws com.liferay.portal.SystemException {
252 return _shoppingItemLocalService.getItems(categoryId, start, end, obc);
253 }
254
255 public int getItemsCount(long categoryId)
256 throws com.liferay.portal.SystemException {
257 return _shoppingItemLocalService.getItemsCount(categoryId);
258 }
259
260 public com.liferay.portlet.shopping.model.ShoppingItem[] getItemsPrevAndNext(
261 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
262 throws com.liferay.portal.PortalException,
263 com.liferay.portal.SystemException {
264 return _shoppingItemLocalService.getItemsPrevAndNext(itemId, obc);
265 }
266
267 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getSaleItems(
268 long groupId, long categoryId, int numOfItems)
269 throws com.liferay.portal.SystemException {
270 return _shoppingItemLocalService.getSaleItems(groupId, categoryId,
271 numOfItems);
272 }
273
274 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> search(
275 long groupId, long[] categoryIds, java.lang.String keywords, int start,
276 int end) throws com.liferay.portal.SystemException {
277 return _shoppingItemLocalService.search(groupId, categoryIds, keywords,
278 start, end);
279 }
280
281 public int searchCount(long groupId, long[] categoryIds,
282 java.lang.String keywords) throws com.liferay.portal.SystemException {
283 return _shoppingItemLocalService.searchCount(groupId, categoryIds,
284 keywords);
285 }
286
287 public com.liferay.portlet.shopping.model.ShoppingItem updateItem(
288 long userId, long itemId, long categoryId, java.lang.String sku,
289 java.lang.String name, java.lang.String description,
290 java.lang.String properties, java.lang.String fieldsQuantities,
291 boolean requiresShipping, int stockQuantity, boolean featured,
292 java.lang.Boolean sale, boolean smallImage,
293 java.lang.String smallImageURL, java.io.File smallFile,
294 boolean mediumImage, java.lang.String mediumImageURL,
295 java.io.File mediumFile, boolean largeImage,
296 java.lang.String largeImageURL, java.io.File largeFile,
297 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
298 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
299 com.liferay.portal.service.ServiceContext serviceContext)
300 throws com.liferay.portal.PortalException,
301 com.liferay.portal.SystemException {
302 return _shoppingItemLocalService.updateItem(userId, itemId, categoryId,
303 sku, name, description, properties, fieldsQuantities,
304 requiresShipping, stockQuantity, featured, sale, smallImage,
305 smallImageURL, smallFile, mediumImage, mediumImageURL, mediumFile,
306 largeImage, largeImageURL, largeFile, itemFields, itemPrices,
307 serviceContext);
308 }
309
310 public ShoppingItemLocalService getWrappedShoppingItemLocalService() {
311 return _shoppingItemLocalService;
312 }
313
314 private ShoppingItemLocalService _shoppingItemLocalService;
315 }